Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/net/ethernet/mellanox/mlx4/
Dmain.c120 #define RESET_PERSIST_MASK_FLAGS (MLX4_FLAG_SRIOV)
3223 #define SRIOV_VALID_STATE(flags) (!!((flags) & MLX4_FLAG_SRIOV) ==\
3243 if (dev->flags & MLX4_FLAG_SRIOV) { in mlx4_enable_sriov()
3257 if (!(dev->flags & MLX4_FLAG_SRIOV)) { in mlx4_enable_sriov()
3273 dev_flags |= MLX4_FLAG_SRIOV | in mlx4_enable_sriov()
3403 dev->flags |= MLX4_FLAG_SRIOV; in mlx4_load_one()
3506 if (dev->flags & MLX4_FLAG_SRIOV) { in mlx4_load_one()
3511 dev->flags &= ~MLX4_FLAG_SRIOV; in mlx4_load_one()
3715 if (dev->flags & MLX4_FLAG_SRIOV && !existing_vfs) { in mlx4_load_one()
3717 dev->flags &= ~MLX4_FLAG_SRIOV; in mlx4_load_one()
[all …]
/linux-6.1.9/include/linux/mlx4/
Ddevice.h71 MLX4_FLAG_SRIOV = 1 << 4, enumerator