Skip to content

Commit fe3e948

Browse files
committed
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/[email protected] Signed-off-by: Jakub Kicinski <[email protected]>
2 parents 8ce2ddd + f1ac0b7 commit fe3e948

File tree

4 files changed

+8
-6
lines changed

4 files changed

+8
-6
lines changed

drivers/net/ethernet/mellanox/mlx5/core/en/tc_ct.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1145,7 +1145,7 @@ mlx5_tc_ct_entry_replace_rules(struct mlx5_tc_ct_priv *ct_priv,
11451145
struct mlx5_ct_entry *entry,
11461146
u8 zone_restore_id)
11471147
{
1148-
int err;
1148+
int err = 0;
11491149

11501150
if (mlx5_tc_ct_entry_in_ct_table(entry)) {
11511151
err = mlx5_tc_ct_entry_replace_rule(ct_priv, flow_rule, entry, false,

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

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -142,6 +142,8 @@ static const struct counter_desc sw_stats_desc[] = {
142142
{ MLX5E_DECLARE_STAT(struct mlx5e_sw_stats, rx_gro_bytes) },
143143
{ MLX5E_DECLARE_STAT(struct mlx5e_sw_stats, rx_gro_skbs) },
144144
{ 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) },
145147
{ MLX5E_DECLARE_STAT(struct mlx5e_sw_stats, rx_ecn_mark) },
146148
{ MLX5E_DECLARE_STAT(struct mlx5e_sw_stats, rx_removed_vlan_packets) },
147149
{ MLX5E_DECLARE_STAT(struct mlx5e_sw_stats, rx_csum_unnecessary) },

drivers/net/ethernet/mellanox/mlx5/core/steering/dr_types.h

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1379,6 +1379,11 @@ int mlx5dr_cmd_create_modify_header_arg(struct mlx5_core_dev *dev,
13791379
void mlx5dr_cmd_destroy_modify_header_arg(struct mlx5_core_dev *dev,
13801380
u32 obj_id);
13811381

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+
13821387
struct mlx5dr_icm_pool *mlx5dr_icm_pool_create(struct mlx5dr_domain *dmn,
13831388
enum mlx5dr_icm_type icm_type);
13841389
void mlx5dr_icm_pool_destroy(struct mlx5dr_icm_pool *pool);

drivers/net/ethernet/mellanox/mlx5/core/steering/mlx5dr.h

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -153,11 +153,6 @@ int mlx5dr_action_destroy(struct mlx5dr_action *action);
153153

154154
u32 mlx5dr_action_get_pkt_reformat_id(struct mlx5dr_action *action);
155155

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-
161156
static inline bool
162157
mlx5dr_is_supported(struct mlx5_core_dev *dev)
163158
{

0 commit comments

Comments
 (0)