numam-dpdk/lib
Huawei Xie 8f972312b8 vhost: support vhost-user
In rte_vhost_driver_register(), vhost unix domain socket listener fd is created
and added to polled(based on select) fdset.

In rte_vhost_driver_session_start(), fds in the fdset are checked for
processing. If there is new connection from qemu, connection fd accepted is
added to polled fdset. The listener and connection fds in the fdset are
then both checked. When there is message on the connection fd, its
callback vserver_message_handler is called to process vhost-user messages.

To support identifying which virtio is from which guest VM, we could call
rte_vhost_driver_register with different socket path. Virtio devices from
same VM will connect to VM specific socket. The socket path information is
stored in the virtio_net structure.

Signed-off-by: Huawei Xie <huawei.xie@intel.com>
Signed-off-by: Przemyslaw Czesnowicz <przemyslaw.czesnowicz@intel.com>
Acked-by: Tetsuya Mukawa <mukawa@igel.co.jp>
2015-02-24 01:38:15 +01:00
..
librte_acl mk: add library version extension 2015-02-03 16:56:58 +01:00
librte_cfgfile mk: add library version extension 2015-02-03 16:56:58 +01:00
librte_cmdline cmdline: fix check in port list parsing 2015-02-20 10:50:16 +01:00
librte_compat mk: add library version extension 2015-02-03 16:56:58 +01:00
librte_distributor mk: add library version extension 2015-02-03 16:56:58 +01:00
librte_eal eal/linux: allow to map BARs with MSI-X tables 2015-02-23 21:57:31 +01:00
librte_ether ethdev: support optional Rx and Tx callbacks 2015-02-24 00:38:27 +01:00
librte_hash hash: slice CRC data into 8-byte pieces 2015-02-23 18:30:05 +01:00
librte_ip_frag mbuf: remove build option to disable refcnt 2015-02-23 19:31:24 +01:00
librte_ivshmem mk: add library version extension 2015-02-03 16:56:58 +01:00
librte_kni mk: add library version extension 2015-02-03 16:56:58 +01:00
librte_kvargs mk: add library version extension 2015-02-03 16:56:58 +01:00
librte_lpm mk: add library version extension 2015-02-03 16:56:58 +01:00
librte_malloc mk: add library version extension 2015-02-03 16:56:58 +01:00
librte_mbuf mbuf: remove build option to disable refcnt 2015-02-23 19:31:24 +01:00
librte_mempool mk: add library version extension 2015-02-03 16:56:58 +01:00
librte_meter mk: add library version extension 2015-02-03 16:56:58 +01:00
librte_net net: change arp header struct declaration 2015-02-20 22:10:52 +01:00
librte_pipeline mk: add library version extension 2015-02-03 16:56:58 +01:00
librte_pmd_af_packet mk: add library version extension 2015-02-03 16:56:58 +01:00
librte_pmd_bond ethdev: rename interrupt callbacks field 2015-02-24 00:38:14 +01:00
librte_pmd_e1000 ethdev: unification of RSS offload types 2015-02-22 23:56:20 +01:00
librte_pmd_enic mk: add library version extension 2015-02-03 16:56:58 +01:00
librte_pmd_fm10k ethdev: unification of RSS offload types 2015-02-22 23:56:20 +01:00
librte_pmd_i40e i40e: enable internal switch of PF 2015-02-15 07:39:43 +01:00
librte_pmd_ixgbe mbuf: remove build option to disable refcnt 2015-02-23 19:31:24 +01:00
librte_pmd_pcap mk: add library version extension 2015-02-03 16:56:58 +01:00
librte_pmd_ring ethdev: rename interrupt callbacks field 2015-02-24 00:38:14 +01:00
librte_pmd_virtio virtio: remove Rx hotspots from early return 2015-02-20 19:19:21 +01:00
librte_pmd_vmxnet3 ethdev: unification of RSS offload types 2015-02-22 23:56:20 +01:00
librte_pmd_xenvirt mk: add library version extension 2015-02-03 16:56:58 +01:00
librte_port mbuf: remove build option to disable refcnt 2015-02-23 19:31:24 +01:00
librte_power mk: add library version extension 2015-02-03 16:56:58 +01:00
librte_reorder reorder: new library 2015-02-18 16:52:05 +01:00
librte_ring mk: add library version extension 2015-02-03 16:56:58 +01:00
librte_sched mk: add library version extension 2015-02-03 16:56:58 +01:00
librte_table mk: add library version extension 2015-02-03 16:56:58 +01:00
librte_timer mk: add library version extension 2015-02-03 16:56:58 +01:00
librte_vhost vhost: support vhost-user 2015-02-24 01:38:15 +01:00
Makefile reorder: new library 2015-02-18 16:52:05 +01:00