Home
last modified time | relevance | path

Searched refs:protocol_features (Results 1 – 12 of 12) sorted by relevance

/f-stack/dpdk/examples/vhost_blk/
H A Dvhost_blk_compat.c166 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()
/f-stack/dpdk/lib/librte_vhost/
H A Dsocket.c56 uint64_t protocol_features; member
731 uint64_t protocol_features) in rte_vhost_driver_set_protocol_features() argument
738 vsocket->protocol_features = protocol_features; in rte_vhost_driver_set_protocol_features()
745 uint64_t *protocol_features) in rte_vhost_driver_get_protocol_features() argument
763 *protocol_features = vsocket->protocol_features; in rte_vhost_driver_get_protocol_features()
776 *protocol_features = vsocket->protocol_features in rte_vhost_driver_get_protocol_features()
905 vsocket->protocol_features = VHOST_USER_PROTOCOL_FEATURES; in rte_vhost_driver_register()
938 vsocket->protocol_features &= in rte_vhost_driver_register()
H A Drte_vdpa_dev.h26 uint64_t *protocol_features);
H A Dvhost.c288 if (!(dev->protocol_features & in cleanup_vq_inflight()
631 dev->protocol_features = 0; in reset_device()
976 if (unlikely(!(dev->protocol_features & in rte_vhost_set_inflight_desc_split()
1016 if (unlikely(!(dev->protocol_features & in rte_vhost_set_inflight_desc_packed()
1080 if (unlikely(!(dev->protocol_features & in rte_vhost_clr_inflight_desc_split()
1122 if (unlikely(!(dev->protocol_features & in rte_vhost_clr_inflight_desc_packed()
1167 if (unlikely(!(dev->protocol_features & in rte_vhost_set_last_inflight_io_split()
1201 if (unlikely(!(dev->protocol_features & in rte_vhost_set_last_inflight_io_packed()
H A Dvhost_user.c1669 if (!(dev->protocol_features & in vhost_check_queue_inflights_split()
1753 if (!(dev->protocol_features & in vhost_check_queue_inflights_packed()
2028 uint64_t features, protocol_features; in vhost_user_get_protocol_features() local
2036 msg->payload.u64 = protocol_features; in vhost_user_get_protocol_features()
2049 uint64_t protocol_features = msg->payload.u64; in vhost_user_set_protocol_features() local
2057 if (protocol_features & ~slave_protocol_features) { in vhost_user_set_protocol_features()
2064 dev->protocol_features = protocol_features; in vhost_user_set_protocol_features()
2067 dev->protocol_features); in vhost_user_set_protocol_features()
3083 !(dev->protocol_features & in rte_vhost_host_notifier_ctrl()
3085 !(dev->protocol_features & in rte_vhost_host_notifier_ctrl()
[all …]
H A Drte_vhost.h527 uint64_t protocol_features);
542 uint64_t *protocol_features);
H A Dvhost_crypto.c1405 uint64_t protocol_features; in rte_vhost_crypto_driver_start() local
1412 ret = rte_vhost_driver_get_protocol_features(path, &protocol_features); in rte_vhost_crypto_driver_start()
1415 protocol_features |= (1ULL << VHOST_USER_PROTOCOL_F_CONFIG); in rte_vhost_crypto_driver_start()
1416 ret = rte_vhost_driver_set_protocol_features(path, protocol_features); in rte_vhost_crypto_driver_start()
H A Dvhost.h352 uint64_t protocol_features; member
/f-stack/dpdk/drivers/net/virtio/virtio_user/
H A Dvirtio_user_dev.c453 uint64_t protocol_features = 0; in virtio_user_dev_init() local
465 dev->protocol_features = VIRTIO_USER_SUPPORTED_PROTOCOL_FEATURES; in virtio_user_dev_init()
504 &protocol_features)) in virtio_user_dev_init()
507 dev->protocol_features &= protocol_features; in virtio_user_dev_init()
511 &dev->protocol_features)) in virtio_user_dev_init()
514 if (!(dev->protocol_features & in virtio_user_dev_init()
530 dev->protocol_features &= in virtio_user_dev_init()
H A Dvhost_user.c272 if (dev->protocol_features & (1ULL << VHOST_USER_PROTOCOL_F_REPLY_ACK)) in vhost_user_sock()
282 (!(dev->protocol_features & in vhost_user_sock()
293 (!(dev->protocol_features & in vhost_user_sock()
H A Dvirtio_user_dev.h51 uint64_t protocol_features; /* negotiated protocol features member
/f-stack/dpdk/drivers/net/virtio/
H A Dvirtio_user_ethdev.c73 uint64_t protocol_features; in virtio_user_server_reconnect() local
99 &protocol_features)) in virtio_user_server_reconnect()
103 dev->protocol_features |= in virtio_user_server_reconnect()
105 dev->protocol_features &= protocol_features; in virtio_user_server_reconnect()
109 &dev->protocol_features)) in virtio_user_server_reconnect()
112 if (!(dev->protocol_features & in virtio_user_server_reconnect()
187 dev->protocol_features &= in virtio_user_delayed_handler()