Cisco VPP Vhost-user 협상 순서
4726 단어 FD.IOVPP클 라 우 드 컴 퓨 팅가상 컴퓨터
vhost-user :
vm libvirtd --------------------------> vpp
VHOST_USER_GET_FEATURES
FEATURES: 5844926464
---------------------
VHOST_USER_GET_PROTOCOL_FEATURES
PROTOCOL_FEATURES: 3
---------------------
VHOST_USER_SET_PROTOCOL_FEATURES
PROTOCOL_FEATURES: 3
---------------------
VHOST_USER_GET_QUEUE_NUM
QUEUE_NUM: 16
---------------------
VHOST_USER_SET_OWNER
---------------------
VHOST_USER_GET_FEATURES
FEATURES: 5844926464
---------------------
VHOST_USER_SET_VRING_CALL
vring 0 callfd : vhost_user_callfd_read_ready
---------------------
VHOST_USER_SET_VRING_CALL
vring 1 callfd : vhost_user_callfd_read_ready
---------------------
VHOST_USER_SET_VRING_ENABLE
vring 0 enabled 1
---------------------
VHOST_USER_SET_VRING_ENABLE
vring 1 enabled 1
---------------------
VHOST_USER_SET_VRING_ENABLE
vring 0 enabled 1
---------------------
VHOST_USER_SET_VRING_ENABLE
vring 1 enabled 1
---------------------
VHOST_USER_SET_FEATURES
FEATURES: 5639274496
---------------------
VHOST_USER_SET_MEM_TABLE
memory.regions vui->region_mmap_addr
---------------------
VHOST_USER_SET_VRING_NUM
vring 0 qsz
---------------------
VHOST_USER_SET_VRING_BASE
vring 0 last_avail_idx 0
---------------------
VHOST_USER_SET_VRING_ADDR
vring 0 desc、used、avail ,last_used_idx、last_avail_idx、used->idx 0
---------------------
VHOST_USER_SET_VRING_KICK
vring 0 kick vhost_user_kickfd_read_ready
---------------------
VHOST_USER_SET_VRING_CALL
vring 0 callfd :vhost_user_callfd_read_ready
---------------------
VHOST_USER_SET_VRING_NUM
vring 1 qsz
---------------------
VHOST_USER_SET_VRING_BASE
vring 1 last_avail_idx
---------------------
VHOST_USER_SET_VRING_ADDR
vring 1 desc、used、avail ,last_used_idx、last_avail_idx、used->idx 0
---------------------
VHOST_USER_SET_VRING_KICK
vring 1 kick vhost_user_kickfd_read_ready
---------------------
VHOST_USER_SET_VRING_CALL
vring 1 callfd vhost_user_callfd_read_ready
---------------------
VHOST_USER_SET_VRING_ENABLE
vring 0 enabled 1
---------------------
VHOST_USER_SET_VRING_ENABLE
vring 1 enabled 1