|
@@ -782,7 +782,6 @@ static inline int bnx2x_vf_headroom(struct bnx2x *bp)
|
|
void bnx2x_pf_set_vfs_vlan(struct bnx2x *bp);
|
|
void bnx2x_pf_set_vfs_vlan(struct bnx2x *bp);
|
|
int bnx2x_sriov_configure(struct pci_dev *dev, int num_vfs);
|
|
int bnx2x_sriov_configure(struct pci_dev *dev, int num_vfs);
|
|
void bnx2x_iov_channel_down(struct bnx2x *bp);
|
|
void bnx2x_iov_channel_down(struct bnx2x *bp);
|
|
-int bnx2x_open_epilog(struct bnx2x *bp);
|
|
|
|
|
|
|
|
#else /* CONFIG_BNX2X_SRIOV */
|
|
#else /* CONFIG_BNX2X_SRIOV */
|
|
|
|
|
|
@@ -842,7 +841,6 @@ static inline int bnx2x_vf_pci_alloc(struct bnx2x *bp) {return 0; }
|
|
static inline void bnx2x_pf_set_vfs_vlan(struct bnx2x *bp) {}
|
|
static inline void bnx2x_pf_set_vfs_vlan(struct bnx2x *bp) {}
|
|
static inline int bnx2x_sriov_configure(struct pci_dev *dev, int num_vfs) {return 0; }
|
|
static inline int bnx2x_sriov_configure(struct pci_dev *dev, int num_vfs) {return 0; }
|
|
static inline void bnx2x_iov_channel_down(struct bnx2x *bp) {}
|
|
static inline void bnx2x_iov_channel_down(struct bnx2x *bp) {}
|
|
-static inline int bnx2x_open_epilog(struct bnx2x *bp) {return 0; }
|
|
|
|
|
|
|
|
#endif /* CONFIG_BNX2X_SRIOV */
|
|
#endif /* CONFIG_BNX2X_SRIOV */
|
|
#endif /* bnx2x_sriov.h */
|
|
#endif /* bnx2x_sriov.h */
|