Thread (3 messages) 3 messages, 3 authors, 2018-08-01

Re: [PATCH] net/mlx4: advertise jumbo frame support in Rx

From: Shahaf Shuler <hidden>
Date: 2018-08-01 12:51:59

Wednesday, August 1, 2018 1:15 PM, Matan Azrad:
Subject: Re: [dpdk-dev] [PATCH] net/mlx4: advertise jumbo frame support in
Rx

Hi Moti

From: Mordechay Haimovsky
quoted
This commit adds the missing Rx jumbo frame support advertisement in
Rx offload capabilities.

Signed-off-by: Moti Haimovsky <redacted>
---
 drivers/net/mlx4/mlx4_rxq.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/drivers/net/mlx4/mlx4_rxq.c b/drivers/net/mlx4/mlx4_rxq.c
index
e8bef1d..9737da2 100644
--- a/drivers/net/mlx4/mlx4_rxq.c
+++ b/drivers/net/mlx4/mlx4_rxq.c
@@ -679,7 +679,8 @@ struct mlx4_rss *
 {
 	uint64_t offloads = DEV_RX_OFFLOAD_SCATTER |
 			    DEV_RX_OFFLOAD_CRC_STRIP |
-			    DEV_RX_OFFLOAD_KEEP_CRC;
+			    DEV_RX_OFFLOAD_KEEP_CRC |
+			    DEV_RX_OFFLOAD_JUMBO_FRAME;

 	if (priv->hw_csum)
 		offloads |= DEV_RX_OFFLOAD_CHECKSUM;
--
This patch should be backported to the stable branch.

Shahaf, can you add cc stable in the integration?

Cc: stable@dpdk.org

Acked-by: Matan Azrad <redacted>
Applied to next-net-mlx with Cc'ing stable. Thanks. 
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help