Searched refs:protocol_features (Results 1 – 11 of 11) sorted by relevance
| /dpdk/examples/vhost_blk/ |
| H A D | vhost_blk_compat.c | 166 uint64_t protocol_features = 0; in vhost_dev_install_rte_compat_hooks() local 168 rte_vhost_driver_get_protocol_features(path, &protocol_features); in vhost_dev_install_rte_compat_hooks() 169 protocol_features |= (1ULL << VHOST_USER_PROTOCOL_F_CONFIG); in vhost_dev_install_rte_compat_hooks() 170 protocol_features |= (1ULL << VHOST_USER_PROTOCOL_F_INFLIGHT_SHMFD); in vhost_dev_install_rte_compat_hooks() 171 rte_vhost_driver_set_protocol_features(path, protocol_features); in vhost_dev_install_rte_compat_hooks()
|
| H A D | vhost_blk.c | 606 uint64_t features, protocol_features; in new_device() local 635 vid, &protocol_features); in new_device()
|
| /dpdk/drivers/net/virtio/virtio_user/ |
| H A D | vhost_vdpa.c | 18 uint64_t protocol_features; member 141 ret = vhost_vdpa_get_protocol_features(dev, &data->protocol_features); in vhost_vdpa_get_features() 147 data->protocol_features &= VHOST_VDPA_SUPPORTED_BACKEND_FEATURES; in vhost_vdpa_get_features() 149 ret = vhost_vdpa_set_protocol_features(dev, data->protocol_features); in vhost_vdpa_get_features() 175 if (!(data->protocol_features & (1ULL << VHOST_BACKEND_F_IOTLB_BATCH))) in vhost_vdpa_iotlb_batch_begin() 178 if (!(data->protocol_features & (1ULL << VHOST_BACKEND_F_IOTLB_MSG_V2))) { in vhost_vdpa_iotlb_batch_begin() 201 if (!(data->protocol_features & (1ULL << VHOST_BACKEND_F_IOTLB_BATCH))) in vhost_vdpa_iotlb_batch_end() 204 if (!(data->protocol_features & (1ULL << VHOST_BACKEND_F_IOTLB_MSG_V2))) { in vhost_vdpa_iotlb_batch_end() 228 if (!(data->protocol_features & (1ULL << VHOST_BACKEND_F_IOTLB_MSG_V2))) { in vhost_vdpa_dma_map() 259 if (!(data->protocol_features & (1ULL << VHOST_BACKEND_F_IOTLB_MSG_V2))) { in vhost_vdpa_dma_unmap()
|
| H A D | vhost_user.c | 24 uint64_t protocol_features; member 333 ret = vhost_user_get_protocol_features(dev, &data->protocol_features); in vhost_user_get_features() 337 data->protocol_features &= VHOST_USER_SUPPORTED_PROTOCOL_FEATURES; in vhost_user_get_features() 339 ret = vhost_user_set_protocol_features(dev, data->protocol_features); in vhost_user_get_features() 343 if (!(data->protocol_features & (1ULL << VHOST_USER_PROTOCOL_F_MQ))) in vhost_user_get_features() 468 if (data->protocol_features & (1ULL << VHOST_USER_PROTOCOL_F_REPLY_ACK)) in vhost_user_set_memory_table() 668 if (!(data->protocol_features & (1ULL << VHOST_USER_PROTOCOL_F_STATUS))) in vhost_user_get_status() 724 if (!(data->protocol_features & (1ULL << VHOST_USER_PROTOCOL_F_STATUS))) in vhost_user_set_status() 727 if (data->protocol_features & (1ULL << VHOST_USER_PROTOCOL_F_REPLY_ACK)) in vhost_user_set_status()
|
| /dpdk/lib/vhost/ |
| H A D | socket.c | 56 uint64_t protocol_features; member 722 uint64_t protocol_features) in rte_vhost_driver_set_protocol_features() argument 729 vsocket->protocol_features = protocol_features; in rte_vhost_driver_set_protocol_features() 736 uint64_t *protocol_features) in rte_vhost_driver_get_protocol_features() argument 753 *protocol_features = vsocket->protocol_features; in rte_vhost_driver_get_protocol_features() 765 *protocol_features = vsocket->protocol_features in rte_vhost_driver_get_protocol_features() 890 vsocket->protocol_features = VHOST_USER_PROTOCOL_FEATURES; in rte_vhost_driver_register() 924 vsocket->protocol_features &= in rte_vhost_driver_register()
|
| H A D | vhost.c | 296 if (!(dev->protocol_features & in cleanup_vq_inflight() 647 dev->protocol_features = 0; in reset_device() 895 uint64_t *protocol_features) in rte_vhost_get_negotiated_protocol_features() argument 900 if (dev == NULL || protocol_features == NULL) in rte_vhost_get_negotiated_protocol_features() 903 *protocol_features = dev->protocol_features; in rte_vhost_get_negotiated_protocol_features() 1012 if (unlikely(!(dev->protocol_features & in rte_vhost_set_inflight_desc_split() 1052 if (unlikely(!(dev->protocol_features & in rte_vhost_set_inflight_desc_packed() 1116 if (unlikely(!(dev->protocol_features & in rte_vhost_clr_inflight_desc_split() 1158 if (unlikely(!(dev->protocol_features & in rte_vhost_clr_inflight_desc_packed() 1203 if (unlikely(!(dev->protocol_features & in rte_vhost_set_last_inflight_io_split() [all …]
|
| H A D | rte_vhost.h | 555 uint64_t protocol_features); 569 uint64_t *protocol_features); 609 uint64_t *protocol_features);
|
| H A D | vdpa_driver.h | 33 uint64_t *protocol_features);
|
| H A D | vhost_user.c | 1813 if (!(dev->protocol_features & in vhost_check_queue_inflights_split() 1901 if (!(dev->protocol_features & in vhost_check_queue_inflights_packed() 2171 uint64_t features, protocol_features; in vhost_user_get_protocol_features() local 2176 ctx->msg.payload.u64 = protocol_features; in vhost_user_get_protocol_features() 2189 uint64_t protocol_features = ctx->msg.payload.u64; in vhost_user_set_protocol_features() local 2194 if (protocol_features & ~slave_protocol_features) { in vhost_user_set_protocol_features() 2199 dev->protocol_features = protocol_features; in vhost_user_set_protocol_features() 2201 dev->ifname, dev->protocol_features); in vhost_user_set_protocol_features() 3233 !(dev->protocol_features & in rte_vhost_host_notifier_ctrl() 3235 !(dev->protocol_features & in rte_vhost_host_notifier_ctrl() [all …]
|
| H A D | vhost_crypto.c | 1407 uint64_t protocol_features; in rte_vhost_crypto_driver_start() local 1414 ret = rte_vhost_driver_get_protocol_features(path, &protocol_features); in rte_vhost_crypto_driver_start() 1417 protocol_features |= (1ULL << VHOST_USER_PROTOCOL_F_CONFIG); in rte_vhost_crypto_driver_start() 1418 ret = rte_vhost_driver_set_protocol_features(path, protocol_features); in rte_vhost_crypto_driver_start()
|
| H A D | vhost.h | 446 uint64_t protocol_features; member
|