On Fri, May 13, 2022 at 12:10 PM Min Hu (Connor) <humi...@huawei.com> wrote: > > I think net/bonding offer 'API' for APP to use the bonding. > and use the specific PMD as slave device. > The software framwork is like: > APP > ethdev > bonding PMD > PMD > hardware > > so, I think cmdlines for testpmd should not put in net/bonding.
Sorry, but the distinction is vague. Those commands are specific to this driver/library. I don't see the problem with hosting the commands in the bonding driver/library. This is still a RFC, I don't mind dropping this patch (in the end) if others think it does not make sense. For now I'll keep it in a v2 series fixing the registering issue in patch 1. -- David Marchand