*/ 1407 static int 1408 read_vhost_message(int sockfd, struct VhostUserMsg *msg) 1409 { DPDK向外发送消息使用如下函数 dpdk-18.08/lib/librte_vhost/vhost_user.c 1436 static int 1437 send_vhost_message(int sockfd, struct VhostUserMsg *msg, int *fds, int fd_num) 1438 { 1439 if (!msg) ...
= VHOST_USER_IOTLB_MSG) 1590 RTE_LOG(INFO, VHOST_CONFIG, "read message %s\n", 1591 vhost_message_str[msg.request.master]); 1592 else 1593 RTE_LOG(DEBUG, VHOST_CONFIG, "read message %s\n", 1594 vhost_message_str[msg.request.master]); 1595 1596 ret = vhost_user_check_and_alloc_...