Thread (2 messages) 2 messages, 2 authors, 2017-06-01

Re: [PATCH net] bnx2x: Fix Multi-Cos

flat view

From: David Miller <davem@davemloft.net>
Date: 2017-06-01 16:23:01

From: Yuval Mintz <redacted>
Date: Thu, 1 Jun 2017 15:57:56 +0300
Apparently multi-cos isn't working for bnx2x quite some time -
driver implements ndo_select_queue() to allow queue-selection
for FCoE, but the regular L2 flow would cause it to modulo the
fallback's result by the number of queues.
The fallback would return a queue matching the needed tc
[via __skb_tx_hash()], but since the modulo is by the number of TSS
queues where number of TCs is not accounted, transmission would always
be done by a queue configured into using TC0.

Fixes: ada7c19e6d27 ("bnx2x: use XPS if possible for bnx2x_select_queue instead of pure hash")
Signed-off-by: Yuval Mintz <redacted>
Applied and queued up for -stable.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help