aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/intel/i40evf/i40evf_main.c
diff options
context:
space:
mode:
authorMitch Williams <mitch.a.williams@intel.com>2015-08-28 17:55:58 -0400
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>2015-10-08 16:30:13 -0700
commitf578f5f453abf09e8cb4c3aaf1e0c3bdf8125493 (patch)
treeb95aa62333dc966a8703d2a268b7b4f13fc63f74 /drivers/net/ethernet/intel/i40evf/i40evf_main.c
parenti40evf: use capabilities flags properly (diff)
downloadlinux-dev-f578f5f453abf09e8cb4c3aaf1e0c3bdf8125493.tar.xz
linux-dev-f578f5f453abf09e8cb4c3aaf1e0c3bdf8125493.zip
i40e/i40evf: pass QOS handle to VF
The VF really doesn't care about the QOS handle but it will in the future. Since the VF only uses TC0, send it that handle. On the VF side, save the handle and use it to populate the QOS params when we call into the client interface. Change-ID: I76f41b070baeaa09b19383e9168bc677837e0761 Signed-off-by: Mitch Williams <mitch.a.williams@intel.com> Tested-by: Andrew Bowers <andrewx.bowers@intel.com> Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Diffstat (limited to '')
-rw-r--r--drivers/net/ethernet/intel/i40evf/i40evf_main.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/ethernet/intel/i40evf/i40evf_main.c b/drivers/net/ethernet/intel/i40evf/i40evf_main.c
index 1f999305c406..c00e4959f026 100644
--- a/drivers/net/ethernet/intel/i40evf/i40evf_main.c
+++ b/drivers/net/ethernet/intel/i40evf/i40evf_main.c
@@ -2115,6 +2115,7 @@ int i40evf_process_config(struct i40evf_adapter *adapter)
adapter->vsi.tx_itr_setting = (I40E_ITR_DYNAMIC |
ITR_REG_TO_USEC(I40E_ITR_TX_DEF));
adapter->vsi.netdev = adapter->netdev;
+ adapter->vsi.qs_handle = adapter->vsi_res->qset_handle;
return 0;
}