Home
last modified time | relevance | path

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

/drivers/vdpa/virtio_pci/
A Dvp_vdpa.c39 u64 device_features; member
73 return vp_vdpa->device_features; in vp_vdpa_get_device_features()
510 u64 device_features; in vp_vdpa_dev_add() local
527 device_features = vp_modern_get_features(mdev); in vp_vdpa_dev_add()
529 if (add_config->device_features & ~device_features) { in vp_vdpa_dev_add()
534 device_features, add_config->device_features); in vp_vdpa_dev_add()
537 device_features = add_config->device_features; in vp_vdpa_dev_add()
539 vp_vdpa->device_features = device_features; in vp_vdpa_dev_add()
/drivers/virtio/
A Dvirtio_debug.c11 u64 device_features[VIRTIO_FEATURES_DWORDS]; in virtio_debug_device_features_show() local
15 virtio_get_features(dev, device_features); in virtio_debug_device_features_show()
17 if (virtio_features_test_bit(device_features, i)) in virtio_debug_device_features_show()
A Dvirtio.c275 u64 device_features[VIRTIO_FEATURES_DWORDS]; in virtio_dev_probe() local
283 virtio_get_features(dev, device_features); in virtio_dev_probe()
305 if (virtio_features_test_bit(device_features, VIRTIO_F_VERSION_1)) { in virtio_dev_probe()
308 device_features[i]; in virtio_dev_probe()
312 device_features[0]); in virtio_dev_probe()
320 if (virtio_features_test_bit(device_features, i)) in virtio_dev_probe()
/drivers/vdpa/octeon_ep/
A Doctep_vdpa_main.c508 u64 device_features; in octep_vdpa_dev_add() local
524 device_features = oct_hw->features; in octep_vdpa_dev_add()
526 if (config->device_features & ~device_features) { in octep_vdpa_dev_add()
528 config->device_features, device_features); in octep_vdpa_dev_add()
532 device_features &= config->device_features; in octep_vdpa_dev_add()
535 oct_hw->features = device_features; in octep_vdpa_dev_add()
536 dev_info(&pdev->dev, "Vdpa management device features : %llx\n", device_features); in octep_vdpa_dev_add()
538 ret = octep_verify_features(device_features); in octep_vdpa_dev_add()
/drivers/vdpa/ifcvf/
A Difcvf_main.c701 u64 device_features; in ifcvf_vdpa_dev_add() local
721 device_features = vf->hw_features; in ifcvf_vdpa_dev_add()
723 if (config->device_features & ~device_features) { in ifcvf_vdpa_dev_add()
725 config->device_features, device_features); in ifcvf_vdpa_dev_add()
728 device_features &= config->device_features; in ifcvf_vdpa_dev_add()
730 vf->dev_features = device_features; in ifcvf_vdpa_dev_add()
/drivers/vdpa/mlx5/net/
A Dmlx5_vnet.c3829 u64 device_features; in mlx5_vdpa_dev_add() local
3838 device_features = mgtdev->mgtdev.supported_features; in mlx5_vdpa_dev_add()
3840 if (add_config->device_features & ~device_features) { in mlx5_vdpa_dev_add()
3843 add_config->device_features, device_features); in mlx5_vdpa_dev_add()
3846 device_features &= add_config->device_features; in mlx5_vdpa_dev_add()
3891 (device_features & BIT_ULL(VIRTIO_F_VERSION_1)); in mlx5_vdpa_dev_add()
3914 if (device_features & BIT_ULL(VIRTIO_NET_F_MTU)) { in mlx5_vdpa_dev_add()
3933 device_features & BIT_ULL(VIRTIO_NET_F_MAC)) { in mlx5_vdpa_dev_add()
3951 device_features &= ~BIT_ULL(VIRTIO_NET_F_MAC); in mlx5_vdpa_dev_add()
3960 if (device_features & BIT_ULL(VIRTIO_NET_F_MQ)) { in mlx5_vdpa_dev_add()
[all …]
/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()
/drivers/vdpa/vdpa_sim/
A Dvdpa_sim.c206 if (config->device_features & in vdpasim_create()
210 config->device_features; in vdpasim_create()
/drivers/vdpa/pds/
A Dvdpa_dev.c659 add_config->device_features & ~pdsv->supported_features; in pds_vdpa_dev_add()
667 pdsv->supported_features = add_config->device_features; in pds_vdpa_dev_add()
/drivers/vdpa/vdpa_user/
A Dvduse_dev.c107 u64 device_features; member
618 return dev->device_features; in vduse_vdpa_get_device_features()
1850 dev->device_features = config->features; in vduse_create_dev()

Completed in 51 milliseconds