Home
last modified time | relevance | path

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

/openbmc/linux/drivers/net/ethernet/mellanox/mlx5/core/
H A Dsriov.c126 mlx5_device_disable_sriov(struct mlx5_core_dev *dev, int num_vfs, bool clear_vf, bool num_vf_change) in mlx5_device_disable_sriov() argument
150 mlx5_eswitch_disable_sriov(dev->priv.eswitch, clear_vf); in mlx5_device_disable_sriov()
H A Deswitch.h411 void mlx5_eswitch_disable_sriov(struct mlx5_eswitch *esw, bool clear_vf);
895 static inline void mlx5_eswitch_disable_sriov(struct mlx5_eswitch *esw, bool clear_vf) {} in mlx5_eswitch_disable_sriov() argument
H A Deswitch.c1563 void mlx5_eswitch_disable_sriov(struct mlx5_eswitch *esw, bool clear_vf) in mlx5_eswitch_disable_sriov() argument
1572 if (!esw->esw_funcs.num_vfs && !esw->esw_funcs.num_ec_vfs && !clear_vf) in mlx5_eswitch_disable_sriov()
1581 if (clear_vf) in mlx5_eswitch_disable_sriov()
1585 if (clear_vf) in mlx5_eswitch_disable_sriov()