numam-dpdk/drivers/net/octeontx
Anoob Joseph 7efd5202f7 net/octeontx: fix failures when available ports > queues
When eth_octeontx is initialized before event_octeontx, eth_octeontx
would initiate setting up of the event device with the max ports and
queues available. If number of ports is more than the number of queues,
some ports would be left unused when the ports and queues are mapped
1:1. But even in that case the ports need to be setup, or otherwise it
would lead to a segmentation fault when event device is started.

Fixes: f7be70e513 ("net/octeontx: add net device probe and remove")
Cc: stable@dpdk.org

Signed-off-by: Anoob Joseph <anoob.joseph@caviumnetworks.com>
Signed-off-by: Pavan Nikhilesh <pbhagavatula@caviumnetworks.com>
Acked-by: Jerin Jacob <jerin.jacob@caviumnetworks.com>
2018-11-16 12:03:54 +01:00
..
base net/octeontx: fix mbuf corruption with large private sizes 2018-11-14 00:35:53 +01:00
Makefile common/octeontx: move mbox to common folder 2018-04-04 23:14:52 +02:00
meson.build net/octeontx: register fpa as platform HW mempool 2018-02-05 19:56:04 +01:00
octeontx_ethdev.c net/octeontx: fix failures when available ports > queues 2018-11-16 12:03:54 +01:00
octeontx_ethdev.h ethdev: make default behavior CRC strip on Rx 2018-09-14 20:08:41 +02:00
octeontx_logs.h net/octeontx: implement dynamic logging 2018-01-16 18:47:49 +01:00
octeontx_rxtx.c event/octeontx: support Tx adapter 2018-10-01 16:52:07 +02:00
octeontx_rxtx.h event/octeontx: support Tx adapter 2018-10-01 16:52:07 +02:00
rte_pmd_octeontx_version.map net/octeontx: add channel to port id mapping 2018-01-16 18:47:49 +01:00