diff options
| author | Anirudh Venkataramanan <[email protected]> | 2019-02-28 23:24:27 +0000 |
|---|---|---|
| committer | Jeff Kirsher <[email protected]> | 2019-04-18 15:38:47 +0000 |
| commit | a629cf0a018b8d80b65bfd2b7f0d209a52834315 (patch) | |
| tree | 384e6b27df69d658e89dd72bfac4d27e873dad00 /drivers/net/ethernet/intel/ice/ice_lib.c | |
| parent | ice: Add code to process LLDP MIB change events (diff) | |
| download | kernel-a629cf0a018b8d80b65bfd2b7f0d209a52834315.tar.gz kernel-a629cf0a018b8d80b65bfd2b7f0d209a52834315.zip | |
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 <[email protected]>
Tested-by: Andrew Bowers <[email protected]>
Signed-off-by: Jeff Kirsher <[email protected]>
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) /* Transmit Queue Length */ tlan_ctx->qlen = ring->count; + ice_set_cgd_num(tlan_ctx, ring); + /* PF number */ tlan_ctx->pf_num = hw->pf_id; |
