diff options
author | Anirudh Venkataramanan <anirudh.venkataramanan@intel.com> | 2019-02-28 18:24:27 -0500 |
---|---|---|
committer | Jeff Kirsher <jeffrey.t.kirsher@intel.com> | 2019-04-18 11:38:47 -0400 |
commit | a629cf0a018b8d80b65bfd2b7f0d209a52834315 (patch) | |
tree | 384e6b27df69d658e89dd72bfac4d27e873dad00 /drivers/net/ethernet/intel/ice/ice_lib.c | |
parent | 00cc3f1b3a3011b5fee9711244ffcec418b519f0 (diff) |
ice: Update rings based on TC information
This patch adds a new function ice_vsi_cfg_dcb_rings which updates a
VSI's rings based on DCB traffic class information.
Signed-off-by: Anirudh Venkataramanan <anirudh.venkataramanan@intel.com>
Tested-by: Andrew Bowers <andrewx.bowers@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Diffstat (limited to 'drivers/net/ethernet/intel/ice/ice_lib.c')
-rw-r--r-- | drivers/net/ethernet/intel/ice/ice_lib.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/net/ethernet/intel/ice/ice_lib.c b/drivers/net/ethernet/intel/ice/ice_lib.c index f3574daa147c..f31129e4e9cf 100644 --- a/drivers/net/ethernet/intel/ice/ice_lib.c +++ b/drivers/net/ethernet/intel/ice/ice_lib.c | |||
@@ -125,6 +125,8 @@ ice_setup_tx_ctx(struct ice_ring *ring, struct ice_tlan_ctx *tlan_ctx, u16 pf_q) | |||
125 | /* Transmit Queue Length */ | 125 | /* Transmit Queue Length */ |
126 | tlan_ctx->qlen = ring->count; | 126 | tlan_ctx->qlen = ring->count; |
127 | 127 | ||
128 | ice_set_cgd_num(tlan_ctx, ring); | ||
129 | |||
128 | /* PF number */ | 130 | /* PF number */ |
129 | tlan_ctx->pf_num = hw->pf_id; | 131 | tlan_ctx->pf_num = hw->pf_id; |
130 | 132 | ||