Min Hu (Connor) 74b7426997 ethdev: fix port state when stop
Currently, 'dev_started' is always set to be 0 when dev stop, whether
it succeeded or failed. This is unreasonable and this patch fixed it.

Fixes: 62024eb82756 ("ethdev: change stop operation callback to return int")
Cc: stable@dpdk.org

Signed-off-by: Min Hu (Connor) <humin29@huawei.com>
Acked-by: Thomas Monjalon <thomas@monjalon.net>
Acked-by: Ferruh Yigit <ferruh.yigit@xilinx.com>
2022-05-30 13:20:22 +02:00
..
2022-05-30 23:30:33 +02:00
2021-08-17 08:37:52 +02:00
2022-02-22 14:47:41 +01:00
2022-02-27 18:58:47 +01:00
2022-05-30 13:20:22 +02:00
2022-02-22 13:10:39 +01:00
2022-02-22 13:10:39 +01:00
2021-10-24 13:37:43 +02:00
2022-02-22 14:47:49 +01:00
2022-06-03 11:22:31 +02:00
2022-06-01 11:15:37 +02:00
2021-08-17 08:37:52 +02:00
2022-02-22 14:47:49 +01:00
2022-06-01 08:58:27 +02:00
2022-02-22 13:10:39 +01:00
2022-02-22 13:10:39 +01:00
2022-06-01 16:01:37 +02:00
2022-06-01 15:04:34 +02:00
2022-02-22 13:10:39 +01:00
2022-06-01 10:58:12 +02:00
2022-02-22 13:10:39 +01:00
2022-06-01 15:04:46 +02:00