api: fix vac_read return codes 68/20268/6
authorPaul Vinciguerra <pvinci@vinciconsulting.com>
Thu, 20 Jun 2019 17:46:46 +0000 (13:46 -0400)
committerAndrew Yourtchenko <ayourtch@gmail.com>
Tue, 25 Jun 2019 11:25:07 +0000 (11:25 +0000)
commit08d82e98cdf75c810659fcb347e89198cf7b0bc5
treeecd94110b1288a3ffb170ca2e546f7f95ca004d7
parent8f818cc35972f447acd3cf68229d5f9e634926f3
api: fix vac_read return codes

- vac_read was returning the same code for multiple errors.
- Refactor VppTransportShmemIOError to capture rv and description.

Type: refactor

Change-Id: Ifb8ca5ff679f658bcd92a43ecddaffd2fc18dbd5
Signed-off-by: Paul Vinciguerra <pvinci@vinciconsulting.com>
src/vpp-api/client/client.c
src/vpp-api/python/vpp_papi/vpp_transport_shmem.py