Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

Merge branch 'mlx5-misc-patches-2023-07-08'

Tariq Toukan says:

====================
mlx5 misc patches 2023-07-08

This patchset contains features and small enhancements from the team
to the mlx5 core and Eth drivers.
====================

Link: https://patch.msgid.link/20240708080025.1593555-1-tariqt@nvidia.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>

+8 -6
+1 -1
drivers/net/ethernet/mellanox/mlx5/core/en/tc_ct.c
··· 1145 1145 struct mlx5_ct_entry *entry, 1146 1146 u8 zone_restore_id) 1147 1147 { 1148 - int err; 1148 + int err = 0; 1149 1149 1150 1150 if (mlx5_tc_ct_entry_in_ct_table(entry)) { 1151 1151 err = mlx5_tc_ct_entry_replace_rule(ct_priv, flow_rule, entry, false,
+2
drivers/net/ethernet/mellanox/mlx5/core/en_stats.c
··· 142 142 { MLX5E_DECLARE_STAT(struct mlx5e_sw_stats, rx_gro_bytes) }, 143 143 { MLX5E_DECLARE_STAT(struct mlx5e_sw_stats, rx_gro_skbs) }, 144 144 { MLX5E_DECLARE_STAT(struct mlx5e_sw_stats, rx_gro_large_hds) }, 145 + { MLX5E_DECLARE_STAT(struct mlx5e_sw_stats, rx_hds_nodata_packets) }, 146 + { MLX5E_DECLARE_STAT(struct mlx5e_sw_stats, rx_hds_nodata_bytes) }, 145 147 { MLX5E_DECLARE_STAT(struct mlx5e_sw_stats, rx_ecn_mark) }, 146 148 { MLX5E_DECLARE_STAT(struct mlx5e_sw_stats, rx_removed_vlan_packets) }, 147 149 { MLX5E_DECLARE_STAT(struct mlx5e_sw_stats, rx_csum_unnecessary) },
+5
drivers/net/ethernet/mellanox/mlx5/core/steering/dr_types.h
··· 1379 1379 void mlx5dr_cmd_destroy_modify_header_arg(struct mlx5_core_dev *dev, 1380 1380 u32 obj_id); 1381 1381 1382 + int mlx5dr_definer_get(struct mlx5dr_domain *dmn, u16 format_id, 1383 + u8 *dw_selectors, u8 *byte_selectors, 1384 + u8 *match_mask, u32 *definer_id); 1385 + void mlx5dr_definer_put(struct mlx5dr_domain *dmn, u32 definer_id); 1386 + 1382 1387 struct mlx5dr_icm_pool *mlx5dr_icm_pool_create(struct mlx5dr_domain *dmn, 1383 1388 enum mlx5dr_icm_type icm_type); 1384 1389 void mlx5dr_icm_pool_destroy(struct mlx5dr_icm_pool *pool);
-5
drivers/net/ethernet/mellanox/mlx5/core/steering/mlx5dr.h
··· 153 153 154 154 u32 mlx5dr_action_get_pkt_reformat_id(struct mlx5dr_action *action); 155 155 156 - int mlx5dr_definer_get(struct mlx5dr_domain *dmn, u16 format_id, 157 - u8 *dw_selectors, u8 *byte_selectors, 158 - u8 *match_mask, u32 *definer_id); 159 - void mlx5dr_definer_put(struct mlx5dr_domain *dmn, u32 definer_id); 160 - 161 156 static inline bool 162 157 mlx5dr_is_supported(struct mlx5_core_dev *dev) 163 158 {