> -----Original Message----- > From: dev <dev-boun...@dpdk.org> On Behalf Of Rasesh Mody > Sent: Thursday, July 4, 2019 5:13 AM > To: dev@dpdk.org > Cc: Rasesh Mody <rm...@marvell.com>; ferruh.yi...@intel.com; GR- > Everest-DPDK-Dev <gr-everest-dpdk-...@marvell.com>; sta...@dpdk.org > Subject: [dpdk-dev] [PATCH 1/3] net/bnx2x: fix read VF id > > The logic, to read vf_id used by ACQUIRE/TEARDOWN_Q/RELEASE TLVs, > multiplexed return value to convey vf_id value and status of read vf_id API. > This lets to segfault at dev_start() as resources are not properly cleaned and > re-allocated. > > Fix read vf_id API to differentiate between vf_id value and return status. > Adjust the status checking accordingly. > Added bnx2x_vf_teardown_queue() API and moved relevant code from > bnx2x_vf_unload() to new API. > > Fixes: 540a211084a7 ("bnx2x: driver core") > Cc: sta...@dpdk.org > > Signed-off-by: Rasesh Mody <rm...@marvell.com>
Series applied to dpdk-next-net-mrvl/master. Thanks.