Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/drivers/vdpa/mlx5/net/
Dmlx5_vnet.c141 struct mlx5_flow_handle *rx_rule; member
1303 ndev->rx_rule = mlx5_add_flow_rules(ndev->rxft, NULL, &flow_act, dest, 2); in add_fwd_to_tir()
1304 if (IS_ERR(ndev->rx_rule)) { in add_fwd_to_tir()
1305 err = PTR_ERR(ndev->rx_rule); in add_fwd_to_tir()
1306 ndev->rx_rule = NULL; in add_fwd_to_tir()
1321 if (!ndev->rx_rule) in remove_fwd_to_tir()
1324 mlx5_del_flow_rules(ndev->rx_rule); in remove_fwd_to_tir()
1328 ndev->rx_rule = NULL; in remove_fwd_to_tir()
/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlx5/core/steering/
Ddr_action.c643 bool rx_rule = nic_dmn->ste_type == MLX5DR_STE_TYPE_RX; in mlx5dr_actions_build_ste_arr() local
687 attr.final_icm_addr = rx_rule ? in mlx5dr_actions_build_ste_arr()
712 attr.final_icm_addr = rx_rule ? in mlx5dr_actions_build_ste_arr()
748 if (rx_rule) { in mlx5dr_actions_build_ste_arr()
797 rx_rule && recalc_cs_required && dest_action) { in mlx5dr_actions_build_ste_arr()
/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlx5/core/
Deswitch.c187 __esw_fdb_set_vport_rule(struct mlx5_eswitch *esw, u16 vport, bool rx_rule, in __esw_fdb_set_vport_rule() argument
201 if (rx_rule) in __esw_fdb_set_vport_rule()