bnx2x: fix broken compilation with CONFIG_BNX2X_SRIOV is not set
PATCH 1/1 bnx2x: fix broken compilation with CONFIG_BNX2X_SRIOV is not set
Since commit 60cad4e67bd6ff400e7ea61fe762b3042b12ae9d "bnx2x: VF RSS support - VF side" fails to compile w/o CONFIG_BNX2X_SRIOV option.
Reported-by Eric Dumazet <[email protected]>
CC Ariel Elior <[email protected]>
Signed-off-by Dmitry Kravkov <[email protected]>
---
Done with same formatting used in the file.
--- drivers/net/ethernet/broadcom/bnx2x/bnx2x_sriov.h | 2 ++ 1 file changed, 2 insertions(+)
drivers/net/ethernet/broadcom/bnx2x/bnx2x_sriov.h +2 -0
@@ -816,6 +816,8 @@ static inline int bnx2x_vfpf_setup_q(struct bnx2x *bp, struct bnx2x_fastpath *fpstatic inline int bnx2x_vfpf_teardown_queue (struct bnx2x *bp,int qidx) {return 0 ; }static inline int bnx2x_vfpf_config_mac (struct bnx2x *bp,u8 *addr,u8 vf_qid,bool set) {return 0 ; } +static inline int bnx2x_vfpf_config_rss (struct bnx2x *bp, +struct bnx2x_config_rss_params *params) {return 0 ; }static inline int bnx2x_vfpf_set_mcast (struct net_device *dev) {return 0 ; }static inline int bnx2x_vfpf_storm_rx_mode (struct bnx2x *bp) {return 0 ; }static inline int bnx2x_iov_nic_init (struct bnx2x *bp) {return 0 ; }
Signature · 1 line
1.8.3.1
Quoted 8 lines · Dmitry Kravkov
Since commit
60cad4e67bd6ff400e7ea61fe762b3042b12ae9d"bnx2x: VF RSS support - VF side" fails to compile w/oCONFIG_BNX2X_SRIOVoption.Reported-by Eric Dumazet <[email protected]>CC Ariel Elior <[email protected]>Signed-off-by Dmitry Kravkov <[email protected]>---
Thanks !
Acked-by Eric Dumazet <[email protected]>
From: "Dmitry Kravkov" <[email protected]>
Date: Fri, 6 Sep 2013 10:35:28 +0300
Quoted 9 lines
Since commit
60cad4e67bd6ff400e7ea61fe762b3042b12ae9d"bnx2x: VF RSS support - VF side" fails to compile w/oCONFIG_BNX2X_SRIOVoption.Reported-by Eric Dumazet <[email protected]>CC Ariel Elior <[email protected]>Signed-off-by Dmitry Kravkov <[email protected]>---
Done with same formatting used in the file.
Applied.