Re: [dpdk-dev] [PATCH] examples/ntb: fix no return check

2019-10-27 Thread David Marchand
On Fri, Oct 25, 2019 at 9:03 AM Xiaoyun Li wrote: > This patch adds return value checking and error handling for > rte_rawdev_en/dequeue_buffers() and rte_eth_link_get(). Different class of issues are fixed in this patch, but the initial commit mixed different features too... Please split your pa

[dpdk-dev] [PATCH] examples/ntb: fix no return check

2019-10-25 Thread Xiaoyun Li
This patch adds return value checking and error handling for rte_rawdev_en/dequeue_buffers() and rte_eth_link_get(). Coverity issue: 350247, 350250, 350251, 350252, 350253, 350254 Fixes: 5194299d6ef5 ("examples/ntb: support more functions") Cc: sta...@dpdk.org Signed-off-by: Xiaoyun Li --- exam