qed: Consider TX tcs while deriving the max num_queues for PF.
commitfb1faab74ddef9ec2d841d54e5d0912a097b3abe
authorSudarsana Reddy Kalluru <skalluru@marvell.com>
Wed, 6 Feb 2019 22:43:44 +0000 (6 14:43 -0800)
committerDavid S. Miller <davem@davemloft.net>
Thu, 7 Feb 2019 00:53:33 +0000 (6 16:53 -0800)
tree0b6f6e89dce3b4650faea39acd8efc522661ae09
parentebd873a31cae778c2379959ab382b34ba3b73549
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