linux/drivers/net/ethernet/intel/ixgbe
Vlad Zolotarov 4ce37a4c05 ixgbe: Add a RETA query command to VF-PF channel API
Add this new command for 82599 and x540 devices only. Support for other
devices will be added later.

82599 and x540 VFs and PF share the same RSS redirection table (RETA).
Therefore we just return it for all VFs.

For 82599 and x540 RETA table is an array of 32 registers (128 bytes) and
the maximum number of registers that may be delivered in a single VF-PF
channel command is 15. On the other hand VFs of these devices can be
configured to have up to 4 RSS queues. Therefore we will "compress" the
RETA by transferring only 2 bits per entry and thereby it will take only 8
registers (DWORDS) to transfer the whole VF RETA.

Thus this patch does the following:

  - Adds a new API version (to specify a new commands set).
  - Adds the IXGBE_VF_GET_RETA command to the VF-PF commands set.

Signed-off-by: Vlad Zolotarov <vladz@cloudius-systems.com>
Tested-by: Phil Schmitt <phillip.j.schmitt@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
2015-04-10 22:44:19 -07:00
..
ixgbe_82598.c ixgbe: enable relaxed ordering for SPARC 2015-03-13 15:40:41 -07:00
ixgbe_82599.c ixgbe: add new wrapper for X550 support 2015-03-13 13:54:30 -07:00
ixgbe_common.c ixgbe: enable relaxed ordering for SPARC 2015-03-13 15:40:41 -07:00
ixgbe_common.h ixgbe: add new wrapper for X550 support 2015-03-13 13:54:30 -07:00
ixgbe_dcb_82598.c ixgbe: convert low_water into an array 2014-04-22 23:07:11 -07:00
ixgbe_dcb_82598.h ixgbe: update date to 2013 2013-02-05 01:44:13 -08:00
ixgbe_dcb_82599.c ixgbe: convert low_water into an array 2014-04-22 23:07:11 -07:00
ixgbe_dcb_82599.h ixgbe: clean up checkpatch warnings about CODE_INDENT and LEADING_SPACE 2014-05-23 05:24:04 -07:00
ixgbe_dcb_nl.c ixgbe: Add new support for X550 MAC's 2014-11-11 06:18:56 -08:00
ixgbe_dcb.c ixgbe: Add new support for X550 MAC's 2014-11-11 06:18:56 -08:00
ixgbe_dcb.h IXGBE: Set the SW prio_tc values at initialization to the HW setting. 2013-05-21 03:14:21 -07:00
ixgbe_debugfs.c ixgbe: don't check NULL for debugfs_remove_recursive 2014-05-23 05:28:24 -07:00
ixgbe_ethtool.c ixgbe: Add the appropriate ethtool ops to query RSS indirection table and key 2015-04-10 21:47:53 -07:00
ixgbe_fcoe.c ixgbe: adds x550 specific FCoE offloads 2015-04-10 00:15:55 -07:00
ixgbe_fcoe.h ixgbe: adds x550 specific FCoE offloads 2015-04-10 00:15:55 -07:00
ixgbe_lib.c ixgbe: Add new support for X550 MAC's 2014-11-11 06:18:56 -08:00
ixgbe_main.c ixgbe: Add a new netdev op to allow/prevent a VF from querying an RSS info 2015-04-10 22:26:30 -07:00
ixgbe_mbx.c ixgbe: Add new support for X550 MAC's 2014-11-11 06:18:56 -08:00
ixgbe_mbx.h ixgbe: Add a RETA query command to VF-PF channel API 2015-04-10 22:44:19 -07:00
ixgbe_phy.c ixgbe: add methods for combined read and write operations 2014-12-05 09:13:07 -08:00
ixgbe_phy.h ixgbe: Add X550 support function pointers 2014-12-05 09:13:07 -08:00
ixgbe_ptp.c ptp: ixgbe: use helpers for converting ns to timespec. 2015-03-31 17:19:19 -04:00
ixgbe_sriov.c ixgbe: Add a RETA query command to VF-PF channel API 2015-04-10 22:44:19 -07:00
ixgbe_sriov.h ixgbe: Add a new netdev op to allow/prevent a VF from querying an RSS info 2015-04-10 22:26:30 -07:00
ixgbe_sysfs.c ixgbe: add Linux NICS mailing list to contact info 2014-03-12 19:05:30 -07:00
ixgbe_type.h ixgbe: adds x550 specific FCoE offloads 2015-04-10 00:15:55 -07:00
ixgbe_x540.c ixgbe: add new wrapper for X550 support 2015-03-13 13:54:30 -07:00
ixgbe_x540.h ixgbe: Add X550 support function pointers 2014-12-05 09:13:07 -08:00
ixgbe_x550.c ixgbe: add support for X550 source_address_prunning 2015-04-10 00:07:41 -07:00
ixgbe.h ixgbe: Add a new netdev op to allow/prevent a VF from querying an RSS info 2015-04-10 22:26:30 -07:00
Makefile ixgbe: Add X550 support function pointers 2014-12-05 09:13:07 -08:00