Searched refs:device_features (Results 1 – 11 of 11) sorted by relevance
39 u64 device_features; member73 return vp_vdpa->device_features; in vp_vdpa_get_device_features()501 u64 device_features; in vp_vdpa_dev_add() local518 device_features = vp_modern_get_features(mdev); in vp_vdpa_dev_add()520 if (add_config->device_features & ~device_features) { in vp_vdpa_dev_add()525 device_features, add_config->device_features); in vp_vdpa_dev_add()528 device_features = add_config->device_features; in vp_vdpa_dev_add()530 vp_vdpa->device_features = device_features; in vp_vdpa_dev_add()
12 u64 device_features; in virtio_debug_device_features_show() local15 device_features = dev->config->get_features(dev); in virtio_debug_device_features_show()17 if (device_features & (1ULL << i)) in virtio_debug_device_features_show()
275 u64 device_features; in virtio_dev_probe() local283 device_features = dev->config->get_features(dev); in virtio_dev_probe()305 if (device_features & (1ULL << VIRTIO_F_VERSION_1)) in virtio_dev_probe()306 dev->features = driver_features & device_features; in virtio_dev_probe()308 dev->features = driver_features_legacy & device_features; in virtio_dev_probe()315 if (device_features & (1ULL << i)) in virtio_dev_probe()
472 u64 device_features; in octep_vdpa_dev_add() local488 device_features = oct_hw->features; in octep_vdpa_dev_add()490 if (config->device_features & ~device_features) { in octep_vdpa_dev_add()492 config->device_features, device_features); in octep_vdpa_dev_add()496 device_features &= config->device_features; in octep_vdpa_dev_add()499 oct_hw->features = device_features; in octep_vdpa_dev_add()500 dev_info(&pdev->dev, "Vdpa management device features : %llx\n", device_features); in octep_vdpa_dev_add()502 ret = octep_verify_features(device_features); in octep_vdpa_dev_add()
701 u64 device_features; in ifcvf_vdpa_dev_add() local721 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()
80 cat $debugfs/device_features |grep "^$feature$" &> /dev/null
3827 u64 device_features; in mlx5_vdpa_dev_add() local3836 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()[all …]
634 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()
114 u64 device_features; member
206 if (config->device_features & in vdpasim_create()210 config->device_features; in vdpasim_create()
659 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()