app/testpmd: change port link speed without stopping all
authorHuisong Li <lihuisong@huawei.com>
Wed, 28 Apr 2021 08:36:59 +0000 (16:36 +0800)
committerAndrew Rybchenko <Andrew.Rybchenko@oktetlabs.ru>
Fri, 2 Jul 2021 17:03:03 +0000 (19:03 +0200)
commit8ec87289e5eb0af241e01dfded5b7b5e163c5b25
treeb826c9512de818a5cca7dae8ae2d0917f5818919
parent8de9be977be85742c9dc0a12a4986e5f731a7277
app/testpmd: change port link speed without stopping all

When we use the following cmd to modify the link speed of specified
port: "port config <port_id> speed xxx duplex xxx", we have to stop
all ports. It's not necessary.

Fixes: 82113036e4e5 ("ethdev: redesign link speed config")
Cc: stable@dpdk.org
Signed-off-by: Huisong Li <lihuisong@huawei.com>
Signed-off-by: Min Hu (Connor) <humin29@huawei.com>
Acked-by: Ferruh Yigit <ferruh.yigit@intel.com>
Acked-by: Xiaoyun Li <xiaoyun.li@intel.com>
app/test-pmd/cmdline.c