Lines Matching refs:device_features
3103 u64 device_features; in mlx5_vdpa_dev_add() local
3112 device_features = mgtdev->mgtdev.supported_features; in mlx5_vdpa_dev_add()
3114 if (add_config->device_features & ~device_features) { in mlx5_vdpa_dev_add()
3117 add_config->device_features, device_features); in mlx5_vdpa_dev_add()
3120 device_features &= add_config->device_features; in mlx5_vdpa_dev_add()
3122 if (!(device_features & BIT_ULL(VIRTIO_F_VERSION_1) && in mlx5_vdpa_dev_add()
3123 device_features & BIT_ULL(VIRTIO_F_ACCESS_PLATFORM))) { in mlx5_vdpa_dev_add()
3179 if (device_features & BIT_ULL(VIRTIO_NET_F_MTU)) { in mlx5_vdpa_dev_add()
3187 if (device_features & BIT_ULL(VIRTIO_NET_F_STATUS)) { in mlx5_vdpa_dev_add()
3198 device_features & BIT_ULL(VIRTIO_NET_F_MAC)) { in mlx5_vdpa_dev_add()
3216 device_features &= ~BIT_ULL(VIRTIO_NET_F_MAC); in mlx5_vdpa_dev_add()
3217 } else if (device_features & BIT_ULL(VIRTIO_NET_F_MAC)) { in mlx5_vdpa_dev_add()
3225 if (device_features & BIT_ULL(VIRTIO_NET_F_MQ)) in mlx5_vdpa_dev_add()
3228 ndev->mvdev.mlx_features = device_features; in mlx5_vdpa_dev_add()