[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <a991d408-df9e-4a4a-1887-8973553adb23@linux.intel.com>
Date: Sun, 21 Nov 2021 12:33:23 +0200
From: "Kraus, NechamaX" <nechamax.kraus@...ux.intel.com>
To: Jesper Dangaard Brouer <brouer@...hat.com>, netdev@...r.kernel.org
Cc: intel-wired-lan@...ts.osuosl.org, bjorn@...nel.org,
Jakub Kicinski <kuba@...nel.org>, bpf@...r.kernel.org,
Daniel Borkmann <borkmann@...earbox.net>,
"David S. Miller" <davem@...emloft.net>, magnus.karlsson@...el.com
Subject: Re: [Intel-wired-lan] [PATCH net-next 2/2] igc: enable XDP metadata
in driver
On 11/15/2021 22:36, Jesper Dangaard Brouer wrote:
> Enabling the XDP bpf_prog access to data_meta area is a very small
> change. Hint passing 'true' to xdp_prepare_buff().
>
> The SKB layers can also access data_meta area, which required more
> driver changes to support. Reviewers, notice the igc driver have two
> different functions that can create SKBs, depending on driver config.
>
> Hint for testers, ethtool priv-flags legacy-rx enables
> the function igc_construct_skb()
>
> ethtool --set-priv-flags DEV legacy-rx on
>
> Signed-off-by: Jesper Dangaard Brouer <brouer@...hat.com>
> ---
> drivers/net/ethernet/intel/igc/igc_main.c | 29 +++++++++++++++++++----------
> 1 file changed, 19 insertions(+), 10 deletions(-)
Tested-by: Nechama Kraus <nechamax.kraus@...ux.intel.com>
Powered by blists - more mailing lists