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

Andrew Rybchenko andrew.rybchenko at oktetlabs.ru
Wed Oct 19 12:26:43 CEST 2022


On 10/18/22 22:45, Ivan Malov wrote:
> 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>

Applied to dpdk-next-net/main, thanks.




More information about the dev mailing list