Lines Matching refs:device_features
3827 u64 device_features; in mlx5_vdpa_dev_add() local
3836 device_features = mgtdev->mgtdev.supported_features; in mlx5_vdpa_dev_add()
3838 if (add_config->device_features & ~device_features) { in mlx5_vdpa_dev_add()
3841 add_config->device_features, device_features); in mlx5_vdpa_dev_add()
3844 device_features &= add_config->device_features; in mlx5_vdpa_dev_add()
3846 device_features &= ~BIT_ULL(VIRTIO_NET_F_MRG_RXBUF); in mlx5_vdpa_dev_add()
3848 if (!(device_features & BIT_ULL(VIRTIO_F_VERSION_1) && in mlx5_vdpa_dev_add()
3849 device_features & BIT_ULL(VIRTIO_F_ACCESS_PLATFORM))) { in mlx5_vdpa_dev_add()
3907 if (device_features & BIT_ULL(VIRTIO_NET_F_MTU)) { in mlx5_vdpa_dev_add()
3915 if (device_features & BIT_ULL(VIRTIO_NET_F_STATUS)) { in mlx5_vdpa_dev_add()
3926 device_features & BIT_ULL(VIRTIO_NET_F_MAC)) { in mlx5_vdpa_dev_add()
3944 device_features &= ~BIT_ULL(VIRTIO_NET_F_MAC); in mlx5_vdpa_dev_add()
3945 } else if (device_features & BIT_ULL(VIRTIO_NET_F_MAC)) { in mlx5_vdpa_dev_add()
3953 if (device_features & BIT_ULL(VIRTIO_NET_F_MQ)) { in mlx5_vdpa_dev_add()
3962 ndev->mvdev.mlx_features = device_features; in mlx5_vdpa_dev_add()