[dpdk-stable] [dpdk-dev] [PATCH 1/3] net/bnx2x: fix read VF id

Jerin Jacob Kollanukkaran jerinj at marvell.com
Tue Jul 9 12:33:37 CEST 2019


> -----Original Message-----
> From: dev <dev-bounces at dpdk.org> On Behalf Of Rasesh Mody
> Sent: Thursday, July 4, 2019 5:13 AM
> To: dev at dpdk.org
> Cc: Rasesh Mody <rmody at marvell.com>; ferruh.yigit at intel.com; GR-
> Everest-DPDK-Dev <GR-Everest-DPDK-Dev at marvell.com>; stable at 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: stable at dpdk.org
> 
> Signed-off-by: Rasesh Mody <rmody at marvell.com>

Series applied to dpdk-next-net-mrvl/master. Thanks.


More information about the stable mailing list