linux/drivers/net/ethernet/broadcom/bnx2x
Ariel Elior 49baea8816 bnx2x: set VF DMAE when first function has 0 supported VFs
There are possible HW configurations in which PFs will have SR-IOV capability
but will have Max VFs set to 0 - this happens when there are Multi-Function
devices where the VFs are allocated to only some of the PFs.

DMAE is configured to support VFs only if the configuring PF has supported VFs.
In case the first PF to be loaded will be one without supported VFs, it will
not configure DMAE to the VF-supporting mode. When VFs of other PFs will be
loaded later on, they will not be able to communicate with their PF.

This changes the requirement for configuring DMAE for VF-supporting mode;
If the device has SR-IOV capabilities there must be some PF that has
max supported VFs > 0, thus it will configure the DMAE for supporting VFs.

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>
2013-08-20 00:21:48 -07:00
..
bnx2x_cmn.c net: rename CONFIG_NET_LL_RX_POLL to CONFIG_NET_RX_BUSY_POLL 2013-08-01 15:11:17 -07:00
bnx2x_cmn.h bnx2x: replace mechanism to check for next available packet 2013-06-19 18:32:17 -07:00
bnx2x_dcb.c bnx2x: Consider DCBX remote error 2013-08-20 00:21:47 -07:00
bnx2x_dcb.h bnx2x: Change DCB context handling 2013-08-20 00:21:47 -07:00
bnx2x_dump.h bnx2x: Revise comments and alignment 2013-06-02 21:36:47 -07:00
bnx2x_ethtool.c bnx2x: fill in sane dump flag information 2013-07-02 00:15:56 -07:00
bnx2x_fw_defs.h bnx2x, bnx2fc: Use per port max exchange resources 2013-04-25 04:06:46 -04:00
bnx2x_fw_file_hdr.h bnx2x: Introduce 2013 and advance version to 1.78.02 2013-01-15 15:07:59 -05:00
bnx2x_hsi.h bnx2x: fix PTE write access error 2013-08-13 16:04:28 -07:00
bnx2x_init_ops.h bnx2x: Remove many sparse warnings 2013-01-23 13:58:29 -05:00
bnx2x_init.h bnx2x: Introduce 2013 and advance version to 1.78.02 2013-01-15 15:07:59 -05:00
bnx2x_link.c bnx2x: Allow RX/TX pause control in autoneg 2013-04-24 16:33:53 -04:00
bnx2x_link.h bnx2x: Support reading I2C EEPROM SFF8472 2013-03-27 12:48:32 -04:00
bnx2x_main.c bnx2x: prevent VF benign attentions 2013-08-20 00:21:47 -07:00
bnx2x_mfw_req.h bnx2x: Introduce 2013 and advance version to 1.78.02 2013-01-15 15:07:59 -05:00
bnx2x_reg.h bnx2x: Revise prints 2013-06-02 21:36:47 -07:00
bnx2x_sp.c bnx2x: Revise comments and alignment 2013-06-02 21:36:47 -07:00
bnx2x_sp.h bnx2x: Revise comments and alignment 2013-06-02 21:36:47 -07:00
bnx2x_sriov.c bnx2x: set VF DMAE when first function has 0 supported VFs 2013-08-20 00:21:48 -07:00
bnx2x_sriov.h bnx2x: Fix compilation with no IOV support 2013-06-24 01:47:47 -07:00
bnx2x_stats.c bnx2x: protect different statistics flows 2013-08-13 16:04:28 -07:00
bnx2x_stats.h bnx2x: Semantic change of empty lines 2013-06-02 21:36:47 -07:00
bnx2x_vfpf.c bnx2x: Improve PF behaviour toward VF 2013-06-23 23:54:15 -07:00
bnx2x_vfpf.h bnx2x: Improve PF behaviour toward VF 2013-06-23 23:54:15 -07:00
bnx2x.h bnx2x: Change DCB context handling 2013-08-20 00:21:47 -07:00
Makefile bnx2x: Segregate SR-IOV code 2013-01-07 19:49:14 -08:00