i40e: add xdp frags support to ndo_xdp_xmit
authorLorenzo Bianconi <lorenzo@kernel.org>
Mon, 13 Jun 2022 16:51:50 +0000 (09:51 -0700)
committerDavid S. Miller <davem@davemloft.net>
Wed, 15 Jun 2022 08:29:42 +0000 (09:29 +0100)
commitfe63ec97e394aaff1d5af1da7f052e785470162c
tree4e05101ad48953a234bbdefe70f675d12b576791
parent9794ef5a68430946da2dfe7342be53b50bce9a41
i40e: add xdp frags support to ndo_xdp_xmit

Add the capability to map non-linear xdp frames in XDP_TX and ndo_xdp_xmit
callback.

Tested-by: Sarkar Tirthendu <tirthendu.sarkar@intel.com>
Signed-off-by: Lorenzo Bianconi <lorenzo@kernel.org>
Tested-by: George Kuruvinakunnel <george.kuruvinakunnel@intel.com>
Signed-off-by: Tony Nguyen <anthony.l.nguyen@intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/intel/i40e/i40e_txrx.c