netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH net] eth: fbnic: select devlink
@ 2024-08-02  1:59 Jakub Kicinski
  2024-08-02 14:50 ` Simon Horman
  0 siblings, 1 reply; 4+ messages in thread
From: Jakub Kicinski @ 2024-08-02  1:59 UTC (permalink / raw)
  To: davem
  Cc: netdev, edumazet, pabeni, Jakub Kicinski, kernel test robot,
	alexanderduyck

Build bot reports undefined references to devlink functions
in fbnic.ko.

Fixes: 1a9d48892ea5 ("eth: fbnic: Allocate core device specific structures and devlink interface")
Reported-by: kernel test robot <lkp@intel.com>
Closes: https://lore.kernel.org/oe-kbuild-all/202408011219.hiPmwwAs-lkp@intel.com/
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
---
CC: alexanderduyck@fb.com
---
 drivers/net/ethernet/meta/Kconfig | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/net/ethernet/meta/Kconfig b/drivers/net/ethernet/meta/Kconfig
index c002ede36402..55389f1d22b6 100644
--- a/drivers/net/ethernet/meta/Kconfig
+++ b/drivers/net/ethernet/meta/Kconfig
@@ -23,6 +23,7 @@ config FBNIC
 	depends on !S390
 	depends on MAX_SKB_FRAGS < 22
 	depends on PCI_MSI
+	select NET_DEVLINK
 	select PHYLINK
 	help
 	  This driver supports Meta Platforms Host Network Interface.
-- 
2.45.2


^ permalink raw reply related	[flat|nested] 4+ messages in thread

* Re: [PATCH net] eth: fbnic: select devlink
  2024-08-02  1:59 [PATCH net] eth: fbnic: select devlink Jakub Kicinski
@ 2024-08-02 14:50 ` Simon Horman
  2024-08-02 15:01   ` Jakub Kicinski
  0 siblings, 1 reply; 4+ messages in thread
From: Simon Horman @ 2024-08-02 14:50 UTC (permalink / raw)
  To: Jakub Kicinski
  Cc: davem, netdev, edumazet, pabeni, kernel test robot,
	alexanderduyck

On Thu, Aug 01, 2024 at 06:59:24PM -0700, Jakub Kicinski wrote:
> Build bot reports undefined references to devlink functions
> in fbnic.ko.
> 
> Fixes: 1a9d48892ea5 ("eth: fbnic: Allocate core device specific structures and devlink interface")
> Reported-by: kernel test robot <lkp@intel.com>
> Closes: https://lore.kernel.org/oe-kbuild-all/202408011219.hiPmwwAs-lkp@intel.com/
> Signed-off-by: Jakub Kicinski <kuba@kernel.org>

Thanks, I agree this is needed.

Reviewed-by: Simon Horman <horms@kernel.org>
Tested-by: Simon Horman <horms@kernel.org>

But while exercising this I noticed that PAGE_POOL is also needed,
which I locally resolved by adding:

	select PAGE_POOL

I can provide a follow-up patch after this one is merged.
Or perhaps you can address this in a v2?
I have no preference either way.

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH net] eth: fbnic: select devlink
  2024-08-02 14:50 ` Simon Horman
@ 2024-08-02 15:01   ` Jakub Kicinski
  2024-08-02 15:31     ` Simon Horman
  0 siblings, 1 reply; 4+ messages in thread
From: Jakub Kicinski @ 2024-08-02 15:01 UTC (permalink / raw)
  To: Simon Horman
  Cc: davem, netdev, edumazet, pabeni, kernel test robot,
	alexanderduyck

On Fri, 2 Aug 2024 15:50:38 +0100 Simon Horman wrote:
> But while exercising this I noticed that PAGE_POOL is also needed,
> which I locally resolved by adding:

Oh, good catch. I'm a bit surprised how slow kbuild bot is :(
 
> 	select PAGE_POOL
> 
> I can provide a follow-up patch after this one is merged.
> Or perhaps you can address this in a v2?
> I have no preference either way.

Please send your version with both selects, I'll mark mine as superseded

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH net] eth: fbnic: select devlink
  2024-08-02 15:01   ` Jakub Kicinski
@ 2024-08-02 15:31     ` Simon Horman
  0 siblings, 0 replies; 4+ messages in thread
From: Simon Horman @ 2024-08-02 15:31 UTC (permalink / raw)
  To: Jakub Kicinski
  Cc: davem, netdev, edumazet, pabeni, kernel test robot,
	alexanderduyck

On Fri, Aug 02, 2024 at 08:01:48AM -0700, Jakub Kicinski wrote:
> On Fri, 2 Aug 2024 15:50:38 +0100 Simon Horman wrote:
> > But while exercising this I noticed that PAGE_POOL is also needed,
> > which I locally resolved by adding:
> 
> Oh, good catch. I'm a bit surprised how slow kbuild bot is :(
>  
> > 	select PAGE_POOL
> > 
> > I can provide a follow-up patch after this one is merged.
> > Or perhaps you can address this in a v2?
> > I have no preference either way.
> 
> Please send your version with both selects, I'll mark mine as superseded

Sure. I'll set myself as the author, to save negotiating about that,
and as it's only two lines.  Do feel free to update as you see fit.

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2024-08-02 15:31 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-08-02  1:59 [PATCH net] eth: fbnic: select devlink Jakub Kicinski
2024-08-02 14:50 ` Simon Horman
2024-08-02 15:01   ` Jakub Kicinski
2024-08-02 15:31     ` Simon Horman

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).