Re: [dpdk-dev] [PATCH v2 1/2] net/ixgbe: fix unchecked return value

2020-10-22 Thread Zhang, Qi Z
> -Original Message- > From: dev On Behalf Of Wang, Haiyue > Sent: Wednesday, October 21, 2020 1:06 AM > To: Walsh, Conor ; Guo, Jia ; > Yigit, Ferruh ; Awal, Mohammad Abdul > ; Doherty, Declan > ; sta...@dpdk.org > Cc: dev@dpdk.org > Subject: Re: [dpdk-de

Re: [dpdk-dev] [PATCH v2 1/2] net/ixgbe: fix unchecked return value

2020-10-20 Thread Wang, Haiyue
> -Original Message- > From: Walsh, Conor > Sent: Tuesday, October 20, 2020 18:03 > To: Guo, Jia ; Wang, Haiyue ; > Yigit, Ferruh > ; Awal, Mohammad Abdul > ; Doherty, Declan > ; sta...@dpdk.org > Cc: dev@dpdk.org; Walsh, Conor > Subject: [PATCH v2 1/2] net/ixgbe: fix unchecked return v

[dpdk-dev] [PATCH v2 1/2] net/ixgbe: fix unchecked return value

2020-10-20 Thread Conor Walsh
The return value of rte_eth_switch_domain_alloc() was not being checked within ixgbe_pf_host_init() which caused a coverity issue. If the call fails a warning is logged using PMD_INIT_LOG() and *vfinfo is free'd. ixgbe_pf_host_init() now has a return value which is checked in eth_ixgbe_dev_init()