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: Tonghao Zhang <xiangxia.m.yue@gmail.com> Reviewed-by: Roi Dayan <roid@mellanox.com> Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
This commit is contained in:
parent
6f9af8ff11
commit
20bb4a813e
@ -2632,7 +2632,6 @@ static int parse_tc_fdb_actions(struct mlx5e_priv *priv,
|
||||
out_dev->ifindex;
|
||||
parse_attr->tun_info[attr->out_count] = *info;
|
||||
encap = false;
|
||||
attr->parse_attr = parse_attr;
|
||||
attr->dests[attr->out_count].flags |=
|
||||
MLX5_ESW_DEST_ENCAP;
|
||||
attr->out_count++;
|
||||
|
Loading…
x
Reference in New Issue
Block a user