Home
last modified time | relevance | path

Searched refs:promisc_rule (Results 1 – 2 of 2) sorted by relevance

/openbmc/linux/drivers/net/ethernet/mellanox/mlx5/core/
H A Deswitch.c684 if (IS_ERR_OR_NULL(vport->promisc_rule) != promisc) in esw_apply_vport_rx_mode()
688 vport->promisc_rule = in esw_apply_vport_rx_mode()
690 } else if (vport->promisc_rule) { in esw_apply_vport_rx_mode()
691 mlx5_del_flow_rules(vport->promisc_rule); in esw_apply_vport_rx_mode()
692 vport->promisc_rule = NULL; in esw_apply_vport_rx_mode()
H A Deswitch.h204 struct mlx5_flow_handle *promisc_rule; member