* [PATCH net-next] bnxt_en: add a dummy definition for bnxt_vf_rep_get_fid()
@ 2017-08-29 6:15 Sathya Perla
2017-08-29 6:22 ` Michael Chan
2017-08-29 16:28 ` David Miller
0 siblings, 2 replies; 3+ messages in thread
From: Sathya Perla @ 2017-08-29 6:15 UTC (permalink / raw)
To: netdev
When bnxt VF-reps are not compiled in (CONFIG_BNXT_SRIOV is off)
bnxt_tc.c needs a dummy definition of the routine bnxt_vf_rep_get_fid().
Reported-by: kbuild test robot <fengguang.wu@intel.com>
Fixes: 2ae7408fedfe ("bnxt_en: bnxt: add TC flower filter offload support")
Signed-off-by: Sathya Perla <sathya.perla@broadcom.com>
---
drivers/net/ethernet/broadcom/bnxt/bnxt_vfr.h | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/drivers/net/ethernet/broadcom/bnxt/bnxt_vfr.h b/drivers/net/ethernet/broadcom/bnxt/bnxt_vfr.h
index d8b5f89..7787cd24 100644
--- a/drivers/net/ethernet/broadcom/bnxt/bnxt_vfr.h
+++ b/drivers/net/ethernet/broadcom/bnxt/bnxt_vfr.h
@@ -80,5 +80,10 @@ static inline struct net_device *bnxt_get_vf_rep(struct bnxt *bp, u16 cfa_code)
{
return NULL;
}
+
+static inline u16 bnxt_vf_rep_get_fid(struct net_device *dev)
+{
+ return 0;
+}
#endif /* CONFIG_BNXT_SRIOV */
#endif /* BNXT_VFR_H */
--
2.7.4
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [PATCH net-next] bnxt_en: add a dummy definition for bnxt_vf_rep_get_fid()
2017-08-29 6:15 [PATCH net-next] bnxt_en: add a dummy definition for bnxt_vf_rep_get_fid() Sathya Perla
@ 2017-08-29 6:22 ` Michael Chan
2017-08-29 16:28 ` David Miller
1 sibling, 0 replies; 3+ messages in thread
From: Michael Chan @ 2017-08-29 6:22 UTC (permalink / raw)
To: Sathya Perla, David Miller; +Cc: Netdev
On Mon, Aug 28, 2017 at 11:15 PM, Sathya Perla
<sathya.perla@broadcom.com> wrote:
> When bnxt VF-reps are not compiled in (CONFIG_BNXT_SRIOV is off)
> bnxt_tc.c needs a dummy definition of the routine bnxt_vf_rep_get_fid().
>
> Reported-by: kbuild test robot <fengguang.wu@intel.com>
> Fixes: 2ae7408fedfe ("bnxt_en: bnxt: add TC flower filter offload support")
> Signed-off-by: Sathya Perla <sathya.perla@broadcom.com>
Signed-off-by: Michael Chan <michael.chan@broadcom.com>
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH net-next] bnxt_en: add a dummy definition for bnxt_vf_rep_get_fid()
2017-08-29 6:15 [PATCH net-next] bnxt_en: add a dummy definition for bnxt_vf_rep_get_fid() Sathya Perla
2017-08-29 6:22 ` Michael Chan
@ 2017-08-29 16:28 ` David Miller
1 sibling, 0 replies; 3+ messages in thread
From: David Miller @ 2017-08-29 16:28 UTC (permalink / raw)
To: sathya.perla; +Cc: netdev
From: Sathya Perla <sathya.perla@broadcom.com>
Date: Tue, 29 Aug 2017 11:45:03 +0530
> When bnxt VF-reps are not compiled in (CONFIG_BNXT_SRIOV is off)
> bnxt_tc.c needs a dummy definition of the routine bnxt_vf_rep_get_fid().
>
> Reported-by: kbuild test robot <fengguang.wu@intel.com>
> Fixes: 2ae7408fedfe ("bnxt_en: bnxt: add TC flower filter offload support")
> Signed-off-by: Sathya Perla <sathya.perla@broadcom.com>
Applied.
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2017-08-29 16:29 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-08-29 6:15 [PATCH net-next] bnxt_en: add a dummy definition for bnxt_vf_rep_get_fid() Sathya Perla
2017-08-29 6:22 ` Michael Chan
2017-08-29 16:28 ` David Miller
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox