> -----Original Message----- > From: dev <[email protected]> On Behalf Of Rasesh Mody > Sent: Thursday, July 4, 2019 5:13 AM > To: [email protected] > Cc: Rasesh Mody <[email protected]>; [email protected]; GR- > Everest-DPDK-Dev <[email protected]>; [email protected] > 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: [email protected] > > Signed-off-by: Rasesh Mody <[email protected]>
Series applied to dpdk-next-net-mrvl/master. Thanks.

