linux/drivers/net/ethernet/intel
Jacob Keller 59826d9bec i40e: don't allow reduction of channels below active FD rules
If a driver is unable to maintain all current user supplied settings
from ethtool (or other sources), it is not ok for a user request to
succeed and silently trample over previous configuration.

To that end, if you change the number of channels, it must not be
allowed to reduce the number of channels (queues) below the current
flow director filter rules targets. In this case, return -EINVAL when
a request to reduce the number of channels would do so. In addition
log a warning to the kernel buffer explaining why we failed, and report
the rules which prevent us from lowering the number of channels.

Change-ID: If41464d63d7aab11cedf09e4f3aa1a69e21ffd88
Signed-off-by: Jacob Keller <jacob.e.keller@intel.com>
Tested-by: Andrew Bowers <andrewx.bowers@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
2016-08-18 11:43:11 -07:00
..
e1000 Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net 2016-04-09 17:41:41 -04:00
e1000e e1000e: fix PTP on e1000_pch_lpt variants 2016-08-16 10:47:20 -07:00
fm10k PCI changes for the v4.8 merge window: 2016-08-02 17:12:29 -04:00
i40e i40e: don't allow reduction of channels below active FD rules 2016-08-18 11:43:11 -07:00
i40evf i40evf: add missing rtnl_lock() around i40evf_set_interrupt_capability 2016-08-18 11:43:11 -07:00
igb igb: fix adjusting PTP timestamps for Tx/Rx latency 2016-08-16 10:32:59 -07:00
igbvf intel: Add support for IPv6 IP-in-IP offload 2016-05-20 19:25:52 -04:00
ixgb drivers/net: get rid of unnecessary initializations in .get_drvinfo() 2015-10-16 00:24:10 -07:00
ixgbe net_sched: convert tcf_exts from list to pointer array 2016-08-17 19:27:51 -04:00
ixgbevf ixgbevf: Commonize mailbox write/read 2016-07-22 01:56:54 -07:00
e100.c e100: Release skb when DMA mapping is failed in e100_xmit_prepare 2015-08-18 14:06:05 -07:00
Kconfig ixgbe: Replace ndo_add/del_vxlan_port with ndo_add/del_udp_enc_port 2016-06-17 20:23:30 -07:00
Makefile fm10k: Add skeletal frame for Intel(R) FM10000 Ethernet Switch Host Interface Driver 2014-09-23 03:59:13 -07:00