]> git.droids-corp.org - dpdk.git/commit
app/testpmd: fix bonding slave devices not released
authorHuisong Li <lihuisong@huawei.com>
Thu, 9 Jun 2022 11:49:21 +0000 (19:49 +0800)
committerFerruh Yigit <ferruh.yigit@xilinx.com>
Fri, 10 Jun 2022 08:07:40 +0000 (10:07 +0200)
commit3889a3220c9b93f07dfdf95e30b2661e6e3f698f
treea6fe62a9b4732909d8a10411294fc8208a82ea40
parent48588943dc0986ac68d59152a322498de868bdd2
app/testpmd: fix bonding slave devices not released

Currently, some eth devices are added to bond device, these devices are
not released when the quit command is executed in testpmd. This patch
adds the release operation for all active slaves under a bond device.

Fixes: 0e545d3047fe ("app/testpmd: check stopping port is not in bonding")
Cc: stable@dpdk.org
Signed-off-by: Huisong Li <lihuisong@huawei.com>
Signed-off-by: Min Hu (Connor) <humin29@huawei.com>
Signed-off-by: Dongdong Liu <liudongdong3@huawei.com>
Acked-by: Ferruh Yigit <ferruh.yigit@xilinx.com>
app/test-pmd/cmdline.c
app/test-pmd/testpmd.c
app/test-pmd/testpmd.h