[Intel-wired-lan] [PATCH bpf-next v2 06/10] xsk: propagate napi_id to XDP socket Rx path

Tariq Toukan ttoukan.linux at gmail.com
Mon Nov 16 11:19:04 UTC 2020



On 11/16/2020 1:04 PM, Björn Töpel wrote:
> From: Björn Töpel <bjorn.topel at intel.com>
> 
> Add napi_id to the xdp_rxq_info structure, and make sure the XDP
> socket pick up the napi_id in the Rx path. The napi_id is used to find
> the corresponding NAPI structure for socket busy polling.
> 
> Acked-by: Ilias Apalodimas <ilias.apalodimas at linaro.org>
> Signed-off-by: Björn Töpel <bjorn.topel at intel.com>
> ---
>   drivers/net/ethernet/amazon/ena/ena_netdev.c  |  2 +-
>   drivers/net/ethernet/broadcom/bnxt/bnxt.c     |  2 +-
>   .../ethernet/cavium/thunder/nicvf_queues.c    |  2 +-
>   .../net/ethernet/freescale/dpaa2/dpaa2-eth.c  |  2 +-
>   drivers/net/ethernet/intel/i40e/i40e_txrx.c   |  2 +-
>   drivers/net/ethernet/intel/ice/ice_base.c     |  4 ++--
>   drivers/net/ethernet/intel/ice/ice_txrx.c     |  2 +-
>   drivers/net/ethernet/intel/igb/igb_main.c     |  2 +-
>   drivers/net/ethernet/intel/ixgbe/ixgbe_main.c |  2 +-
>   .../net/ethernet/intel/ixgbevf/ixgbevf_main.c |  2 +-
>   drivers/net/ethernet/marvell/mvneta.c         |  2 +-
>   .../net/ethernet/marvell/mvpp2/mvpp2_main.c   |  4 ++--
>   drivers/net/ethernet/mellanox/mlx4/en_rx.c    |  2 +-
>   .../net/ethernet/mellanox/mlx5/core/en_main.c |  2 +-
>   .../ethernet/netronome/nfp/nfp_net_common.c   |  2 +-
>   drivers/net/ethernet/qlogic/qede/qede_main.c  |  2 +-
>   drivers/net/ethernet/sfc/rx_common.c          |  2 +-
>   drivers/net/ethernet/socionext/netsec.c       |  2 +-
>   drivers/net/ethernet/ti/cpsw_priv.c           |  2 +-
>   drivers/net/hyperv/netvsc.c                   |  2 +-
>   drivers/net/tun.c                             |  2 +-
>   drivers/net/veth.c                            |  2 +-
>   drivers/net/virtio_net.c                      |  2 +-
>   drivers/net/xen-netfront.c                    |  2 +-
>   include/net/busy_poll.h                       | 19 +++++++++++++++----
>   include/net/xdp.h                             |  3 ++-
>   net/core/dev.c                                |  2 +-
>   net/core/xdp.c                                |  3 ++-
>   net/xdp/xsk.c                                 |  1 +
>   29 files changed, 47 insertions(+), 33 deletions(-)
> 

Acked-by: Tariq Toukan <tariqt at nvidia.com>
For the mlx4/5 parts.

Thanks,
Tariq



More information about the Intel-wired-lan mailing list