Home
last modified time | relevance | path

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

/linux-6.3-rc2/drivers/net/ethernet/mellanox/mlx5/core/en/tc/
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()
/linux-6.3-rc2/drivers/net/ethernet/mellanox/mlx5/core/en_accel/
A Dmacsec_fs.c95 struct mlx5e_macsec_rx_rule rx_rule; member
1048 if (rx_rule->rule[i]) { in macsec_fs_rx_del_rule()
1050 rx_rule->rule[i] = NULL; in macsec_fs_rx_del_rule()
1054 if (rx_rule->meta_modhdr) { in macsec_fs_rx_del_rule()
1056 rx_rule->meta_modhdr = NULL; in macsec_fs_rx_del_rule()
1059 kfree(rx_rule); in macsec_fs_rx_del_rule()
1123 struct mlx5e_macsec_rx_rule *rx_rule; in macsec_fs_rx_add_rule() local
1144 rx_rule = &macsec_rule->rx_rule; in macsec_fs_rx_add_rule()
1164 rx_rule->meta_modhdr = modify_hdr; in macsec_fs_rx_add_rule()
1184 rx_rule->rule[0] = rule; in macsec_fs_rx_add_rule()
[all …]
/linux-6.3-rc2/drivers/net/ethernet/mellanox/mlx5/core/steering/
A Ddr_action.c629 bool rx_rule, in dr_action_modify_ttl_adjust() argument
639 if (!rx_rule) in dr_action_modify_ttl_adjust()
788 rx_rule, &attr.final_icm_addr); in mlx5dr_actions_build_ste_arr()
795 rx_rule, &attr.final_icm_addr); in mlx5dr_actions_build_ste_arr()
801 rx_rule, &attr.range.miss_icm_addr); in mlx5dr_actions_build_ste_arr()
831 dr_action_modify_ttl_adjust(dmn, &attr, rx_rule, in mlx5dr_actions_build_ste_arr()
836 if (rx_rule && in mlx5dr_actions_build_ste_arr()
851 attr.final_icm_addr = rx_rule ? in mlx5dr_actions_build_ste_arr()
856 if (!rx_rule && !(dmn->ste_ctx->actions_caps & in mlx5dr_actions_build_ste_arr()
866 if (rx_rule && !(dmn->ste_ctx->actions_caps & in mlx5dr_actions_build_ste_arr()
[all …]
/linux-6.3-rc2/drivers/net/ethernet/mellanox/mlx5/core/
A Deswitch.c191 __esw_fdb_set_vport_rule(struct mlx5_eswitch *esw, u16 vport, bool rx_rule, in __esw_fdb_set_vport_rule() argument
205 if (rx_rule) in __esw_fdb_set_vport_rule()

Completed in 14 milliseconds