]> git.droids-corp.org - dpdk.git/commit
app/testpmd: fix port status of bonding slave device
authorHuisong Li <lihuisong@huawei.com>
Wed, 11 May 2022 02:14:34 +0000 (10:14 +0800)
committerAndrew Rybchenko <andrew.rybchenko@oktetlabs.ru>
Thu, 19 May 2022 07:10:23 +0000 (09:10 +0200)
commite46372d7b082706718bb17981ae632e4e4d56414
treefc1ec6dd9b57be68542c762f0e1cebf5c0de2147
parent417be15e5f1117c3de129fa9c27acfc2c6026144
app/testpmd: fix port status of bonding slave device

Starting or stopping a bonded port also starts or stops all active slaves
under the bonded port. If this port is a bonded device, we need to modify
the port status of all slaves.

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>
Acked-by: Aman Singh <aman.deep.singh@intel.com>
Acked-by: Konstantin Ananyev <konstantin.v.ananyev@yandex.ru>
app/test-pmd/cmdline.c
app/test-pmd/testpmd.c
app/test-pmd/testpmd.h