From: zuoqian <zuoqian113@gmail.com>
To: nicolas.ferre@microchip.com, claudiu.beznea@tuxon.dev,
andrew+netdev@lunn.ch, davem@davemloft.net, edumazet@google.com,
kuba@kernel.org, pabeni@redhat.com
Cc: netdev@vger.kernel.org, linux-kernel@vger.kernel.org,
zuoqian <zuoqian113@gmail.com>
Subject: [RFC] net: macb: enable IPv6 support for TSO
Date: Mon, 20 Oct 2025 09:55:08 +0000 [thread overview]
Message-ID: <20251020095509.2204-1-zuoqian113@gmail.com> (raw)
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
next reply other threads:[~2025-10-20 9:55 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-10-20 9:55 zuoqian [this message]
2025-10-20 19:01 ` [RFC] net: macb: enable IPv6 support for TSO Andrew Lunn
2025-10-21 3:11 ` Zuoqian
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=20251020095509.2204-1-zuoqian113@gmail.com \
--to=zuoqian113@gmail.com \
--cc=andrew+netdev@lunn.ch \
--cc=claudiu.beznea@tuxon.dev \
--cc=davem@davemloft.net \
--cc=edumazet@google.com \
--cc=kuba@kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=netdev@vger.kernel.org \
--cc=nicolas.ferre@microchip.com \
--cc=pabeni@redhat.com \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox