Searched refs:rx_rule (Results 1 – 4 of 4) sorted by relevance
/linux-6.12.1/drivers/net/ethernet/mellanox/mlx5/core/en/tc/ |
D | int_port.c | 17 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.12.1/drivers/net/ethernet/mellanox/mlx5/core/lib/ |
D | macsec_fs.c | 163 struct mlx5_macsec_rx_rule rx_rule; member 1655 struct mlx5_macsec_rx_rule *rx_rule, in macsec_fs_rx_del_rule() argument 1664 if (rx_rule->rule[i]) { in macsec_fs_rx_del_rule() 1665 mlx5_del_flow_rules(rx_rule->rule[i]); in macsec_fs_rx_del_rule() 1666 rx_rule->rule[i] = NULL; in macsec_fs_rx_del_rule() 1670 if (rx_rule->meta_modhdr) { in macsec_fs_rx_del_rule() 1671 mlx5_modify_header_dealloc(macsec_fs->mdev, rx_rule->meta_modhdr); in macsec_fs_rx_del_rule() 1672 rx_rule->meta_modhdr = NULL; in macsec_fs_rx_del_rule() 1675 kfree(rx_rule); in macsec_fs_rx_del_rule() 1740 struct mlx5_macsec_rx_rule *rx_rule; in macsec_fs_rx_add_rule() local [all …]
|
/linux-6.12.1/drivers/net/ethernet/mellanox/mlx5/core/steering/ |
D | dr_action.c | 636 bool rx_rule, in dr_action_modify_ttl_adjust() argument 646 if (!rx_rule) in dr_action_modify_ttl_adjust() 764 bool rx_rule = nic_dmn->type == DR_DOMAIN_NIC_TYPE_RX; in mlx5dr_actions_build_ste_arr() local 796 rx_rule, &attr.final_icm_addr); in mlx5dr_actions_build_ste_arr() 803 rx_rule, &attr.final_icm_addr); in mlx5dr_actions_build_ste_arr() 809 rx_rule, &attr.range.miss_icm_addr); in mlx5dr_actions_build_ste_arr() 859 dr_action_modify_ttl_adjust(dmn, &attr, rx_rule, in mlx5dr_actions_build_ste_arr() 864 if (rx_rule && in mlx5dr_actions_build_ste_arr() 873 attr.final_icm_addr = rx_rule ? action->sampler->rx_icm_addr : in mlx5dr_actions_build_ste_arr() 877 if (unlikely(rx_rule && action->vport->caps->num == MLX5_VPORT_UPLINK)) { in mlx5dr_actions_build_ste_arr() [all …]
|
/linux-6.12.1/drivers/net/ethernet/mellanox/mlx5/core/ |
D | eswitch.c | 207 __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()
|