projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2ebd442
)
ice: change VF VSI tc info along with num_queues
author
Preethi Banala
<
[email protected]
>
Wed, 13 Feb 2019 18:51:09 +0000
(10:51 -0800)
committer
Jeff Kirsher
<
[email protected]
>
Mon, 25 Mar 2019 17:14:02 +0000
(10:14 -0700)
Update VF VSI tc info along with vsi->num_txq/num_rxq when VF requests to
configure queues.
Signed-off-by: Preethi Banala <
[email protected]
>
Signed-off-by: Anirudh Venkataramanan <
[email protected]
>
Tested-by: Andrew Bowers <
[email protected]
>
Signed-off-by: Jeff Kirsher <
[email protected]
>
drivers/net/ethernet/intel/ice/ice_virtchnl_pf.c
patch
|
blob
|
history
diff --git
a/drivers/net/ethernet/intel/ice/ice_virtchnl_pf.c
b/drivers/net/ethernet/intel/ice/ice_virtchnl_pf.c
index 011c52a9442c56b9b789ff5c02bed47d5bf5997e..9d37484bc60f39311d422304be663a2b2a8dd0ca 100644
(file)
--- a/
drivers/net/ethernet/intel/ice/ice_virtchnl_pf.c
+++ b/
drivers/net/ethernet/intel/ice/ice_virtchnl_pf.c
@@
-1927,6
+1927,9
@@
static int ice_vc_cfg_qs_msg(struct ice_vf *vf, u8 *msg)
*/
vsi->num_txq = qci->num_queue_pairs;
vsi->num_rxq = qci->num_queue_pairs;
+ /* All queues of VF VSI are in TC 0 */
+ vsi->tc_cfg.tc_info[0].qcount_tx = qci->num_queue_pairs;
+ vsi->tc_cfg.tc_info[0].qcount_rx = qci->num_queue_pairs;
if (!ice_vsi_cfg_lan_txqs(vsi) && !ice_vsi_cfg_rxqs(vsi))
aq_ret = 0;