Subject: Re: [PATCH net-next v4 2/6] sfc: perform XDP processing on received packets

From: Jesper Dangaard Brouer <[email-masked]>
Date: Thu, 31 Oct 2019 20:59:14 +0100

On Thu, 31 Oct 2019 10:23:23 +0000
Charles McLachlan <[email-masked]> 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 <[email-masked]>
> ---
>  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 <[email-masked]>

-- 
Best regards,
  Jesper Dangaard Brouer
  MSc.CS, Principal Kernel Engineer at Red Hat
  LinkedIn: http://www.linkedin.com/in/brouer