]> git.proxmox.com Git - mirror_ubuntu-hirsute-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)
commit717fa2b9012c980f5578bb406d21efe5c2ea3ed7
tree6e73956580ca17e5038405f95b57900b1f34dbfb
parent9ea75ded3f5c6d3e3041d4495f36d95da0016da8
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