hsa: fix vpp_echo session close 73/22273/10
authorDave Wallace <dwallacelf@gmail.com>
Wed, 25 Sep 2019 21:58:24 +0000 (17:58 -0400)
committerFlorin Coras <florin.coras@gmail.com>
Wed, 9 Oct 2019 00:29:41 +0000 (00:29 +0000)
commitff5a9b6ecd744ff5c42e6c2388dd31a338ea6a0c
tree7b756ed4cd8f631db0096b7e7b6dfb71735ea9c2
parent2fd44a00aa26188ca75f0accd734f21758c199bf
hsa: fix vpp_echo session close

- Convert asserts in vpp_echo to conditional checks
- Refactor error logging for session creation/deletion
- Fix session close anomalies
- Fix ECHO_* macros
- Add rx/tx results different cmdline options to
  specify pass when counters are different
- Update close tests to send more than the fifo
  sizes of data
- Specify rx/tx results diff options for early
  close tests
- Set listen session state to closed on handling
  unlisten reply

Type: fix

Signed-off-by: Dave Wallace <dwallacelf@gmail.com>
Change-Id: I9d0075fcb18e20829f420da104d69523897b0552
src/plugins/hs_apps/sapi/vpp_echo.c
src/plugins/hs_apps/sapi/vpp_echo_bapi.c
src/plugins/hs_apps/sapi/vpp_echo_common.c
src/plugins/hs_apps/sapi/vpp_echo_common.h
src/plugins/hs_apps/sapi/vpp_echo_proto_quic.c
src/plugins/quic/test/test_quic.py