From: Yuval Mintz <[email protected]>
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 <[email protected]>
Applied and queued up for -stable.