bnx2x: Fix Maximum CoS estimation for VFs
authorYuval Mintz <yuvalmin@broadcom.com>
Sun, 20 Oct 2013 14:51:26 +0000 (16:51 +0200)
committerDavid S. Miller <davem@davemloft.net>
Mon, 21 Oct 2013 22:31:35 +0000 (18:31 -0400)
commitb1239723f0564778d993d51d18afdfda01bdaca3
treefec8136281aa4cbbfdc6c876a8699ef5891687de
parent49595b7b21ca60ebae7fb6d6fda7dc67d7bbbd66
bnx2x: Fix Maximum CoS estimation for VFs

bnx2x VFs do not support Multi-CoS; Current implementation
erroneously sets the VFs maximal number of CoS to be > 1.

This will cause the driver to call alloc_etherdev_mqs() with
a number of queues it cannot possibly support and reflects
in 'odd' driver prints.

Signed-off-by: Yuval Mintz <yuvalmin@broadcom.com>
Signed-off-by: Ariel Elior <ariele@broadcom.com>
Signed-off-by: Eilon Greenstein <eilong@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c