numam-dpdk/lib/librte_vhost
Jan Wickbom 59317cef24 vhost: allow many vhost-user ports
Currently select() is used to monitor file descriptors for vhostuser
ports. This limits the number of ports possible to create since the
fd number is used as index in the fd_set and we have seen fds > 1023.
This patch changes select() to poll(). This way we can keep an
packed (pollfd) array for the fds, e.g. as many fds as the size of
the array.

Also see:
http://dpdk.org/ml/archives/dev/2016-April/037024.html

Reported-by: Patrik Andersson <patrik.r.andersson@ericsson.com>
Signed-off-by: Jan Wickbom <jan.wickbom@ericsson.com>
Signed-off-by: Yuanhan Liu <yuanhan.liu@linux.intel.com>
2017-01-17 09:20:18 +01:00
..
fd_man.c vhost: allow many vhost-user ports 2017-01-17 09:20:18 +01:00
fd_man.h vhost: allow many vhost-user ports 2017-01-17 09:20:18 +01:00
Makefile vhost: refactor code structure 2016-09-13 05:25:08 +02:00
rte_vhost_version.map vhost: export queue free entries 2016-06-22 09:02:58 +02:00
rte_virtio_net.h vhost: remove references to vhost-cuse 2016-11-07 15:59:21 +01:00
socket.c vhost: fix use after free 2016-10-26 13:39:09 +02:00
vhost_user.c vhost: introduce reply ack feature 2017-01-17 09:20:18 +01:00
vhost_user.h vhost: introduce reply ack feature 2017-01-17 09:20:18 +01:00
vhost.c vhost: fix memory leak 2017-01-17 09:20:17 +01:00
vhost.h vhost: remove references to vhost-cuse 2016-11-07 15:59:21 +01:00
virtio_net.c vhost: support indirect descriptor in non-mergeable Rx 2016-10-26 13:39:09 +02:00