All of lore.kernel.org
 help / color / mirror / Atom feed
From: Lukasz Majewski <lukma@denx.de>
To: Jakub Kicinski <kuba@kernel.org>
Cc: Andrew Lunn <andrew+netdev@lunn.ch>,
	davem@davemloft.net, Eric Dumazet <edumazet@google.com>,
	Paolo Abeni <pabeni@redhat.com>, Rob Herring <robh@kernel.org>,
	Krzysztof Kozlowski <krzk+dt@kernel.org>,
	Conor Dooley <conor+dt@kernel.org>,
	Shawn Guo <shawnguo@kernel.org>,
	Sascha Hauer <s.hauer@pengutronix.de>,
	Pengutronix Kernel Team <kernel@pengutronix.de>,
	Fabio Estevam <festevam@gmail.com>,
	Richard Cochran <richardcochran@gmail.com>,
	netdev@vger.kernel.org, devicetree@vger.kernel.org,
	linux-kernel@vger.kernel.org, imx@lists.linux.dev,
	linux-arm-kernel@lists.infradead.org,
	Stefan Wahren <wahrenst@gmx.net>, Simon Horman <horms@kernel.org>,
	Andrew Lunn <andrew@lunn.ch>
Subject: Re: [net-next v8 4/7] net: mtip: The L2 switch driver for imx287
Date: Tue, 29 Apr 2025 10:19:38 +0200	[thread overview]
Message-ID: <20250429101938.54790e51@wsk> (raw)
In-Reply-To: <20250428132932.273fc568@kernel.org>

[-- Attachment #1: Type: text/plain, Size: 2970 bytes --]

Hi Jakub,

> On Mon, 28 Apr 2025 09:44:21 +0200 Lukasz Majewski wrote:
> > This patch series provides support for More Than IP L2 switch
> > embedded in the imx287 SoC.
> > 
> > This is a two port switch (placed between uDMA[01] and MAC-NET[01]),
> > which can be used for offloading the network traffic.
> > 
> > It can be used interchangeably with current FEC driver - to be more
> > specific: one can use either of it, depending on the requirements.
> > 
> > The biggest difference is the usage of DMA - when FEC is used,
> > separate DMAs are available for each ENET-MAC block.
> > However, with switch enabled - only the DMA0 is used to
> > send/receive data to/form switch (and then switch sends them to
> > respecitive ports).
> > 
> > Signed-off-by: Lukasz Majewski <lukma@denx.de>
> > Reviewed-by: Stefan Wahren <wahrenst@gmx.net>
> > Reviewed-by: Andrew Lunn <andrew@lunn.ch>  
> 
> Linking fails with allmodconfig
> 
> ERROR: modpost: missing MODULE_LICENSE() in
> drivers/net/ethernet/freescale/mtipsw/mtipl2sw_mgnt.o WARNING:
> modpost: missing MODULE_DESCRIPTION() in
> drivers/net/ethernet/freescale/mtipsw/mtipl2sw_mgnt.o ERROR: modpost:
> missing MODULE_LICENSE() in
> drivers/net/ethernet/freescale/mtipsw/mtipl2sw_br.o WARNING: modpost:
> missing MODULE_DESCRIPTION() in
> drivers/net/ethernet/freescale/mtipsw/mtipl2sw_br.o ERROR: modpost:
> "mtip_forced_forward"
> [drivers/net/ethernet/freescale/mtipsw/mtipl2sw.ko] undefined! ERROR:
> modpost: "mtip_port_learning_config"
> [drivers/net/ethernet/freescale/mtipsw/mtipl2sw.ko] undefined! ERROR:
> modpost: "mtip_port_blocking_config"
> [drivers/net/ethernet/freescale/mtipsw/mtipl2sw.ko] undefined! ERROR:
> modpost: "mtip_port_enable_config"
> [drivers/net/ethernet/freescale/mtipsw/mtipl2sw.ko] undefined! ERROR:
> modpost: "mtip_port_broadcast_config"
> [drivers/net/ethernet/freescale/mtipsw/mtipl2sw.ko] undefined! ERROR:
> modpost: "mtip_port_multicast_config"
> [drivers/net/ethernet/freescale/mtipsw/mtipl2sw.ko] undefined! ERROR:
> modpost: "mtip_switch_en_port_separation"
> [drivers/net/ethernet/freescale/mtipsw/mtipl2sw.ko] undefined! ERROR:
> modpost: "mtip_register_notifiers"
> [drivers/net/ethernet/freescale/mtipsw/mtipl2sw.ko] undefined! ERROR:
> modpost: "mtip_unregister_notifiers"
> [drivers/net/ethernet/freescale/mtipsw/mtipl2sw.ko] undefined! ERROR:
> modpost: "mtip_is_switch_netdev_port"
> [drivers/net/ethernet/freescale/mtipsw/mtipl2sw_br.ko] undefined!
> WARNING: modpost: suppressed 3 unresolved symbol warnings because
> there were too many)

Yes, you are right.

I've adjusted makefile to build it properly as a module.

Thanks for spotting it.


Best regards,

Lukasz Majewski

--

DENX Software Engineering GmbH,      Managing Director: Erika Unter
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-59 Fax: (+49)-8142-66989-80 Email: lukma@denx.de

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 488 bytes --]

  reply	other threads:[~2025-04-29  8:19 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-04-28  7:44 [net-next v8 0/7] net: mtip: Add support for MTIP imx287 L2 switch driver Lukasz Majewski
2025-04-28  7:44 ` [net-next v8 1/7] dt-bindings: net: Add MTIP L2 switch description Lukasz Majewski
2025-04-28 12:20   ` Fabio Estevam
2025-04-28  7:44 ` [net-next v8 2/7] ARM: dts: nxp: mxs: Adjust the imx28.dtsi " Lukasz Majewski
2025-04-28  7:44 ` [net-next v8 3/7] ARM: dts: nxp: mxs: Adjust XEA board's DTS to support L2 switch Lukasz Majewski
2025-04-28  7:44 ` [net-next v8 4/7] net: mtip: The L2 switch driver for imx287 Lukasz Majewski
2025-04-28 20:29   ` Jakub Kicinski
2025-04-29  8:19     ` Lukasz Majewski [this message]
2025-04-28  7:44 ` [net-next v8 5/7] ARM: mxs_defconfig: Enable CONFIG_NFS_FSCACHE Lukasz Majewski
2025-04-28  7:44 ` [net-next v8 6/7] ARM: mxs_defconfig: Update mxs_defconfig to 6.15-rc1 Lukasz Majewski
2025-04-28  7:44 ` [net-next v8 7/7] ARM: mxs_defconfig: Enable CONFIG_FEC_MTIP_L2SW to support MTIP L2 switch Lukasz Majewski

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20250429101938.54790e51@wsk \
    --to=lukma@denx.de \
    --cc=andrew+netdev@lunn.ch \
    --cc=andrew@lunn.ch \
    --cc=conor+dt@kernel.org \
    --cc=davem@davemloft.net \
    --cc=devicetree@vger.kernel.org \
    --cc=edumazet@google.com \
    --cc=festevam@gmail.com \
    --cc=horms@kernel.org \
    --cc=imx@lists.linux.dev \
    --cc=kernel@pengutronix.de \
    --cc=krzk+dt@kernel.org \
    --cc=kuba@kernel.org \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=netdev@vger.kernel.org \
    --cc=pabeni@redhat.com \
    --cc=richardcochran@gmail.com \
    --cc=robh@kernel.org \
    --cc=s.hauer@pengutronix.de \
    --cc=shawnguo@kernel.org \
    --cc=wahrenst@gmx.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.