> -----Original Message-----
> From: dev <dev-boun...@dpdk.org> On Behalf Of Wang, Haiyue
> Sent: Wednesday, October 21, 2020 1:06 AM
> To: Walsh, Conor <conor.wa...@intel.com>; Guo, Jia <jia....@intel.com>;
> Yigit, Ferruh <ferruh.yi...@intel.com>; Awal, Mohammad Abdul
> <mohammad.abdul.a...@intel.com>; Doherty, Declan
> <declan.dohe...@intel.com>; sta...@dpdk.org
> Cc: dev@dpdk.org
> Subject: Re: [dpdk-dev] [PATCH v2 1/2] net/ixgbe: fix unchecked return value
>
> > -----Original Message-----
> > From: Walsh, Conor <conor.wa...@intel.com>
> > Sent: Tuesday, October 20, 2020 18:03
> > To: Guo, Jia <jia....@intel.com>; Wang, Haiyue
> > <haiyue.w...@intel.com>; Yigit, Ferruh <ferruh.yi...@intel.com>; Awal,
> > Mohammad Abdul <mohammad.abdul.a...@intel.com>; Doherty, Declan
> > <declan.dohe...@intel.com>; sta...@dpdk.org
> > Cc: dev@dpdk.org; Walsh, Conor <conor.wa...@intel.com>
> > Subject: [PATCH v2 1/2] net/ixgbe: fix unchecked return value
> >
> > 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()
> >
> > Coverity issue: 362795
> > Fixes: cf80ba6e2038 ("net/ixgbe: add support for representor ports")
> >
> > Signed-off-by: Conor Walsh <conor.wa...@intel.com>
> > ---
> > drivers/net/ixgbe/ixgbe_ethdev.c | 11 +++++++++--
> > drivers/net/ixgbe/ixgbe_ethdev.h | 2 +-
> > drivers/net/ixgbe/ixgbe_pf.c | 16 +++++++++++++---
> > 3 files changed, 23 insertions(+), 6 deletions(-)
>
> Acked-by: Haiyue Wang <haiyue.w...@intel.com>
Applied to dpdk-next-net-intel.
Thanks
Qi