]> git.baikalelectronics.ru Git - kernel.git/commit
qed: Consider TX tcs while deriving the max num_queues for PF.
authorSudarsana Reddy Kalluru <skalluru@marvell.com>
Wed, 6 Feb 2019 22:43:44 +0000 (14:43 -0800)
committerDavid S. Miller <davem@davemloft.net>
Thu, 7 Feb 2019 00:53:33 +0000 (16:53 -0800)
commit56ce6842450e0ddebcc632f837910b3a3a768b19
tree0b6f6e89dce3b4650faea39acd8efc522661ae09
parentcf02a319e7312fc830af3ada0a2a8e8104bf4e79
qed: Consider TX tcs while deriving the max num_queues for PF.

Max supported queues is derived incorrectly in the case of multi-CoS.
Need to consider TCs while calculating num_queues for PF.

Signed-off-by: Sudarsana Reddy Kalluru <skalluru@marvell.com>
Signed-off-by: Ariel Elior <aelior@marvell.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/qlogic/qed/qed_l2.c