linux/drivers/net/ethernet/intel/igb
Laura Mihaela Vasilescu ed12cc9a14 igb: Expose RSS indirection table for ethtool
This patch adds the ethtool callbacks necessary to change the RETA
indirection table from userspace.

In order to achieve this, we add the indirection table field (rss_indir_tbl)
in the board specific data structure (struct igb_adapter) to preserve the
values across hardware resets.

The indirection table must be initialized with default values in the
following cases:
	* at module init time
	* when the number of RX queues changes.
For this reason we add a new field (rss_indir_tbl_init) in igb_adapter
that keeps track of the number of RX queues. Whenever the number of RX
queues changes, the rss_indir_tbl is modified and initialized with default
values. The rss_indir_tbl_init is updated accordingly.

CC: Ben Hutchings <bhutchings@solarflare.com>
Signed-off-by: Laura Mihaela Vasilescu <laura.vasilescu@rosedu.org>
Tested-by: Aaron Brown <aaron.f.brown@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
2013-08-22 02:26:27 -07:00
..
e1000_82575.c igb: Add device support for flashless SKU of i210 device 2013-08-22 02:26:06 -07:00
e1000_82575.h igb: Add support for i354 devices 2013-04-18 16:40:35 -07:00
e1000_defines.h igb: Fix get_fw_version function for all parts 2013-08-22 02:26:09 -07:00
e1000_hw.h igb: Add device support for flashless SKU of i210 device 2013-08-22 02:26:06 -07:00
e1000_i210.c igb: Refactor NVM read functions to accommodate devices with no flash 2013-08-22 02:26:00 -07:00
e1000_i210.h igb: Refactor NVM read functions to accommodate devices with no flash 2013-08-22 02:26:00 -07:00
e1000_mac.c igb: Implementation of i210/i211 LED support 2013-05-21 03:01:58 -07:00
e1000_mac.h igb: Fix code comments and whitespace 2013-04-18 16:40:25 -07:00
e1000_mbx.c igb: Fix code comments and whitespace 2013-04-18 16:40:25 -07:00
e1000_mbx.h igb: Fix code comments and whitespace 2013-04-18 16:40:25 -07:00
e1000_nvm.c igb: Fix get_fw_version function for all parts 2013-08-22 02:26:09 -07:00
e1000_nvm.h igb: Fix get_fw_version function for all parts 2013-08-22 02:26:09 -07:00
e1000_phy.c Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-next 2013-07-09 18:24:39 -07:00
e1000_phy.h igb: Support for SFP modules discovery 2013-05-21 02:37:36 -07:00
e1000_regs.h igb: Add support for i354 devices 2013-04-18 16:40:35 -07:00
igb.h igb: Expose RSS indirection table for ethtool 2013-08-22 02:26:27 -07:00
igb_ethtool.c igb: Expose RSS indirection table for ethtool 2013-08-22 02:26:27 -07:00
igb_hwmon.c igb: Fix code comments and whitespace 2013-04-18 16:40:25 -07:00
igb_main.c igb: Expose RSS indirection table for ethtool 2013-08-22 02:26:27 -07:00
igb_ptp.c igb: Read register for latch_on without return value 2013-08-22 02:25:25 -07:00
Makefile igb: Copyright string update to year 2013 2013-01-19 05:05:05 -08:00