Home
last modified time | relevance | path

Searched refs:rx_rule (Results 1 – 4 of 4) sorted by relevance

/openbmc/linux/drivers/net/ethernet/mellanox/mlx5/core/en/tc/
H A Dint_port.c17 struct mlx5_flow_handle *rx_rule; member
200 int_port->rx_rule = mlx5e_int_port_create_rx_rule(esw, int_port, &dest); in mlx5e_int_port_add()
201 if (IS_ERR(int_port->rx_rule)) { in mlx5e_int_port_add()
202 err = PTR_ERR(int_port->rx_rule); in mlx5e_int_port_add()
241 if (int_port->rx_rule) in mlx5e_int_port_remove()
242 mlx5_del_flow_rules(int_port->rx_rule); in mlx5e_int_port_remove()
399 if (!IS_ERR_OR_NULL(int_port->rx_rule)) in mlx5e_tc_int_port_cleanup_rep_rx()
400 mlx5_del_flow_rules(int_port->rx_rule); in mlx5e_tc_int_port_cleanup_rep_rx()
402 int_port->rx_rule = NULL; in mlx5e_tc_int_port_cleanup_rep_rx()
/openbmc/linux/drivers/net/ethernet/mellanox/mlx5/core/lib/
H A Dmacsec_fs.c1664 if (rx_rule->rule[i]) { in macsec_fs_rx_del_rule()
1675 kfree(rx_rule); in macsec_fs_rx_del_rule()
1760 rx_rule = &macsec_rule->rx_rule; in macsec_fs_rx_add_rule()
1995 kfree(rx_rule); in macsec_fs_del_roce_rule_rx()
2143 rx_rule = kzalloc(sizeof(*rx_rule), GFP_KERNEL); in mlx5_macsec_fs_add_roce_rule_rx()
2144 if (!rx_rule) { in mlx5_macsec_fs_add_roce_rule_rx()
2160 rx_rule->ip = new_rule; in mlx5_macsec_fs_add_roce_rule_rx()
2176 rx_rule->op = new_rule; in mlx5_macsec_fs_add_roce_rule_rx()
2178 rx_rule->fs_id = fs_id; in mlx5_macsec_fs_add_roce_rule_rx()
2185 rx_rule->ip = NULL; in mlx5_macsec_fs_add_roce_rule_rx()
[all …]
/openbmc/linux/drivers/net/ethernet/mellanox/mlx5/core/steering/
H A Ddr_action.c629 bool rx_rule, in dr_action_modify_ttl_adjust() argument
639 if (!rx_rule) in dr_action_modify_ttl_adjust()
789 rx_rule, &attr.final_icm_addr); in mlx5dr_actions_build_ste_arr()
796 rx_rule, &attr.final_icm_addr); in mlx5dr_actions_build_ste_arr()
802 rx_rule, &attr.range.miss_icm_addr); in mlx5dr_actions_build_ste_arr()
852 dr_action_modify_ttl_adjust(dmn, &attr, rx_rule, in mlx5dr_actions_build_ste_arr()
857 if (rx_rule && in mlx5dr_actions_build_ste_arr()
877 attr.final_icm_addr = rx_rule ? in mlx5dr_actions_build_ste_arr()
883 if (!rx_rule && !(dmn->ste_ctx->actions_caps & in mlx5dr_actions_build_ste_arr()
893 if (rx_rule && !(dmn->ste_ctx->actions_caps & in mlx5dr_actions_build_ste_arr()
[all …]
/openbmc/linux/drivers/net/ethernet/mellanox/mlx5/core/
H A Deswitch.c207 __esw_fdb_set_vport_rule(struct mlx5_eswitch *esw, u16 vport, bool rx_rule, in __esw_fdb_set_vport_rule() argument
221 if (rx_rule) in __esw_fdb_set_vport_rule()