Home
last modified time | relevance | path

Searched refs:device_features (Results 1 – 8 of 8) sorted by relevance

/linux-6.3-rc2/drivers/vdpa/virtio_pci/
A Dvp_vdpa.c39 u64 device_features; member
73 return vp_vdpa->device_features; in vp_vdpa_get_device_features()
480 u64 device_features; in vp_vdpa_dev_add() local
497 device_features = vp_modern_get_features(mdev); in vp_vdpa_dev_add()
499 if (add_config->device_features & ~device_features) { in vp_vdpa_dev_add()
504 device_features, add_config->device_features); in vp_vdpa_dev_add()
507 device_features = add_config->device_features; in vp_vdpa_dev_add()
509 vp_vdpa->device_features = device_features; in vp_vdpa_dev_add()
/linux-6.3-rc2/drivers/virtio/
A Dvirtio.c242 u64 device_features; in virtio_dev_probe() local
250 device_features = dev->config->get_features(dev); in virtio_dev_probe()
272 if (device_features & (1ULL << VIRTIO_F_VERSION_1)) in virtio_dev_probe()
273 dev->features = driver_features & device_features; in virtio_dev_probe()
275 dev->features = driver_features_legacy & device_features; in virtio_dev_probe()
279 if (device_features & (1ULL << i)) in virtio_dev_probe()
/linux-6.3-rc2/drivers/vdpa/ifcvf/
A Difcvf_main.c746 u64 device_features; in ifcvf_vdpa_dev_add() local
766 device_features = vf->hw_features; in ifcvf_vdpa_dev_add()
768 if (config->device_features & ~device_features) { in ifcvf_vdpa_dev_add()
770 config->device_features, device_features); in ifcvf_vdpa_dev_add()
773 device_features &= config->device_features; in ifcvf_vdpa_dev_add()
775 vf->dev_features = device_features; in ifcvf_vdpa_dev_add()
/linux-6.3-rc2/drivers/vdpa/mlx5/net/
A Dmlx5_vnet.c3103 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()
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()
3225 if (device_features & BIT_ULL(VIRTIO_NET_F_MQ)) in mlx5_vdpa_dev_add()
[all …]
/linux-6.3-rc2/drivers/vdpa/
A Dvdpa.c634 config.device_features = in vdpa_nl_cmd_dev_add_set_doit()
637 !(config.device_features & BIT_ULL(VIRTIO_NET_F_MAC))) in vdpa_nl_cmd_dev_add_set_doit()
640 !(config.device_features & BIT_ULL(VIRTIO_NET_F_MTU))) in vdpa_nl_cmd_dev_add_set_doit()
644 !(config.device_features & BIT_ULL(VIRTIO_NET_F_MQ))) in vdpa_nl_cmd_dev_add_set_doit()
691 config.device_features & VIRTIO_DEVICE_F_MASK) { in vdpa_nl_cmd_dev_add_set_doit()
/linux-6.3-rc2/include/linux/
A Dvdpa.h107 u64 device_features; member
/linux-6.3-rc2/drivers/vdpa/vdpa_sim/
A Dvdpa_sim.c132 if (config->device_features & in vdpasim_create()
136 config->device_features; in vdpasim_create()
/linux-6.3-rc2/drivers/vdpa/vdpa_user/
A Dvduse_dev.c97 u64 device_features; member
591 return dev->device_features; in vduse_vdpa_get_device_features()
1502 dev->device_features = config->features; in vduse_create_dev()

Completed in 24 milliseconds