netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH net-next 0/4] Increase maximum MTU to 9k for Airoha EN7581 SoC
@ 2025-03-04 14:21 Lorenzo Bianconi
  2025-03-04 14:21 ` [PATCH net-next 1/4] net: airoha: Move min/max packet len configuration in airoha_dev_open() Lorenzo Bianconi
                   ` (4 more replies)
  0 siblings, 5 replies; 10+ messages in thread
From: Lorenzo Bianconi @ 2025-03-04 14:21 UTC (permalink / raw)
  To: Andrew Lunn, David S. Miller, Eric Dumazet, Jakub Kicinski,
	Paolo Abeni
  Cc: netdev, Lorenzo Bianconi

EN7581 SoC supports 9k maximum MTU.
Enable the reception of Scatter-Gather (SG) frames for Airoha EN7581.
Introduce airoha_dev_change_mtu callback.

---
Lorenzo Bianconi (4):
      net: airoha: Move min/max packet len configuration in airoha_dev_open()
      net: airoha: Enable Rx Scatter-Gather
      net: airoha: Introduce airoha_dev_change_mtu callback
      net: airoha: Increase max mtu to 9k

 drivers/net/ethernet/airoha/airoha_eth.c  | 97 ++++++++++++++++++++-----------
 drivers/net/ethernet/airoha/airoha_eth.h  |  3 +-
 drivers/net/ethernet/airoha/airoha_regs.h |  5 ++
 3 files changed, 71 insertions(+), 34 deletions(-)
---
base-commit: 188fa9b9e20a2579ed8f4088969158fb55059fa0
change-id: 20250304-airoha-eth-rx-sg-ac163d50b731

Best regards,
-- 
Lorenzo Bianconi <lorenzo@kernel.org>


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

* [PATCH net-next 1/4] net: airoha: Move min/max packet len configuration in airoha_dev_open()
  2025-03-04 14:21 [PATCH net-next 0/4] Increase maximum MTU to 9k for Airoha EN7581 SoC Lorenzo Bianconi
@ 2025-03-04 14:21 ` Lorenzo Bianconi
  2025-03-06 10:46   ` Simon Horman
  2025-03-04 14:21 ` [PATCH net-next 2/4] net: airoha: Enable Rx Scatter-Gather Lorenzo Bianconi
                   ` (3 subsequent siblings)
  4 siblings, 1 reply; 10+ messages in thread
From: Lorenzo Bianconi @ 2025-03-04 14:21 UTC (permalink / raw)
  To: Andrew Lunn, David S. Miller, Eric Dumazet, Jakub Kicinski,
	Paolo Abeni
  Cc: netdev, Lorenzo Bianconi

In order to align max allowed packet size to the configured mtu, move
REG_GDM_LEN_CFG configuration in airoha_dev_open routine.

Signed-off-by: Lorenzo Bianconi <lorenzo@kernel.org>
---
 drivers/net/ethernet/airoha/airoha_eth.c | 14 +++++++-------
 1 file changed, 7 insertions(+), 7 deletions(-)

