[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20191031205914.16df4021@carbon>
Date: Thu, 31 Oct 2019 20:59:14 +0100
From: Jesper Dangaard Brouer <brouer@...hat.com>
To: Charles McLachlan <cmclachlan@...arflare.com>
Cc: <davem@...emloft.net>, <netdev@...r.kernel.org>,
<linux-net-drivers@...arflare.com>, brouer@...hat.com
Subject: Re: [PATCH net-next v4 2/6] sfc: perform XDP processing on received
packets
On Thu, 31 Oct 2019 10:23:23 +0000
Charles McLachlan <cmclachlan@...arflare.com> wrote:
> Adds a field to hold an attached xdp_prog, but never populates it (see
> following patch). Also, XDP_TX support is deferred to a later patch
> in the series.
>
> Track failures of xdp_rxq_info_reg() via per-queue xdp_rxq_info_valid
> flags and a per-nic xdp_rxq_info_failed flag. The per-queue flags are
> needed to prevent attempts to xdp_rxq_info_unreg() structs that failed
> to register. Possibly the API could be changed in the future to avoid
> the need for these flags.
>
> Signed-off-by: Charles McLachlan <cmclachlan@...arflare.com>
> ---
> drivers/net/ethernet/sfc/efx.c | 5 +-
> drivers/net/ethernet/sfc/net_driver.h | 12 +++
> drivers/net/ethernet/sfc/rx.c | 130 +++++++++++++++++++++++++-
> 3 files changed, 145 insertions(+), 2 deletions(-)
Acked-by: Jesper Dangaard Brouer <brouer@...hat.com>
--
Best regards,
Jesper Dangaard Brouer
MSc.CS, Principal Kernel Engineer at Red Hat
LinkedIn: http://www.linkedin.com/in/brouer
Powered by blists - more mailing lists