Commit 20bb4a81 authored by Tonghao Zhang's avatar Tonghao Zhang Committed by Saeed Mahameed

net/mlx5e: Deletes unnecessary setting of esw_attr->parse_attr

This patch deletes unnecessary setting of the esw_attr->parse_attr
to parse_attr in parse_tc_fdb_actions() because it is already done
by the mlx5e_flow_esw_attr_init() function.
Signed-off-by: default avatarTonghao Zhang <xiangxia.m.yue@gmail.com>
Reviewed-by: default avatarRoi Dayan <roid@mellanox.com>
Signed-off-by: default avatarSaeed Mahameed <saeedm@mellanox.com>
parent 6f9af8ff
...@@ -2632,7 +2632,6 @@ static int parse_tc_fdb_actions(struct mlx5e_priv *priv, ...@@ -2632,7 +2632,6 @@ static int parse_tc_fdb_actions(struct mlx5e_priv *priv,
out_dev->ifindex; out_dev->ifindex;
parse_attr->tun_info[attr->out_count] = *info; parse_attr->tun_info[attr->out_count] = *info;
encap = false; encap = false;
attr->parse_attr = parse_attr;
attr->dests[attr->out_count].flags |= attr->dests[attr->out_count].flags |=
MLX5_ESW_DEST_ENCAP; MLX5_ESW_DEST_ENCAP;
attr->out_count++; attr->out_count++;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment