numam-spdk/lib/vhost
Darek Stojaczyk feaf45d31a vhost: allocate just one ctx per foreach_session chain
We used to allocate a ctx whenever new event had to
be sent, but since all events in foreach_session are
always called in a chain, we could allocate one ctx
at the start and then re-initialize it before sending
each msg.

Change-Id: Ie5477b07242f0c6eb6dc2160055a829da8ba5d11
Signed-off-by: Darek Stojaczyk <dariusz.stojaczyk@intel.com>
Reviewed-on: https://review.gerrithub.io/c/spdk/spdk/+/459167
Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
Reviewed-by: Ben Walker <benjamin.walker@intel.com>
Reviewed-by: Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com>
2019-07-16 10:57:46 +00:00
..
rte_vhost rte_vhost: fix compilation against dpdk master 2019-06-12 05:29:02 +00:00
Makefile vhost: install external msg handling hooks to rte_vhost 2019-03-13 14:26:20 +00:00
rte_vhost_compat.c lib/vhost: Fix unaligned pointer value error 2019-06-17 07:18:48 +00:00
vhost_blk.c vhost: operate on poll groups instead of lcores 2019-07-01 12:50:57 +00:00
vhost_internal.h vhost: remove vsession->ev_ctx 2019-07-16 10:57:46 +00:00
vhost_nvme.c vhost: operate on poll groups instead of lcores 2019-07-01 12:50:57 +00:00
vhost_rpc.c configure: add option not to use the internal rte_vhost copy 2019-03-13 14:26:20 +00:00
vhost_scsi.c vhost: operate on poll groups instead of lcores 2019-07-01 12:50:57 +00:00
vhost.c vhost: allocate just one ctx per foreach_session chain 2019-07-16 10:57:46 +00:00