Searched refs:rx_rule (Results 1 – 3 of 3) sorted by relevance
141 struct mlx5_flow_handle *rx_rule; member1303 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()
643 bool rx_rule = nic_dmn->ste_type == MLX5DR_STE_TYPE_RX; in mlx5dr_actions_build_ste_arr() local687 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()
187 __esw_fdb_set_vport_rule(struct mlx5_eswitch *esw, u16 vport, bool rx_rule, in __esw_fdb_set_vport_rule() argument201 if (rx_rule) in __esw_fdb_set_vport_rule()