]> www.infradead.org Git - users/jedix/linux-maple.git/commit
be2net: fix max VFs reported by HW
authorVasundhara Volam <vasundhara.volam@emulex.com>
Tue, 28 Aug 2012 20:37:41 +0000 (20:37 +0000)
committerMaxim Uvarov <maxim.uvarov@oracle.com>
Mon, 17 Dec 2012 08:42:18 +0000 (00:42 -0800)
commit69306c4ad8f408fa069132c348744dd06be6126b
tree6d4845ab7f13efee45a052da298c781c3916a951
parent1166462c995093b62d8f083feacc8834b0f1b792
be2net: fix max VFs reported by HW

BE3 FW allocates VF resources for upto 30 VFs per PF while a max value of 32
may be reported via PCI config space. Fix this in the driver.

Signed-off-by: Vasundhara Volam <vasundhara.volam@emulex.com>
Signed-off-by: Sathya Perla <sathya.perla@emulex.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/benet/be.h
drivers/net/benet/be_main.c