forked from Minki/linux
49baea8816
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> |
||
---|---|---|
.. | ||
bnx2x_cmn.c | ||
bnx2x_cmn.h | ||
bnx2x_dcb.c | ||
bnx2x_dcb.h | ||
bnx2x_dump.h | ||
bnx2x_ethtool.c | ||
bnx2x_fw_defs.h | ||
bnx2x_fw_file_hdr.h | ||
bnx2x_hsi.h | ||
bnx2x_init_ops.h | ||
bnx2x_init.h | ||
bnx2x_link.c | ||
bnx2x_link.h | ||
bnx2x_main.c | ||
bnx2x_mfw_req.h | ||
bnx2x_reg.h | ||
bnx2x_sp.c | ||
bnx2x_sp.h | ||
bnx2x_sriov.c | ||
bnx2x_sriov.h | ||
bnx2x_stats.c | ||
bnx2x_stats.h | ||
bnx2x_vfpf.c | ||
bnx2x_vfpf.h | ||
bnx2x.h | ||
Makefile |