]> git.baikalelectronics.ru Git - kernel.git/commit
bnx2x: add missing VF resource allocation during init
authorAriel Elior <ariele@broadcom.com>
Mon, 23 Sep 2013 07:12:52 +0000 (10:12 +0300)
committerDavid S. Miller <davem@davemloft.net>
Mon, 23 Sep 2013 20:17:05 +0000 (16:17 -0400)
commit486af82d4e1450fe21000395f325608555f6acbc
tree6e73956580ca17e5038405f95b57900b1f34dbfb
parentb378d03c66f80a04e65bdf781f18e3a23bcda3cf
bnx2x: add missing VF resource allocation during init

bnx2x_iov_static_resc() should be called after IGU was read for information on
the number of available VFs, so that resources will be correctly set.

Signed-off-by: Ariel Elior <ariele@broadcom.com>
Signed-off-by: Yuval Mintz <yuvalmin@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_sriov.c