]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit14c866e20e5841bccd5470d299e2d11a79c983e1
treefec8136281aa4cbbfdc6c876a8699ef5891687de
parentb5b28f72e37a02f1e388f9f92e520e9ba74dff13
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