Searched refs:MLX5_CAP_DEV_VDPA_EMULATION (Results 1 – 4 of 4) sorted by relevance
/linux-6.12.1/drivers/net/ethernet/mellanox/mlx5/core/ |
D | dev.c | 121 if (!(MLX5_CAP_DEV_VDPA_EMULATION(dev, event_mode) & in mlx5_vnet_supported() 125 if (!MLX5_CAP_DEV_VDPA_EMULATION(dev, eth_frame_offload_type)) in mlx5_vnet_supported()
|
/linux-6.12.1/drivers/vdpa/mlx5/net/ |
D | mlx5_vnet.c | 825 type_mask = MLX5_CAP_DEV_VDPA_EMULATION(ndev->mvdev.mdev, virtio_queue_type); in get_queue_type() 873 return MLX5_CAP_DEV_VDPA_EMULATION(mvdev->mdev, event_mode) & in msix_mode_supported() 950 MLX5_CAP_DEV_VDPA_EMULATION(mvdev->mdev, desc_group_mkey_supported)) in create_virtqueue() 988 MLX5_CAP_DEV_VDPA_EMULATION(mvdev->mdev, desc_group_mkey_supported)) { in create_virtqueue() 1368 if (desc_mr && MLX5_CAP_DEV_VDPA_EMULATION(mvdev->mdev, desc_group_mkey_supported)) in fill_modify_virtqueue_cmd() 2694 dev_features = MLX5_CAP_DEV_VDPA_EMULATION(mdev, device_features_bits_mask); in get_supported_features() 2696 if (MLX5_CAP_DEV_VDPA_EMULATION(mdev, virtio_version_1_0)) in get_supported_features() 3856 if (!(MLX5_CAP_DEV_VDPA_EMULATION(mdev, virtio_queue_type) & in mlx5_vdpa_dev_add() 3862 max_vqs = min_t(int, MLX5_CAP_DEV_VDPA_EMULATION(mdev, max_num_virtio_queues), in mlx5_vdpa_dev_add() 4097 MLX5_CAP_DEV_VDPA_EMULATION(mdev, max_num_virtio_queues) + 1; in mlx5v_probe() [all …]
|
/linux-6.12.1/include/linux/mlx5/ |
D | device.h | 1456 #define MLX5_CAP_DEV_VDPA_EMULATION(mdev, cap)\ macro
|
/linux-6.12.1/drivers/infiniband/hw/mlx5/ |
D | main.c | 4181 log_doorbell_bar_size = MLX5_CAP_DEV_VDPA_EMULATION(mdev, in mlx5_ib_init_var_table() 4183 log_doorbell_stride = MLX5_CAP_DEV_VDPA_EMULATION(mdev, in mlx5_ib_init_var_table()
|