Re: [dpdk-dev] [PATCH v2] net/iavf: fix unchecked Tx cleanup error

2020-10-20 Thread Zhang, Qi Z
> -Original Message- > From: Rong, Leyi > Sent: Monday, October 19, 2020 1:43 PM > To: Zhang, Qi Z ; Yigit, Ferruh > Cc: dev@dpdk.org; Rong, Leyi ; sta...@dpdk.org > Subject: [PATCH v2] net/iavf: fix unchecked Tx cleanup error > > Coverity complains of unchecked return value warning o

[dpdk-dev] [PATCH v2] net/iavf: fix unchecked Tx cleanup error

2020-10-18 Thread Leyi Rong
Coverity complains of unchecked return value warning of iavf_xmit_cleanup, while this cleanup is opportunistic and will not cause problems if it fails. So instead of checking the return value of iavf_xmit_cleanup and return in case of cleanup failure, we directly cast it to void function to make th