Ferruh Yigit
7ae5c75f37
ethdev: check if queues are allocated before getting info
...
A crash is detected when '--txpkts=#' parameter provided to the testpmd,
this is because queue information is requested before queues have been
allocated.
Adding check to queue info APIs
('rte_eth_rx_queue_info_get()' & 'rte_eth_tx_queue_info_get')
to protect against similar cases.
Fixes: ba2fb4f022fc ("ethdev: check if queue setup when getting queue info")
Signed-off-by: Ferruh Yigit <ferruh.yigit@intel.com>
Reviewed-by: Ajit Khaparde <ajit.khaparde@broadcom.com>
2020-10-08 19:58:11 +02:00
..
2020-09-25 11:13:57 +02:00
2020-09-25 15:37:55 +02:00
2020-09-08 00:09:50 +02:00
2020-09-16 18:52:55 +02:00
2020-09-08 00:09:50 +02:00
2020-09-08 00:09:50 +02:00
2020-09-08 00:09:50 +02:00
2020-09-08 00:09:50 +02:00
2020-09-08 00:09:50 +02:00
2020-10-08 15:20:51 +02:00
2020-09-25 11:13:57 +02:00
2020-10-08 19:58:11 +02:00
2020-09-08 00:09:50 +02:00
2020-09-08 00:09:50 +02:00
2020-09-08 00:09:50 +02:00
2020-09-08 00:09:50 +02:00
2020-10-06 21:51:03 +02:00
2020-09-18 18:55:12 +02:00
2020-09-25 11:13:57 +02:00
2020-09-08 00:09:50 +02:00
2020-09-08 00:09:50 +02:00
2020-09-08 00:09:50 +02:00
2020-09-19 00:25:35 +02:00
2020-09-08 00:09:50 +02:00
2020-09-08 00:09:50 +02:00
2020-09-08 00:09:50 +02:00
2020-09-19 00:25:37 +02:00
2020-09-25 11:13:57 +02:00
2020-10-06 23:44:15 +02:00
2020-10-05 11:11:59 +02:00
2020-09-08 00:09:50 +02:00
2020-10-06 17:10:02 +02:00
2020-09-25 11:13:57 +02:00
2020-09-30 19:19:11 +02:00
2020-09-08 00:09:50 +02:00
2020-10-08 15:09:28 +02:00
2020-10-06 23:39:34 +02:00
2020-10-07 14:51:52 +02:00
2020-10-06 22:54:58 +02:00
2020-10-06 10:31:13 +02:00
2020-09-08 00:09:50 +02:00
2020-09-08 00:09:50 +02:00
2020-09-08 00:09:50 +02:00
2020-09-08 00:11:30 +02:00
2020-09-25 11:13:57 +02:00
2020-09-08 00:09:50 +02:00
2020-10-05 11:56:17 +02:00
2020-10-01 18:43:10 +02:00
2020-10-06 22:55:00 +02:00
2020-10-08 09:43:57 +02:00
2020-09-30 23:16:56 +02:00
2020-10-05 09:49:55 +02:00