Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlx4/
Dmain.c120 #define RESET_PERSIST_MASK_FLAGS (MLX4_FLAG_SRIOV)
3220 #define SRIOV_VALID_STATE(flags) (!!((flags) & MLX4_FLAG_SRIOV) ==\
3240 if (dev->flags & MLX4_FLAG_SRIOV) { in mlx4_enable_sriov()
3254 if (!(dev->flags & MLX4_FLAG_SRIOV)) { in mlx4_enable_sriov()
3270 dev_flags |= MLX4_FLAG_SRIOV | in mlx4_enable_sriov()
3398 dev->flags |= MLX4_FLAG_SRIOV; in mlx4_load_one()
3501 if (dev->flags & MLX4_FLAG_SRIOV) { in mlx4_load_one()
3506 dev->flags &= ~MLX4_FLAG_SRIOV; in mlx4_load_one()
3710 if (dev->flags & MLX4_FLAG_SRIOV && !existing_vfs) { in mlx4_load_one()
3712 dev->flags &= ~MLX4_FLAG_SRIOV; in mlx4_load_one()
[all …]
/kernel/linux/linux-5.10/include/linux/mlx4/
Ddevice.h72 MLX4_FLAG_SRIOV = 1 << 4, enumerator