diff --git a/drivers/net/ethernet/airoha/airoha_eth.c b/drivers/net/ethernet/airoha/airoha_eth.c
index ff837168845d6cacf97708b8b9462829162407bd..a9ed3fc2b5195f6b1868e65e1b8c0e5ef99e920f 100644
--- a/drivers/net/ethernet/airoha/airoha_eth.c
+++ b/drivers/net/ethernet/airoha/airoha_eth.c
@@ -138,15 +138,10 @@ static void airoha_fe_maccr_init(struct airoha_eth *eth)
 {
 	int p;
 
-	for (p = 1; p <= ARRAY_SIZE(eth->ports); p++) {
+	for (p = 1; p <= ARRAY_SIZE(eth->ports); p++)
 		airoha_fe_set(eth, REG_GDM_FWD_CFG(p),
 			      GDM_TCP_CKSUM | GDM_UDP_CKSUM | GDM_IP4_CKSUM |
 			      GDM_DROP_CRC_ERR);
-		airoha_fe_rmw(eth, REG_GDM_LEN_CFG(p),
-			      GDM_SHORT_LEN_MASK | GDM_LONG_LEN_MASK,
-			      FIELD_PREP(GDM_SHORT_LEN_MASK, 60) |
-			      FIELD_PREP(GDM_LONG_LEN_MASK, 4004));
-	}
 
 	airoha_fe_rmw(eth, REG_CDM1_VLAN_CTRL, CDM1_VLAN_MASK,
 		      FIELD_PREP(CDM1_VLAN_MASK, 0x8100));
@@ -1520,9 +1515,9 @@ static void airoha_update_hw_stats(struct airoha_gdm_port *port)
 
 static int airoha_dev_open(struct net_device *dev)
 {
+	int err, len = ETH_HLEN + dev->mtu + ETH_FCS_LEN;
 	struct airoha_gdm_port *port = netdev_priv(dev);
 	struct airoha_qdma *qdma = port->qdma;
-	int err;
 
 	netif_tx_start_all_queues(dev);
 	err = airoha_set_vip_for_gdm_port(port, true);
@@ -1536,6 +1531,11 @@ static int airoha_dev_open(struct net_device *dev)
 		airoha_fe_clear(qdma->eth, REG_GDM_INGRESS_CFG(port->id),
 				GDM_STAG_EN_MASK);
 
+	airoha_fe_rmw(qdma->eth, REG_GDM_LEN_CFG(port->id),
+		      GDM_SHORT_LEN_MASK | GDM_LONG_LEN_MASK,
+		      FIELD_PREP(GDM_SHORT_LEN_MASK, 60) |
+		      FIELD_PREP(GDM_LONG_LEN_MASK, len));
+
 	airoha_qdma_set(qdma, REG_QDMA_GLOBAL_CFG,
 			GLOBAL_CFG_TX_DMA_EN_MASK |
 			GLOBAL_CFG_RX_DMA_EN_MASK);

-- 
2.48.1


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

* [PATCH net-next 2/4] net: airoha: Enable Rx Scatter-Gather
  2025-03-04 14:21 [PATCH net-next 0/4] Increase maximum MTU to 9k for Airoha EN7581 SoC Lorenzo Bianconi
  2025-03-04 14:21 ` [PATCH net-next 1/4] net: airoha: Move min/max packet len configuration in airoha_dev_open() Lorenzo Bianconi
@ 2025-03-04 14:21 ` Lorenzo Bianconi
  2025-03-06 10:47   ` Simon Horman
  2025-03-04 14:21 ` [PATCH net-next 3/4] net: airoha: Introduce airoha_dev_change_mtu callback Lorenzo Bianconi
                   ` (2 subsequent siblings)
  4 siblings, 1 reply; 10+ messages in thread
From: Lorenzo Bianconi @ 2025-03-04 14:21 UTC (permalink / raw)
  To: Andrew Lunn, David S. Miller, Eric Dumazet, Jakub Kicinski,
	Paolo Abeni
  Cc: netdev, Lorenzo Bianconi

EN7581 SoC can receive 9k frames. Enable the reception of Scatter-Gather
(SG) frames.

Signed-off-by: Lorenzo Bianconi <lorenzo@kernel.org>
---
 drivers/net/ethernet/airoha/airoha_eth.c  | 68 +++++++++++++++++++------------
 drivers/net/ethernet/airoha/airoha_eth.h  |  1 +
 drivers/net/ethernet/airoha/airoha_regs.h |  5 +++
 3 files changed, 48 insertions(+), 26 deletions(-)

diff --git a/drivers/net/ethernet/airoha/airoha_eth.c b/drivers/net/ethernet/airoha/airoha_eth.c
index a9ed3fc2b5195f6b1868e65e1b8c0e5ef99e920f..54a239ab10aaac4a7bfc52977589415936207962 100644
--- a/drivers/net/ethernet/airoha/airoha_eth.c
+++ b/drivers/net/ethernet/airoha/airoha_eth.c
@@ -615,10 +615,10 @@ static int airoha_qdma_rx_process(struct airoha_queue *q, int budget)
 		struct airoha_qdma_desc *desc = &q->desc[q->tail];
 		u32 hash, reason, msg1 = le32_to_cpu(desc->msg1);
 		dma_addr_t dma_addr = le32_to_cpu(desc->addr);
+		struct page *page = virt_to_head_page(e->buf);
 		u32 desc_ctrl = le32_to_cpu(desc->ctrl);
 		struct airoha_gdm_port *port;
-		struct sk_buff *skb;
-		int len, p;
+		int data_len, len, p;
 
 		if (!(desc_ctrl & QDMA_DESC_DONE_MASK))
 			break;
@@ -636,30 +636,41 @@ static int airoha_qdma_rx_process(struct airoha_queue *q, int budget)
 		dma_sync_single_for_cpu(eth->dev, dma_addr,
 					SKB_WITH_OVERHEAD(q->buf_size), dir);
 
+		data_len = q->skb ? q->buf_size
+				  : SKB_WITH_OVERHEAD(q->buf_size);
+		if (data_len < len)
+			goto free_frag;
+
 		p = airoha_qdma_get_gdm_port(eth, desc);
-		if (p < 0 || !eth->ports[p]) {
-			page_pool_put_full_page(q->page_pool,
-						virt_to_head_page(e->buf),
-						true);
-			continue;
-		}
+		if (p < 0 || !eth->ports[p])
+			goto free_frag;
 
 		port = eth->ports[p];
-		skb = napi_build_skb(e->buf, q->buf_size);
-		if (!skb) {
-			page_pool_put_full_page(q->page_pool,
-						virt_to_head_page(e->buf),
-						true);
-			break;
+		if (!q->skb) { /* first buffer */
+			q->skb = napi_build_skb(e->buf, q->buf_size);
+			if (!q->skb)
+				goto free_frag;
+
+			__skb_put(q->skb, len);
+			skb_mark_for_recycle(q->skb);
+			q->skb->dev = port->dev;
+			q->skb->protocol = eth_type_trans(q->skb, port->dev);
+			q->skb->ip_summed = CHECKSUM_UNNECESSARY;
+			skb_record_rx_queue(q->skb, qid);
+		} else { /* scattered frame */
+			struct skb_shared_info *shinfo = skb_shinfo(q->skb);
+			int nr_frags = shinfo->nr_frags;
+
+			if (nr_frags >= ARRAY_SIZE(shinfo->frags))
+				goto free_frag;
+
+			skb_add_rx_frag(q->skb, nr_frags, page,
+					e->buf - page_address(page), len,
+					q->buf_size);
 		}
 
-		skb_reserve(skb, 2);
-		__skb_put(skb, len);
-		skb_mark_for_recycle(skb);
-		skb->dev = port->dev;
-		skb->protocol = eth_type_trans(skb, skb->dev);
-		skb->ip_summed = CHECKSUM_UNNECESSARY;
-		skb_record_rx_queue(skb, qid);
+		if (FIELD_GET(QDMA_DESC_MORE_MASK, desc_ctrl))
+			continue;
 
 		if (netdev_uses_dsa(port->dev)) {
 			/* PPE module requires untagged packets to work
@@ -672,22 +683,27 @@ static int airoha_qdma_rx_process(struct airoha_queue *q, int budget)
 
 			if (sptag < ARRAY_SIZE(port->dsa_meta) &&
 			    port->dsa_meta[sptag])
-				skb_dst_set_noref(skb,
+				skb_dst_set_noref(q->skb,
 						  &port->dsa_meta[sptag]->dst);
 		}
 
 		hash = FIELD_GET(AIROHA_RXD4_FOE_ENTRY, msg1);
 		if (hash != AIROHA_RXD4_FOE_ENTRY)
-			skb_set_hash(skb, jhash_1word(hash, 0),
+			skb_set_hash(q->skb, jhash_1word(hash, 0),
 				     PKT_HASH_TYPE_L4);
 
 		reason = FIELD_GET(AIROHA_RXD4_PPE_CPU_REASON, msg1);
 		if (reason == PPE_CPU_REASON_HIT_UNBIND_RATE_REACHED)
 			airoha_ppe_check_skb(eth->ppe, hash);
 
-		napi_gro_receive(&q->napi, skb);
-
 		done++;
+		napi_gro_receive(&q->napi, q->skb);
+		q->skb = NULL;
+		continue;
+free_frag:
+		page_pool_put_full_page(q->page_pool, page, true);
+		dev_kfree_skb(q->skb);
+		q->skb = NULL;
 	}
 	airoha_qdma_fill_rx_queue(q);
 
@@ -762,6 +778,7 @@ static int airoha_qdma_init_rx_queue(struct airoha_queue *q,
 			FIELD_PREP(RX_RING_THR_MASK, thr));
 	airoha_qdma_rmw(qdma, REG_RX_DMA_IDX(qid), RX_RING_DMA_IDX_MASK,
 			FIELD_PREP(RX_RING_DMA_IDX_MASK, q->head));
+	airoha_qdma_set(qdma, REG_RX_SCATTER_CFG(qid), RX_RING_SG_EN_MASK);
 
 	airoha_qdma_fill_rx_queue(q);
 
@@ -1161,7 +1178,6 @@ static int airoha_qdma_hw_init(struct airoha_qdma *qdma)
 	}
 
 	airoha_qdma_wr(qdma, REG_QDMA_GLOBAL_CFG,
-		       GLOBAL_CFG_RX_2B_OFFSET_MASK |
 		       FIELD_PREP(GLOBAL_CFG_DMA_PREFERENCE_MASK, 3) |
 		       GLOBAL_CFG_CPU_TXR_RR_MASK |
 		       GLOBAL_CFG_PAYLOAD_BYTE_SWAP_MASK |
diff --git a/drivers/net/ethernet/airoha/airoha_eth.h b/drivers/net/ethernet/airoha/airoha_eth.h
index b7a3bd7a76b7be3125a2f244582e5bceab48bd47..dca96f1df67ee971e5442b0acfac211554accc89 100644
--- a/drivers/net/ethernet/airoha/airoha_eth.h
+++ b/drivers/net/ethernet/airoha/airoha_eth.h
@@ -176,6 +176,7 @@ struct airoha_queue {
 
 	struct napi_struct napi;
 	struct page_pool *page_pool;
+	struct sk_buff *skb;
 };
 
 struct airoha_tx_irq_queue {
diff --git a/drivers/net/ethernet/airoha/airoha_regs.h b/drivers/net/ethernet/airoha/airoha_regs.h
index 1aa06cdffe2320375e8710d58f2bbb056a330dfd..8146cde4e8ba370e79b9b1bd87bb66a2caf7649a 100644
--- a/drivers/net/ethernet/airoha/airoha_regs.h
+++ b/drivers/net/ethernet/airoha/airoha_regs.h
@@ -626,10 +626,15 @@
 #define REG_RX_DELAY_INT_IDX(_n)	\
 	(((_n) < 16) ? 0x0210 + ((_n) << 5) : 0x0e10 + (((_n) - 16) << 5))
 
+#define REG_RX_SCATTER_CFG(_n)	\
+	(((_n) < 16) ? 0x0214 + ((_n) << 5) : 0x0e14 + (((_n) - 16) << 5))
+
 #define RX_DELAY_INT_MASK		GENMASK(15, 0)
 
 #define RX_RING_DMA_IDX_MASK		GENMASK(15, 0)
 
+#define RX_RING_SG_EN_MASK		BIT(0)
+
 #define REG_INGRESS_TRTCM_CFG		0x0070
 #define INGRESS_TRTCM_EN_MASK		BIT(31)
 #define INGRESS_TRTCM_MODE_MASK		BIT(30)

-- 
2.48.1


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

* [PATCH net-next 3/4] net: airoha: Introduce airoha_dev_change_mtu callback
  2025-03-04 14:21 [PATCH net-next 0/4] Increase maximum MTU to 9k for Airoha EN7581 SoC Lorenzo Bianconi
  2025-03-04 14:21 ` [PATCH net-next 1/4] net: airoha: Move min/max packet len configuration in airoha_dev_open() Lorenzo Bianconi
  2025-03-04 14:21 ` [PATCH net-next 2/4] net: airoha: Enable Rx Scatter-Gather Lorenzo Bianconi
@ 2025-03-04 14:21 ` Lorenzo Bianconi
  2025-03-06 10:47   ` Simon Horman
  2025-03-04 14:21 ` [PATCH net-next 4/4] net: airoha: Increase max mtu to 9k Lorenzo Bianconi
  2025-03-07  0:50 ` [PATCH net-next 0/4] Increase maximum MTU to 9k for Airoha EN7581 SoC patchwork-bot+netdevbpf
  4 siblings, 1 reply; 10+ messages in thread
From: Lorenzo Bianconi @ 2025-03-04 14:21 UTC (permalink / raw)
  To: Andrew Lunn, David S. Miller, Eric Dumazet, Jakub Kicinski,
	Paolo Abeni
  Cc: netdev, Lorenzo Bianconi

Add airoha_dev_change_mtu callback to update the MTU of a running
device.

Signed-off-by: Lorenzo Bianconi <lorenzo@kernel.org>
---
 drivers/net/ethernet/airoha/airoha_eth.c | 15 +++++++++++++++
 1 file changed, 15 insertions(+)

diff --git a/drivers/net/ethernet/airoha/airoha_eth.c b/drivers/net/ethernet/airoha/airoha_eth.c
index 54a239ab10aaac4a7bfc52977589415936207962..f3a61879e284a7ea12d0ebde2b993f2247cd35d9 100644
--- a/drivers/net/ethernet/airoha/airoha_eth.c
+++ b/drivers/net/ethernet/airoha/airoha_eth.c
@@ -1705,6 +1705,20 @@ static void airoha_dev_get_stats64(struct net_device *dev,
 	} while (u64_stats_fetch_retry(&port->stats.syncp, start));
 }
 
+static int airoha_dev_change_mtu(struct net_device *dev, int mtu)
+{
+	struct airoha_gdm_port *port = netdev_priv(dev);
+	struct airoha_eth *eth = port->qdma->eth;
+	u32 len = ETH_HLEN + mtu + ETH_FCS_LEN;
+
+	airoha_fe_rmw(eth, REG_GDM_LEN_CFG(port->id),
+		      GDM_LONG_LEN_MASK,
+		      FIELD_PREP(GDM_LONG_LEN_MASK, len));
+	WRITE_ONCE(dev->mtu, mtu);
+
+	return 0;
+}
+
 static u16 airoha_dev_select_queue(struct net_device *dev, struct sk_buff *skb,
 				   struct net_device *sb_dev)
 {
@@ -2400,6 +2414,7 @@ static const struct net_device_ops airoha_netdev_ops = {
 	.ndo_init		= airoha_dev_init,
 	.ndo_open		= airoha_dev_open,
 	.ndo_stop		= airoha_dev_stop,
+	.ndo_change_mtu		= airoha_dev_change_mtu,
 	.ndo_select_queue	= airoha_dev_select_queue,
 	.ndo_start_xmit		= airoha_dev_xmit,
 	.ndo_get_stats64        = airoha_dev_get_stats64,

-- 
2.48.1


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

* [PATCH net-next 4/4] net: airoha: Increase max mtu to 9k
  2025-03-04 14:21 [PATCH net-next 0/4] Increase maximum MTU to 9k for Airoha EN7581 SoC Lorenzo Bianconi
                   ` (2 preceding siblings ...)
  2025-03-04 14:21 ` [PATCH net-next 3/4] net: airoha: Introduce airoha_dev_change_mtu callback Lorenzo Bianconi
@ 2025-03-04 14:21 ` Lorenzo Bianconi
  2025-03-06 10:47   ` Simon Horman
  2025-03-07  0:50 ` [PATCH net-next 0/4] Increase maximum MTU to 9k for Airoha EN7581 SoC patchwork-bot+netdevbpf
  4 siblings, 1 reply; 10+ messages in thread
From: Lorenzo Bianconi @ 2025-03-04 14:21 UTC (permalink / raw)
  To: Andrew Lunn, David S. Miller, Eric Dumazet, Jakub Kicinski,
	Paolo Abeni
  Cc: netdev, Lorenzo Bianconi

EN7581 SoC supports 9k maximum MTU.

Signed-off-by: Lorenzo Bianconi <lorenzo@kernel.org>
---
 drivers/net/ethernet/airoha/airoha_eth.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/net/ethernet/airoha/airoha_eth.h b/drivers/net/ethernet/airoha/airoha_eth.h
index dca96f1df67ee971e5442b0acfac211554accc89..f66b9b736b9447b31afc036eb906d0a1c617e132 100644
--- a/drivers/net/ethernet/airoha/airoha_eth.h
+++ b/drivers/net/ethernet/airoha/airoha_eth.h
@@ -20,7 +20,7 @@
 #define AIROHA_MAX_DSA_PORTS		7
 #define AIROHA_MAX_NUM_RSTS		3
 #define AIROHA_MAX_NUM_XSI_RSTS		5
-#define AIROHA_MAX_MTU			2000
+#define AIROHA_MAX_MTU			9216
 #define AIROHA_MAX_PACKET_SIZE		2048
 #define AIROHA_NUM_QOS_CHANNELS		4
 #define AIROHA_NUM_QOS_QUEUES		8

-- 
2.48.1


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

* Re: [PATCH net-next 1/4] net: airoha: Move min/max packet len configuration in airoha_dev_open()
  2025-03-04 14:21 ` [PATCH net-next 1/4] net: airoha: Move min/max packet len configuration in airoha_dev_open() Lorenzo Bianconi
@ 2025-03-06 10:46   ` Simon Horman
  0 siblings, 0 replies; 10+ messages in thread
From: Simon Horman @ 2025-03-06 10:46 UTC (permalink / raw)
  To: Lorenzo Bianconi
  Cc: Andrew Lunn, David S. Miller, Eric Dumazet, Jakub Kicinski,
	Paolo Abeni, netdev

On Tue, Mar 04, 2025 at 03:21:08PM +0100, Lorenzo Bianconi wrote:
> In order to align max allowed packet size to the configured mtu, move
> REG_GDM_LEN_CFG configuration in airoha_dev_open routine.
> 
> Signed-off-by: Lorenzo Bianconi <lorenzo@kernel.org>

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


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

* Re: [PATCH net-next 2/4] net: airoha: Enable Rx Scatter-Gather
  2025-03-04 14:21 ` [PATCH net-next 2/4] net: airoha: Enable Rx Scatter-Gather Lorenzo Bianconi
@ 2025-03-06 10:47   ` Simon Horman
  0 siblings, 0 replies; 10+ messages in thread
From: Simon Horman @ 2025-03-06 10:47 UTC (permalink / raw)
  To: Lorenzo Bianconi
  Cc: Andrew Lunn, David S. Miller, Eric Dumazet, Jakub Kicinski,
	Paolo Abeni, netdev

On Tue, Mar 04, 2025 at 03:21:09PM +0100, Lorenzo Bianconi wrote:
> EN7581 SoC can receive 9k frames. Enable the reception of Scatter-Gather
> (SG) frames.
> 
> Signed-off-by: Lorenzo Bianconi <lorenzo@kernel.org>

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


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

* Re: [PATCH net-next 3/4] net: airoha: Introduce airoha_dev_change_mtu callback
  2025-03-04 14:21 ` [PATCH net-next 3/4] net: airoha: Introduce airoha_dev_change_mtu callback Lorenzo Bianconi
@ 2025-03-06 10:47   ` Simon Horman
  0 siblings, 0 replies; 10+ messages in thread
From: Simon Horman @ 2025-03-06 10:47 UTC (permalink / raw)
  To: Lorenzo Bianconi
  Cc: Andrew Lunn, David S. Miller, Eric Dumazet, Jakub Kicinski,
	Paolo Abeni, netdev

On Tue, Mar 04, 2025 at 03:21:10PM +0100, Lorenzo Bianconi wrote:
> Add airoha_dev_change_mtu callback to update the MTU of a running
> device.
> 
> Signed-off-by: Lorenzo Bianconi <lorenzo@kernel.org>

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


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

* Re: [PATCH net-next 4/4] net: airoha: Increase max mtu to 9k
  2025-03-04 14:21 ` [PATCH net-next 4/4] net: airoha: Increase max mtu to 9k Lorenzo Bianconi
@ 2025-03-06 10:47   ` Simon Horman
  0 siblings, 0 replies; 10+ messages in thread
From: Simon Horman @ 2025-03-06 10:47 UTC (permalink / raw)
  To: Lorenzo Bianconi
  Cc: Andrew Lunn, David S. Miller, Eric Dumazet, Jakub Kicinski,
	Paolo Abeni, netdev

On Tue, Mar 04, 2025 at 03:21:11PM +0100, Lorenzo Bianconi wrote:
> EN7581 SoC supports 9k maximum MTU.
> 
> Signed-off-by: Lorenzo Bianconi <lorenzo@kernel.org>

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


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

* Re: [PATCH net-next 0/4] Increase maximum MTU to 9k for Airoha EN7581 SoC
  2025-03-04 14:21 [PATCH net-next 0/4] Increase maximum MTU to 9k for Airoha EN7581 SoC Lorenzo Bianconi
                   ` (3 preceding siblings ...)
  2025-03-04 14:21 ` [PATCH net-next 4/4] net: airoha: Increase max mtu to 9k Lorenzo Bianconi
@ 2025-03-07  0:50 ` patchwork-bot+netdevbpf
  4 siblings, 0 replies; 10+ messages in thread
From: patchwork-bot+netdevbpf @ 2025-03-07  0:50 UTC (permalink / raw)
  To: Lorenzo Bianconi; +Cc: andrew+netdev, davem, edumazet, kuba, pabeni, netdev

Hello:

This series was applied to netdev/net-next.git (main)
by Jakub Kicinski <kuba@kernel.org>:

On Tue, 04 Mar 2025 15:21:07 +0100 you wrote:
> EN7581 SoC supports 9k maximum MTU.
> Enable the reception of Scatter-Gather (SG) frames for Airoha EN7581.
> Introduce airoha_dev_change_mtu callback.
> 
> ---
> Lorenzo Bianconi (4):
>       net: airoha: Move min/max packet len configuration in airoha_dev_open()
>       net: airoha: Enable Rx Scatter-Gather
>       net: airoha: Introduce airoha_dev_change_mtu callback
>       net: airoha: Increase max mtu to 9k
> 
> [...]

Here is the summary with links:
  - [net-next,1/4] net: airoha: Move min/max packet len configuration in airoha_dev_open()
    https://git.kernel.org/netdev/net-next/c/54d989d58d2a
  - [net-next,2/4] net: airoha: Enable Rx Scatter-Gather
    https://git.kernel.org/netdev/net-next/c/e12182ddb6e7
  - [net-next,3/4] net: airoha: Introduce airoha_dev_change_mtu callback
    https://git.kernel.org/netdev/net-next/c/03b1b69f0662
  - [net-next,4/4] net: airoha: Increase max mtu to 9k
    https://git.kernel.org/netdev/net-next/c/168ef0c1dee8

You are awesome, thank you!
-- 
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html



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

end of thread, other threads:[~2025-03-07  0:50 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-03-04 14:21 [PATCH net-next 0/4] Increase maximum MTU to 9k for Airoha EN7581 SoC Lorenzo Bianconi
2025-03-04 14:21 ` [PATCH net-next 1/4] net: airoha: Move min/max packet len configuration in airoha_dev_open() Lorenzo Bianconi
2025-03-06 10:46   ` Simon Horman
2025-03-04 14:21 ` [PATCH net-next 2/4] net: airoha: Enable Rx Scatter-Gather Lorenzo Bianconi
2025-03-06 10:47   ` Simon Horman
2025-03-04 14:21 ` [PATCH net-next 3/4] net: airoha: Introduce airoha_dev_change_mtu callback Lorenzo Bianconi
2025-03-06 10:47   ` Simon Horman
2025-03-04 14:21 ` [PATCH net-next 4/4] net: airoha: Increase max mtu to 9k Lorenzo Bianconi
2025-03-06 10:47   ` Simon Horman
2025-03-07  0:50 ` [PATCH net-next 0/4] Increase maximum MTU to 9k for Airoha EN7581 SoC patchwork-bot+netdevbpf

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