BBlack has uploaded a new change for review.

  https://gerrit.wikimedia.org/r/160559

Change subject: bugfix for 1:1 rxq:txq mapping
......................................................................

bugfix for 1:1 rxq:txq mapping

Change-Id: Ib17ace2caf6141469117ddca8bd5fbb2b864d25f
---
M modules/interface/files/interface-rps.py
1 file changed, 1 insertion(+), 1 deletion(-)


  git pull ssh://gerrit.wikimedia.org:29418/operations/puppet 
refs/changes/59/160559/1

diff --git a/modules/interface/files/interface-rps.py 
b/modules/interface/files/interface-rps.py
index f3c1f2c..b1f95dc 100755
--- a/modules/interface/files/interface-rps.py
+++ b/modules/interface/files/interface-rps.py
@@ -203,7 +203,7 @@
     # Some cards are very simple (e.g. bnx2); assume if counts match
     #   then the queues must map 1:1
     elif len(tx_queues) == len(rx_queues):
-        tx_queue_map = {rxq: rxq for rxq in rx_queues}
+        tx_queue_map = {rxq: [rxq] for rxq in rx_queues}
 
     # This catches the case that a driver-specific txq mapper returned
     #   None due to some validation failure

-- 
To view, visit https://gerrit.wikimedia.org/r/160559
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: Ib17ace2caf6141469117ddca8bd5fbb2b864d25f
Gerrit-PatchSet: 1
Gerrit-Project: operations/puppet
Gerrit-Branch: production
Gerrit-Owner: BBlack <[email protected]>

_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to