mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-07 19:30:30 +09:00
net/mlx5: Typo fix in del_sw_hw_rule
[ Upstream commitf033788914] Expression terminated with "," instead of ";", resulted in set_fte getting bad value for modify_enable_mask field. Fixes:bd5251dbf1("net/mlx5_core: Introduce flow steering destination of type counter") Signed-off-by: Yuval Avnery <yuvalav@mellanox.com> Reviewed-by: Daniel Jurgens <danielj@mellanox.com> Signed-off-by: Saeed Mahameed <saeedm@mellanox.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
committed by
Greg Kroah-Hartman
parent
82b8fa5e32
commit
cf7640671a
@@ -390,7 +390,7 @@ static void del_rule(struct fs_node *node)
|
||||
}
|
||||
if ((fte->action & MLX5_FLOW_CONTEXT_ACTION_FWD_DEST) &&
|
||||
--fte->dests_size) {
|
||||
modify_mask = BIT(MLX5_SET_FTE_MODIFY_ENABLE_MASK_DESTINATION_LIST),
|
||||
modify_mask = BIT(MLX5_SET_FTE_MODIFY_ENABLE_MASK_DESTINATION_LIST);
|
||||
err = mlx5_cmd_update_fte(dev, ft,
|
||||
fg->id,
|
||||
modify_mask,
|
||||
|
||||
Reference in New Issue
Block a user