On 11/2/22 06:35, Yuan, DukaiX wrote:
-----Original Message-----
From: Ivan Malov <ivan.ma...@oktetlabs.ru>
Sent: 2022年11月2日 0:19
To: dev@dpdk.org
Cc: Jiang, YuX <yux.ji...@intel.com>; Chas Williams <ch...@att.com>; Min Hu (Connor)
<humi...@huawei.com>; Burakov, Anatoly <anatoly.bura...@intel.com>; sta...@dpdk.org; Andrew
Rybchenko <andrew.rybche...@oktetlabs.ru>
Subject: [PATCH] net/bonding: fix device configure reentrancy
As per report [1], the previous patch for device configure code apparently
overlooks the corner case of manually adding back-end devices to the bond using
testpmd CLI. The problem is in removing back-end ports on re-configure instead
of just stopping them. Fix that.
Fixes: 339f1ba51353 ("net/bonding: make configure method re-entrant")
Cc: sta...@dpdk.org
[1] https://bugs.dpdk.org/show_bug.cgi?id=1119
Signed-off-by: Ivan Malov <ivan.ma...@oktetlabs.ru>
---
Tested-by: Dukai Yuan<dukaix.y...@intel.com>
Reviewed-by: Andrew Rybchenko <andrew.rybche...@oktetlabs.ru>
Applied to dpdk-next-net/main with minor fix suggested by
Stephen, thanks.