Skip to content

Commit c809cf6

Browse files
ayalevinSaeed Mahameed
authored andcommitted
net/mlx5e: Cleanup Flow Steering level
Flow Steering levels are used to determine the order between the tables. As of today, each one of these tables follows the TTC table, and hijacks its traffic, and cannot be combined together for now. Putting them in the same layer better reflects the situation. Signed-off-by: Aya Levin <[email protected]> Reviewed-by: Tariq Toukan <[email protected]> Signed-off-by: Saeed Mahameed <[email protected]>
1 parent b8fb109 commit c809cf6

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

drivers/net/ethernet/mellanox/mlx5/core/en/fs.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -138,10 +138,10 @@ enum {
138138
MLX5E_TTC_FT_LEVEL,
139139
MLX5E_INNER_TTC_FT_LEVEL,
140140
#ifdef CONFIG_MLX5_EN_TLS
141-
MLX5E_ACCEL_FS_TCP_FT_LEVEL,
141+
MLX5E_ACCEL_FS_TCP_FT_LEVEL = MLX5E_INNER_TTC_FT_LEVEL + 1,
142142
#endif
143143
#ifdef CONFIG_MLX5_EN_ARFS
144-
MLX5E_ARFS_FT_LEVEL,
144+
MLX5E_ARFS_FT_LEVEL = MLX5E_INNER_TTC_FT_LEVEL + 1,
145145
#endif
146146
#ifdef CONFIG_MLX5_EN_IPSEC
147147
MLX5E_ACCEL_FS_ESP_FT_LEVEL = MLX5E_INNER_TTC_FT_LEVEL + 1,

drivers/net/ethernet/mellanox/mlx5/core/fs_core.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@
105105
#define ETHTOOL_PRIO_NUM_LEVELS 1
106106
#define ETHTOOL_NUM_PRIOS 11
107107
#define ETHTOOL_MIN_LEVEL (KERNEL_MIN_LEVEL + ETHTOOL_NUM_PRIOS)
108-
/* Promiscuous, Vlan, mac, ttc, inner ttc, {aRFS/accel and esp/esp_err} */
108+
/* Promiscuous, Vlan, mac, ttc, inner ttc, {aRFS/accel/{esp, esp_err}} */
109109
#define KERNEL_NIC_PRIO_NUM_LEVELS 7
110110
#define KERNEL_NIC_NUM_PRIOS 1
111111
/* One more level for tc */

0 commit comments

Comments
 (0)