ixgbevf: Add RSS Key query code
Add the ixgbevf_get_rss_key() function that queries the PF for an RSS Random Key using a new VF-PF channel IXGBE_VF_GET_RSS_KEY command. This patch adds the support for 82599 and x540 devices only. Support for other devices will be added later. 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>
This commit is contained in:

committed by
Jeff Kirsher

parent
3c0841a922
commit
ad1431e2db
@@ -110,6 +110,7 @@ enum ixgbe_pfvf_api_rev {
|
||||
|
||||
/* mailbox API, version 1.2 VF requests */
|
||||
#define IXGBE_VF_GET_RETA 0x0a /* VF request for RETA */
|
||||
#define IXGBE_VF_GET_RSS_KEY 0x0b /* get RSS hash key */
|
||||
|
||||
/* length of permanent address message returned from PF */
|
||||
#define IXGBE_VF_PERMADDR_MSG_LEN 4
|
||||
|
Reference in New Issue
Block a user