Skip to contentSkip to conversation

net/mlx5: fix RSS expansion buffer size

PATCH In review Gregory Etelson 2 participants 2 messages Oct 20, 2022 – Oct 25, 2022 Network drivers

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 net/mlx5: fix RSS expansion buffer size

Increase expansion buffer size to accumulate more RSS types.

Fixes 3f02c7ff6815 ("net/mlx5: fix RSS expansion for inner tunnel VLAN")
---
 drivers/net/mlx5/mlx5_flow.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/net/mlx5/mlx5_flow.c +1 -1
index 06b465de7a..ec083676c9 100644
@@ -6819,7 +6819,7 @@ flow_list_create(struct rte_eth_dev *dev, enum mlx5_flow_type type,
 	int indir_actions_n = MLX5_MAX_INDIRECT_ACTIONS;
 	union {
 		struct mlx5_flow_expand_rss buf;
-		uint8_t buffer[4096];
+		uint8_t buffer[8192];
 	} expand_buffer;
 	union {
 		struct rte_flow_action actions[MLX5_MAX_SPLIT_ACTIONS];
Signature · 1 line
2.34.1
#1 lore raw

Hi,

Quoted 9 lines

-----Original Message-----
From: Gregory Etelson <[email protected]>
Sent: Thursday, October 20, 2022 12:59 PM
To: [email protected]
Cc: Gregory Etelson <[email protected]>; Matan Azrad <[email protected]>; Raslan Darawsheh <[email protected]>; Slava Ovsiienko <[email protected]>; Lior Margalit <[email protected]>
Subject: [PATCH] net/mlx5: fix RSS expansion buffer size

Quoted 6 lines

Increase expansion buffer size to accumulate more RSS types.

Fixes 3f02c7ff6815 ("net/mlx5: fix RSS expansion for inner tunnel VLAN")

Patch applied to next-net-mlx,

Kindest regards,
Raslan Darawsheh