Home
last modified time | relevance | path

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

/drivers/net/ethernet/mellanox/mlx5/core/steering/
Ddr_action.c554 bool rx_rule = nic_dmn->type == DR_DOMAIN_NIC_TYPE_RX; in mlx5dr_actions_build_ste_arr() local
601 attr.final_icm_addr = rx_rule ? in mlx5dr_actions_build_ste_arr()
626 attr.final_icm_addr = rx_rule ? in mlx5dr_actions_build_ste_arr()
657 if (rx_rule && in mlx5dr_actions_build_ste_arr()
666 attr.final_icm_addr = rx_rule ? action->sampler->rx_icm_addr : in mlx5dr_actions_build_ste_arr()
670 if (unlikely(rx_rule && action->vport->caps->num == MLX5_VPORT_UPLINK)) { in mlx5dr_actions_build_ste_arr()
677 attr.final_icm_addr = rx_rule ? in mlx5dr_actions_build_ste_arr()
683 if (!rx_rule && !(dmn->ste_ctx->actions_caps & in mlx5dr_actions_build_ste_arr()
693 if (rx_rule && !(dmn->ste_ctx->actions_caps & in mlx5dr_actions_build_ste_arr()
731 attr.gvmi, rx_rule); in mlx5dr_actions_build_ste_arr()
[all …]
/drivers/vdpa/mlx5/net/
Dmlx5_vnet.c160 struct mlx5_flow_handle *rx_rule; member
1412 ndev->rx_rule = mlx5_add_flow_rules(ndev->rxft, NULL, &flow_act, dest, 2); in add_fwd_to_tir()
1413 if (IS_ERR(ndev->rx_rule)) { in add_fwd_to_tir()
1414 err = PTR_ERR(ndev->rx_rule); in add_fwd_to_tir()
1415 ndev->rx_rule = NULL; in add_fwd_to_tir()
1430 if (!ndev->rx_rule) in remove_fwd_to_tir()
1433 mlx5_del_flow_rules(ndev->rx_rule); in remove_fwd_to_tir()
1437 ndev->rx_rule = NULL; in remove_fwd_to_tir()
/drivers/net/ethernet/mellanox/mlx5/core/
Deswitch.c190 __esw_fdb_set_vport_rule(struct mlx5_eswitch *esw, u16 vport, bool rx_rule, in __esw_fdb_set_vport_rule() argument
204 if (rx_rule) in __esw_fdb_set_vport_rule()