linux_dsm_epyc7002/drivers/net/ethernet/intel
Tony Nguyen fabf1bce10 ixgbe: Prevent unsupported configurations with XDP
These changes address comments by Jakub Kicinski on
commit 38b7e7f8ae ("ixgbe: Do not allow LRO or MTU change with XDP").

Change the MTU check with XDP to allow any supported value and only
reject those outside of the range as opposed to rejecting any change
when XDP is active. In situations where MTU size is not supported,
return -EINVAL instead of -EPERM.

Add checks when enabling SRIOV, DCB, or adding L2FW offloaded device
as they are not supported with XDP.

CC: Jakub Kicinski <jakub.kicinski@netronome.com>
Signed-off-by: Tony Nguyen <anthony.l.nguyen@intel.com>
Acked-by: Jakub Kicinski <jakub.kicinski@netronome.com>
Tested-by: Andrew Bowers <andrewx.bowers@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
2018-08-24 08:52:35 -07:00
..
e1000 e1000: ensure to free old tx/rx rings in set_ringparam() 2018-08-24 08:52:35 -07:00
e1000e
fm10k
i40e
i40evf
ice ice: Trivial formatting fixes 2018-08-23 11:34:26 -07:00
igb igb: Replace mdelay() with msleep() in igb_integrated_phy_loopback() 2018-08-24 08:52:35 -07:00
igbvf
ixgb ixgb: use dma_zalloc_coherent instead of allocator/memset 2018-08-24 08:52:35 -07:00
ixgbe ixgbe: Prevent unsupported configurations with XDP 2018-08-24 08:52:35 -07:00
ixgbevf
e100.c
Kconfig
Makefile