-
- Downloads
net, xdp: Introduce xdp_init_buff utility routine
Introduce xdp_init_buff utility routine to initialize xdp_buff fields const over NAPI iterations (e.g. frame_sz or rxq pointer). Rely on xdp_init_buff in all XDP capable drivers. Signed-off-by:Lorenzo Bianconi <lorenzo@kernel.org> Signed-off-by:
Daniel Borkmann <daniel@iogearbox.net> Reviewed-by:
Alexander Duyck <alexanderduyck@fb.com> Acked-by:
Jesper Dangaard Brouer <brouer@redhat.com> Acked-by:
John Fastabend <john.fastabend@gmail.com> Acked-by:
Shay Agroskin <shayagr@amazon.com> Acked-by:
Martin Habets <habetsm.xilinx@gmail.com> Acked-by:
Camelia Groza <camelia.groza@nxp.com> Acked-by:
Marcin Wojtas <mw@semihalf.com> Link: https://lore.kernel.org/bpf/7f8329b6da1434dc2b05a77f2e800b29628a8913.1608670965.git.lorenzo@kernel.org Signed-off-by:
Alexei Starovoitov <ast@kernel.org>
Showing
- drivers/net/ethernet/amazon/ena/ena_netdev.c 1 addition, 2 deletionsdrivers/net/ethernet/amazon/ena/ena_netdev.c
- drivers/net/ethernet/broadcom/bnxt/bnxt_xdp.c 2 additions, 2 deletionsdrivers/net/ethernet/broadcom/bnxt/bnxt_xdp.c
- drivers/net/ethernet/cavium/thunder/nicvf_main.c 2 additions, 2 deletionsdrivers/net/ethernet/cavium/thunder/nicvf_main.c
- drivers/net/ethernet/freescale/dpaa/dpaa_eth.c 2 additions, 2 deletionsdrivers/net/ethernet/freescale/dpaa/dpaa_eth.c
- drivers/net/ethernet/freescale/dpaa2/dpaa2-eth.c 4 additions, 4 deletionsdrivers/net/ethernet/freescale/dpaa2/dpaa2-eth.c
- drivers/net/ethernet/intel/i40e/i40e_txrx.c 3 additions, 3 deletionsdrivers/net/ethernet/intel/i40e/i40e_txrx.c
- drivers/net/ethernet/intel/ice/ice_txrx.c 3 additions, 3 deletionsdrivers/net/ethernet/intel/ice/ice_txrx.c
- drivers/net/ethernet/intel/igb/igb_main.c 3 additions, 3 deletionsdrivers/net/ethernet/intel/igb/igb_main.c
- drivers/net/ethernet/intel/ixgbe/ixgbe_main.c 3 additions, 4 deletionsdrivers/net/ethernet/intel/ixgbe/ixgbe_main.c
- drivers/net/ethernet/intel/ixgbevf/ixgbevf_main.c 3 additions, 4 deletionsdrivers/net/ethernet/intel/ixgbevf/ixgbevf_main.c
- drivers/net/ethernet/marvell/mvneta.c 1 addition, 2 deletionsdrivers/net/ethernet/marvell/mvneta.c
- drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c 5 additions, 3 deletionsdrivers/net/ethernet/marvell/mvpp2/mvpp2_main.c
- drivers/net/ethernet/mellanox/mlx4/en_rx.c 1 addition, 2 deletionsdrivers/net/ethernet/mellanox/mlx4/en_rx.c
- drivers/net/ethernet/mellanox/mlx5/core/en_rx.c 1 addition, 2 deletionsdrivers/net/ethernet/mellanox/mlx5/core/en_rx.c
- drivers/net/ethernet/netronome/nfp/nfp_net_common.c 2 additions, 2 deletionsdrivers/net/ethernet/netronome/nfp/nfp_net_common.c
- drivers/net/ethernet/qlogic/qede/qede_fp.c 1 addition, 2 deletionsdrivers/net/ethernet/qlogic/qede/qede_fp.c
- drivers/net/ethernet/sfc/rx.c 1 addition, 2 deletionsdrivers/net/ethernet/sfc/rx.c
- drivers/net/ethernet/socionext/netsec.c 1 addition, 2 deletionsdrivers/net/ethernet/socionext/netsec.c
- drivers/net/ethernet/ti/cpsw.c 2 additions, 2 deletionsdrivers/net/ethernet/ti/cpsw.c
- drivers/net/ethernet/ti/cpsw_new.c 2 additions, 2 deletionsdrivers/net/ethernet/ti/cpsw_new.c
Loading
Please register or sign in to comment