[PATCH v2] net/bonding: make bonded device configure method re-entrant

Jiang, YuX yux.jiang at intel.com
Tue Nov 1 11:56:01 CET 2022


Hi Ivan,

This patch introduces a bug https://bugs.dpdk.org/show_bug.cgi?id=1119, can you pls have a look quickly?

Best regards,
Yu Jiang

> -----Original Message-----
> From: Ivan Malov <ivan.malov at oktetlabs.ru>
> Sent: Wednesday, October 19, 2022 3:46 AM
> To: dev at dpdk.org
> Cc: Chas Williams <3chas3 at gmail.com>; Min Hu (Connor)
> <humin29 at huawei.com>; Andrew Rybchenko
> <andrew.rybchenko at oktetlabs.ru>; Chas Williams <chas3 at att.com>; Burakov,
> Anatoly <anatoly.burakov at intel.com>
> Subject: [PATCH v2] net/bonding: make bonded device configure method re-
> entrant
> 
> According to the documentation, rte_eth_dev_configure() can be invoked
> repeatedly while in stopped state.
> The current implementation in the bonding driver allows for that (technically),
> but the user sees warnings which say that back-end devices have already been
> harnessed. Re-factor the code to have cleanup before each (re-)configure.
> 
> Signed-off-by: Ivan Malov <ivan.malov at oktetlabs.ru>
> Reviewed-by: Andrew Rybchenko <andrew.rybchenko at oktetlabs.ru>
> Acked-by: Chas Williams <3chas3 at gmail.com>
> ---



More information about the dev mailing list