]> git.baikalelectronics.ru Git - kernel.git/commit
bnx2x: Fix config when SR-IOV and iSCSI are enabled
authorAriel Elior <ariele@broadcom.com>
Sun, 20 Oct 2013 14:51:30 +0000 (16:51 +0200)
committerDavid S. Miller <davem@davemloft.net>
Mon, 21 Oct 2013 22:31:35 +0000 (18:31 -0400)
commit01946b4f65a21400af74393cd45bec9c265cb4b4
tree6e5e0dde2a429c54fcaabc1b1e86adba52af8259
parent710fa1b6b5bd7d011eaf4d86a2d8fc5bc919db62
bnx2x: Fix config when SR-IOV and iSCSI are enabled

Starting with commit 66f9b6a "bnx2x: VF RSS support - PF side", if a PF will
have SR-IOV supported in its PCI configuration space, storage drivers will not
work for that interface.

This patch fixes the resource calculation to allow such a configuration to
properly work.

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.h