summaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.h
diff options
context:
space:
mode:
authorAriel Elior2013-01-01 06:22:23 +0100
committerDavid S. Miller2013-01-02 10:45:04 +0100
commit1ab4434c64f8d4786e4a26299e0ebb138a0a6415 (patch)
treeacb6611eea9caa47fc19acc7fb3a3b59a1d11451 /drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.h
parentteam: add ethtool support (diff)
downloadkernel-qcow2-linux-1ab4434c64f8d4786e4a26299e0ebb138a0a6415.tar.gz
kernel-qcow2-linux-1ab4434c64f8d4786e4a26299e0ebb138a0a6415.tar.xz
kernel-qcow2-linux-1ab4434c64f8d4786e4a26299e0ebb138a0a6415.zip
bnx2x: Support probing and removing of VF device
To support probing and removing of a bnx2x virtual function the following were added: 1. add bnx2x_vfpf.h: defines the VF to PF channel 2. add bnx2x_sriov.h: header for bnx2x SR-IOV functionality 3. enumerate VF hw types (identify VFs) 4. if driving a VF, map VF bar 5. if driving a VF, allocate Vf to PF channel 6. refactor interrupt flows to include VF Signed-off-by: Ariel Elior <ariele@broadcom.com> Signed-off-by: Eilon Greenstein <eilong@broadcom.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.h')
-rw-r--r--drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.h b/drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.h
index 0991534f61da..bca371e45e95 100644
--- a/drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.h
+++ b/drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.h
@@ -863,7 +863,7 @@ static inline void bnx2x_del_all_napi(struct bnx2x *bp)
netif_napi_del(&bnx2x_fp(bp, i, napi));
}
-void bnx2x_set_int_mode(struct bnx2x *bp);
+int bnx2x_set_int_mode(struct bnx2x *bp);
static inline void bnx2x_disable_msi(struct bnx2x *bp)
{