Received: by 2002:a05:6a10:9848:0:0:0:0 with SMTP id x8csp1287824pxf; Fri, 19 Mar 2021 03:55:43 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzDiRDQ8bN4R+F0byO5oK0ew7eTM3NJNwbmBy894+ue+vDnmDBGDY5r4S90SIXQ4ZkfkOXy X-Received: by 2002:a17:906:cb18:: with SMTP id lk24mr3536743ejb.70.1616151343629; Fri, 19 Mar 2021 03:55:43 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1616151343; cv=none; d=google.com; s=arc-20160816; b=YkQKVD3CfyehdKIN6mRgD8i67FLPLkS+o+YB3InDCqDiMtkFy02UarWFb9WiKgJ7Ek xqC2pe5glxNmYP0GKOqWphUPfv9ObaB1AXeqBVG3AEszNVOV2tr8hXB/RbRWVIs/19Gc TgWemCD9+pZIrpzXJEquwJSn/U2DdCUNdq7TrZWXubjrQhj/YRj+8pon0IGzJaw9J/PE re4v9ifXUj/apLbsuzg1BIzIzU+jOorG5MaQh7CPRSvluErzv5sEYuwAmSjuyMbP7ndk opOlCdBQeG2ZCB7Iu90FChRkAw7EELvXU/g6SyvnM23KJqlK+Vu4GCd5glth8IEnEhqG uy7Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :user-agent:references:in-reply-to:date:cc:to:from:subject :message-id:dkim-signature; bh=ZKmkfpELKOIfrrg3sipNKiMhmGIwV6YWhjJTDK8P9kc=; b=oOxZ4D0lBg1YkrgGVeXP++O1PkOvenKeuY0p7MsGiQeUbStUhWuY3lOB+cJCEDO6PG XKhs25wFQZtWAUQwKcV7GfEhjoTMQ29zSEzqMcKael+JTFryF0Nzo/k1RfN+v3ivB3IX /TrlMGSc4TlHWIJZilZhqjc8p8wtZ9TcUP8wJrdIjXxGP/UFwg1u8ZIhdnsKSoYi9wxf by6Z2Z274xwohIx41UMnZbRCfg6jDsh0XzLNQTrLG2z2Nb/71vOeOUDRT5NG75Yloys+ vz4sp2SLnMbTgyC73PNjWFKlH9ViPDc5/pm80TCkeTuN+XBiO56kqn8mF1xsUg47tnTG 3iuA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=QBbFduuq; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id gy3si3929865ejb.557.2021.03.19.03.55.20; Fri, 19 Mar 2021 03:55:43 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=QBbFduuq; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229745AbhCSKyY (ORCPT + 99 others); Fri, 19 Mar 2021 06:54:24 -0400 Received: from us-smtp-delivery-124.mimecast.com ([170.10.133.124]:60077 "EHLO us-smtp-delivery-124.mimecast.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229469AbhCSKxw (ORCPT ); Fri, 19 Mar 2021 06:53:52 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1616151231; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=ZKmkfpELKOIfrrg3sipNKiMhmGIwV6YWhjJTDK8P9kc=; b=QBbFduuqtXX3/vK53rJ1pfCIoOJP0zp6BX/GwUDM4pdyAkfLKrXwJ4Ltip+aIXiFSTx2ll 7ZDfhT/Jch4H6Ux3+JFDqgyt9j1r1oaxvuczemA8vWSNEcrbby9+A6bt8WoWZkj7878mK9 u/X3WjRedF/8UF3wVXREqZAnSmSQ9IY= Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-64-RFiH3Q6fM7-BFsR8kmZsmA-1; Fri, 19 Mar 2021 06:53:47 -0400 X-MC-Unique: RFiH3Q6fM7-BFsR8kmZsmA-1 Received: from smtp.corp.redhat.com (int-mx04.intmail.prod.int.phx2.redhat.com [10.5.11.14]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 425025B362; Fri, 19 Mar 2021 10:53:46 +0000 (UTC) Received: from ovpn-112-226.ams2.redhat.com (ovpn-112-226.ams2.redhat.com [10.36.112.226]) by smtp.corp.redhat.com (Postfix) with ESMTP id CB7C05D9F2; Fri, 19 Mar 2021 10:53:43 +0000 (UTC) Message-ID: <1ebd301832ff86cc414dd17eee0b3dfc91ff3c08.camel@redhat.com> Subject: Re: [PATCH net-next 2/4] gro: add combined call_gro_receive() + INDIRECT_CALL_INET() helper From: Paolo Abeni To: Alexander Lobakin , "David S. Miller" , Jakub Kicinski Cc: Mauro Carvalho Chehab , Kirill Tkhai , Bartosz Golaszewski , Leon Romanovsky , Eric Dumazet , netdev@vger.kernel.org, linux-kernel@vger.kernel.org Date: Fri, 19 Mar 2021 11:53:42 +0100 In-Reply-To: <20210318184157.700604-3-alobakin@pm.me> References: <20210318184157.700604-1-alobakin@pm.me> <20210318184157.700604-3-alobakin@pm.me> Content-Type: text/plain; charset="UTF-8" User-Agent: Evolution 3.36.5 (3.36.5-2.fc32) MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Scanned-By: MIMEDefang 2.79 on 10.5.11.14 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hello, On Thu, 2021-03-18 at 18:42 +0000, Alexander Lobakin wrote: > call_gro_receive() is used to limit GRO recursion, but it works only > with callback pointers. > There's a combined version of call_gro_receive() + INDIRECT_CALL_2() > in , but it doesn't check for IPv6 modularity. AFAICS, ip6_offload is builtin even when IPv6 is a module, so the above should not be needed. Cheers, Paolo