* [RFC] net: macb: enable IPv6 support for TSO
@ 2025-10-20 9:55 zuoqian
2025-10-20 19:01 ` Andrew Lunn
0 siblings, 1 reply; 3+ messages in thread
From: zuoqian @ 2025-10-20 9:55 UTC (permalink / raw)
To: nicolas.ferre, claudiu.beznea, andrew+netdev, davem, edumazet,
kuba, pabeni
Cc: netdev, linux-kernel, zuoqian
New Cadence GEM hardware support TSO for both ipv4 and IPv6 protocols,
but the driver currently lacks the NETIF_F_TSO6 feature flag for IPv6 TSO.
Signed-off-by: zuoqian <zuoqian113@gmail.com>
---
drivers/net/ethernet/cadence/macb_main.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/net/ethernet/cadence/macb_main.c b/drivers/net/ethernet/cadence/macb_main.c
index 214f543af3b8..a154c9f3c325 100644
--- a/drivers/net/ethernet/cadence/macb_main.c
+++ b/drivers/net/ethernet/cadence/macb_main.c
@@ -78,7 +78,7 @@ struct sifive_fu540_macb_mgmt {
#define GEM_MAX_TX_LEN (unsigned int)(0x3FC0)
#define GEM_MTU_MIN_SIZE ETH_MIN_MTU
-#define MACB_NETIF_LSO NETIF_F_TSO
+#define MACB_NETIF_LSO (NETIF_F_TSO | NETIF_F_TSO6)
#define MACB_WOL_ENABLED BIT(0)
--
2.49.0
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [RFC] net: macb: enable IPv6 support for TSO
2025-10-20 9:55 [RFC] net: macb: enable IPv6 support for TSO zuoqian
@ 2025-10-20 19:01 ` Andrew Lunn
2025-10-21 3:11 ` Zuoqian
0 siblings, 1 reply; 3+ messages in thread
From: Andrew Lunn @ 2025-10-20 19:01 UTC (permalink / raw)
To: zuoqian
Cc: nicolas.ferre, claudiu.beznea, andrew+netdev, davem, edumazet,
kuba, pabeni, netdev, linux-kernel
On Mon, Oct 20, 2025 at 09:55:08AM +0000, zuoqian wrote:
> New Cadence GEM hardware support TSO for both ipv4 and IPv6 protocols,
What about the 'Old' Cadence GEM hardware? I'm assuming you mean
something by New here. So it would be good to make a comment something
like that IPv4 and IPv6 TSO was added at the same time. So if IPv4 TSO
is supported, IPv6 TSO should also be supported, so there is no danger
of regressions with older GEM hardware.
> Signed-off-by: zuoqian <zuoqian113@gmail.com>
This means you are agreeing to:
https://docs.kernel.org/process/submitting-patches.html#developer-s-certificate-of-origin-1-1
However, we say "using a known identity", since this is a legal
statement. I don't think zuoqian qualifies. Please you a full name
here.
Andrew
---
pw-bot: cr
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [RFC] net: macb: enable IPv6 support for TSO
2025-10-20 19:01 ` Andrew Lunn
@ 2025-10-21 3:11 ` Zuoqian
0 siblings, 0 replies; 3+ messages in thread
From: Zuoqian @ 2025-10-21 3:11 UTC (permalink / raw)
To: Andrew Lunn
Cc: nicolas.ferre, claudiu.beznea, andrew+netdev, davem, edumazet,
kuba, pabeni, netdev, linux-kernel
On Mon, Oct 20, 2025 at 09:01:13PM +0200, Andrew Lunn wrote:
> On Mon, Oct 20, 2025 at 09:55:08AM +0000, zuoqian wrote:
> > New Cadence GEM hardware support TSO for both ipv4 and IPv6 protocols,
>
> What about the 'Old' Cadence GEM hardware? I'm assuming you mean
> something by New here. So it would be good to make a comment something
> like that IPv4 and IPv6 TSO was added at the same time. So if IPv4 TSO
> is supported, IPv6 TSO should also be supported, so there is no danger
> of regressions with older GEM hardware.
>
Thank you for your suggestion.
The Cadence GEM hardware I'm using supports both IPv4 and IPv6 TSO.
However, I'm uncertain whether the driver's initial support only for
IPv4 TSO implies that older hardware versions exist which solely support
IPv4 TSO.
> > Signed-off-by: zuoqian <zuoqian113@gmail.com>
>
> This means you are agreeing to:
>
> https://docs.kernel.org/process/submitting-patches.html#developer-s-certificate-of-origin-1-1
>
> However, we say "using a known identity", since this is a legal
> statement. I don't think zuoqian qualifies. Please you a full name
> here.
>
> Andrew
>
> ---
> pw-bot: cr
Regarding the identity verification, "zuoqian" is indeed my legal full
name.
Regards,
Zuoqian
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2025-10-21 3:11 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-10-20 9:55 [RFC] net: macb: enable IPv6 support for TSO zuoqian
2025-10-20 19:01 ` Andrew Lunn
2025-10-21 3:11 ` Zuoqian
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).