summaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/intel/ixgbevf/vf.h
diff options
context:
space:
mode:
authorAlexander Duyck2012-07-20 10:10:03 +0200
committerJeff Kirsher2012-10-23 06:15:35 +0200
commit56e94095efb3d4f749212bf7c0b151843d157f49 (patch)
tree5192439b4d53a4fe0b24945d7adb81e3d950912b /drivers/net/ethernet/intel/ixgbevf/vf.h
parentixgbe: Enable support for VF API version 1.1 in the PF. (diff)
downloadkernel-qcow2-linux-56e94095efb3d4f749212bf7c0b151843d157f49.tar.gz
kernel-qcow2-linux-56e94095efb3d4f749212bf7c0b151843d157f49.tar.xz
kernel-qcow2-linux-56e94095efb3d4f749212bf7c0b151843d157f49.zip
ixgbevf: Add VF DCB + SR-IOV support
This change adds support for DCB and SR-IOV from the VF. With this change in place the VF will correctly use a traffic class other than 0 in the case that the PF is configured with the default user priority belonging to a traffic class other than 0. Cc: Greg Rose <gregory.v.rose@intel.com> Signed-off-by: Alexander Duyck <alexander.h.duyck@intel.com> Tested-by: Sibai Li <sibai.li@intel.com> Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Diffstat (limited to 'drivers/net/ethernet/intel/ixgbevf/vf.h')
-rw-r--r--drivers/net/ethernet/intel/ixgbevf/vf.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/net/ethernet/intel/ixgbevf/vf.h b/drivers/net/ethernet/intel/ixgbevf/vf.h
index 47f11a584d8c..7b1f502d1716 100644
--- a/drivers/net/ethernet/intel/ixgbevf/vf.h
+++ b/drivers/net/ethernet/intel/ixgbevf/vf.h
@@ -174,5 +174,7 @@ struct ixgbevf_info {
void ixgbevf_rlpml_set_vf(struct ixgbe_hw *hw, u16 max_size);
int ixgbevf_negotiate_api_version(struct ixgbe_hw *hw, int api);
+int ixgbevf_get_queues(struct ixgbe_hw *hw, unsigned int *num_tcs,
+ unsigned int *default_tc);
#endif /* __IXGBE_VF_H__ */