Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/net/ethernet/mellanox/mlx4/
Dmain.c119 #define RESET_PERSIST_MASK_FLAGS (MLX4_FLAG_SRIOV)
3274 #define SRIOV_VALID_STATE(flags) (!!((flags) & MLX4_FLAG_SRIOV) ==\
3294 if (dev->flags & MLX4_FLAG_SRIOV) { in mlx4_enable_sriov()
3308 if (!(dev->flags & MLX4_FLAG_SRIOV)) { in mlx4_enable_sriov()
3324 dev_flags |= MLX4_FLAG_SRIOV | in mlx4_enable_sriov()
3458 dev->flags |= MLX4_FLAG_SRIOV; in mlx4_load_one()
3561 if (dev->flags & MLX4_FLAG_SRIOV) { in mlx4_load_one()
3566 dev->flags &= ~MLX4_FLAG_SRIOV; in mlx4_load_one()
3768 if (dev->flags & MLX4_FLAG_SRIOV && !existing_vfs) { in mlx4_load_one()
3770 dev->flags &= ~MLX4_FLAG_SRIOV; in mlx4_load_one()
[all …]
/linux-6.12.1/include/linux/mlx4/
Ddevice.h72 MLX4_FLAG_SRIOV = 1 << 4, enumerator