numam-dpdk/doc/guides
Dariusz Stojaczyk efba12a78d vhost: add user callbacks for socket open/close
Added new callbacks to notify about socket connection status.
As destroy_device is used for virtqueue processing *pause* as well as
connection close, the user has no distinction between those.

Consider the following scenario:
rte_vhost: received SET_VRING_BASE message,
           calling destroy_device() as usual

user:  end-user asks to remove the device (together with socket file),
       OK, device is not *in use* - that's NOT the behavior we want
       calling rte_vhost_driver_unregister() etc.

Instead of changing new_device/destroy_device callbacks and breaking
the ABI, a set of new functions new_connection/destroy_connection
has been added.

Signed-off-by: Dariusz Stojaczyk <dariuszx.stojaczyk@intel.com>
Reviewed-by: Jens Freimann <jfreimann@redhat.com>
2017-10-10 15:54:31 +02:00
..
contributing eal: remove Xen dom0 support 2017-10-09 01:54:29 +02:00
cryptodevs doc: complete crypto sample command line 2017-07-28 18:47:17 +02:00
eventdevs doc: update DPAA2 eventdev extra path 2017-07-30 23:21:09 +02:00
faq doc: update FAQ with new testpmd default burst size 2017-08-06 12:34:07 +02:00
freebsd_gsg eal: allow user to override default mempool driver 2017-10-06 20:48:22 +02:00
howto doc: add how-to on packet capture framework 2017-08-04 01:10:29 +02:00
linux_gsg eal: remove Xen dom0 support 2017-10-09 01:54:29 +02:00
nics doc: fix description of L4 Rx checksum offload 2017-10-10 15:51:04 +02:00
prog_guide vhost: add user callbacks for socket open/close 2017-10-10 15:54:31 +02:00
rel_notes vhost: enable IOMMU support 2017-10-10 15:53:27 +02:00
sample_app_ug doc: fix l2fwd-crypto sample code 2017-07-27 17:41:48 +02:00
testpmd_app_ug eal: remove Xen dom0 support 2017-10-09 01:54:29 +02:00
tools doc: add how-to on packet capture framework 2017-08-04 01:10:29 +02:00
conf.py doc: import sphinx rtd theme when available 2017-07-10 00:46:38 +02:00
index.rst eal: remove Xen dom0 support 2017-10-09 01:54:29 +02:00