Lines Matching defs:features
52 * vhost driver supports. The "features" indicates the feature
55 * features negotiation.
58 uint64_t features;
651 rte_vhost_driver_disable_features(const char *path, uint64_t features)
659 * since callers may want to selectively disable features of the
664 vsocket->features &= ~features;
671 rte_vhost_driver_enable_features(const char *path, uint64_t features)
678 if ((vsocket->supported_features & features) != features) {
680 * trying to enable features the driver doesn't
686 vsocket->features |= features;
694 rte_vhost_driver_set_features(const char *path, uint64_t features)
701 vsocket->supported_features = features;
702 vsocket->features = features;
715 rte_vhost_driver_get_features(const char *path, uint64_t *features)
732 *features = vsocket->features;
737 VHOST_CONFIG_LOG(path, ERR, "failed to get vdpa features for socket file.");
742 *features = vsocket->features & vdpa_features;
788 VHOST_CONFIG_LOG(path, ERR, "failed to get vdpa protocol features.");
945 * Set the supported features correctly for the builtin vhost-user
948 * Applications know nothing about features the builtin virtio net
959 vsocket->features = VDUSE_NET_SUPPORTED_FEATURES;
962 vsocket->features = VHOST_USER_NET_SUPPORTED_FEATURES;
968 vsocket->features &= ~(1ULL << VHOST_F_LOG_ALL);
986 vsocket->features &= ~seg_offload_features;
991 vsocket->features &= ~(1ULL << VIRTIO_F_IOMMU_PLATFORM);