udp: fix for multiple workers and add test 80/12980/4
authorFlorin Coras <fcoras@cisco.com>
Sun, 10 Jun 2018 21:41:23 +0000 (14:41 -0700)
committerMarco Varlese <marco.varlese@suse.de>
Mon, 11 Jun 2018 14:08:20 +0000 (14:08 +0000)
commit40903ac34f89d9e2ad775e98b7bcec5b7feb0207
tree550a152e6a9359248ec50ffbeb0063b564bbcb48
parentd723161e038d00e59766aa67a6a0dcc350227e4b
udp: fix for multiple workers and add test

Since the main thread is not used for session polling anymore, when vpp
is started with multiple wokers, allocate connections on the first. Also
add a simple udp make test.

Change-Id: Id869f5d89e0fced51048f0384fa86a5022258b7c
Signed-off-by: Florin Coras <fcoras@cisco.com>
src/vnet/session-apps/echo_client.c
src/vnet/session/session.c
src/vnet/session/transport.c
src/vnet/session/transport.h
src/vnet/udp/udp.c
test/test_udp.py