Lines Matching refs:rule
21 struct mlx5_flow_handle *rule;
93 /* Post action rule matches on fte_id and executes original rule's tc rule action */
96 handle->rule = mlx5e_tc_rule_offload(post_act->priv, spec, handle->attr);
97 if (IS_ERR(handle->rule)) {
98 err = PTR_ERR(handle->rule);
99 netdev_warn(post_act->priv->netdev, "Failed to add post action rule");
155 mlx5e_tc_rule_unoffload(post_act->priv, handle->rule, handle->attr);
156 handle->rule = NULL;
162 if (!IS_ERR_OR_NULL(handle->rule))