linux_dsm_epyc7002/drivers/net/ethernet/intel
Björn Töpel 3ab52af58f i40e: disallow changing the number of descriptors when AF_XDP is on
When an AF_XDP UMEM is attached to any of the Rx rings, we disallow a
user to change the number of descriptors via e.g. "ethtool -G IFNAME".

Otherwise, the size of the stash/reuse queue can grow unbounded, which
would result in OOM or leaking userspace buffers.

Signed-off-by: Björn Töpel <bjorn.topel@intel.com>
Tested-by: Andrew Bowers <andrewx.bowers@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
2018-09-25 13:16:19 -07:00
..
e1000 e1000: remove set but not used variable 'txb2b' 2018-09-19 23:09:23 -07:00
e1000e intel-ethernet: use correct module license 2018-09-18 15:32:59 -07:00
fm10k intel-ethernet: use correct module license 2018-09-18 15:32:59 -07:00
i40e i40e: disallow changing the number of descriptors when AF_XDP is on 2018-09-25 13:16:19 -07:00
iavf intel-ethernet: use correct module license 2018-09-18 15:32:59 -07:00
ice intel-ethernet: use correct module license 2018-09-18 15:32:59 -07:00
igb intel-ethernet: use correct module license 2018-09-18 15:32:59 -07:00
igbvf intel-ethernet: use correct module license 2018-09-18 15:32:59 -07:00
ixgb intel-ethernet: use correct module license 2018-09-18 15:32:59 -07:00
ixgbe intel-ethernet: use correct module license 2018-09-18 15:32:59 -07:00
ixgbevf intel-ethernet: use correct module license 2018-09-18 15:32:59 -07:00
e100.c intel-ethernet: use correct module license 2018-09-18 15:32:59 -07:00
Kconfig intel-ethernet: rename i40evf to iavf 2018-09-18 08:43:03 -07:00
Makefile intel-ethernet: rename i40evf to iavf 2018-09-18 08:43:03 -07:00