netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [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

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).