linux/drivers/net/ethernet/intel/ixgbevf
Tony Nguyen 21092e9ce8 ixgbevf: Add support for XDP_TX action
This implements the XDP_TX action which is modeled on the ixgbe
implementation. However instead of using CPU id to determine which XDP
queue to use, this uses the received RX queue index, which is similar
to i40e. Doing this eliminates the restriction that number of CPUs not
exceed number of XDP queues that ixgbe has.

Also, based on the number of queues available, the number of TX queues
may be reduced when an XDP program is loaded in order to accommodate the
XDP queues.

Based largely on
commit 33fdc82f08 ("ixgbe: add support for XDP_TX action")

Signed-off-by: Tony Nguyen <anthony.l.nguyen@intel.com>
Acked-by: John Fastabend <john.fastabend@gmail.com>
Tested-by: Andrew Bowers <andrewx.bowers@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
2018-03-23 15:12:15 -07:00
..
defines.h intel: add SPDX identifiers to all the Intel drivers 2018-03-23 12:18:21 -04:00
ethtool.c ixgbevf: Add support for XDP_TX action 2018-03-23 15:12:15 -07:00
ixgbevf_main.c ixgbevf: Add support for XDP_TX action 2018-03-23 15:12:15 -07:00
ixgbevf.h ixgbevf: Add support for XDP_TX action 2018-03-23 15:12:15 -07:00
Makefile intel: add SPDX identifiers to all the Intel drivers 2018-03-23 12:18:21 -04:00
mbx.c ixgbevf: ixgbevf_write/read_posted_mbx should use IXGBE_ERR_MBX to initialize ret_val 2016-06-29 09:18:06 -07:00
mbx.h intel: add SPDX identifiers to all the Intel drivers 2018-03-23 12:18:21 -04:00
regs.h intel: add SPDX identifiers to all the Intel drivers 2018-03-23 12:18:21 -04:00
vf.c ixgbevf: use ARRAY_SIZE for various array sizing calculations 2018-01-26 10:25:15 -08:00
vf.h intel: add SPDX identifiers to all the Intel drivers 2018-03-23 12:18:21 -04:00