numam-dpdk/drivers/net/octeontx2
Krzysztof Kanas d34db5ccbf net/octeontx2: fix driver reconfiguration
When configure returns error, e.g. in case not supported offloads
(outer ip and sctp) driver released Rx,Tx queues. Then in case of
correct configuration the driver could not start due to queues already
released but the driver thought it was configured correctly.

Secondly if driver returns error from configuration librte_ethdev will
release, rx queues and tx queues, without chaining driver configured
state.

Fix that by 'releasing' configuration and changing driver state when
error is returned from otx2_nix_configure.

Fixes: 548b5839a3 ("net/octeontx2: add device configure operation")

Signed-off-by: Krzysztof Kanas <kkanas@marvell.com>
Reviewed-by: Nithin Dabilpuram <ndabilpuram@marvell.com>
Acked-by: Jerin Jacob <jerinj@marvell.com>
2019-07-23 14:31:36 +02:00
..
Makefile net: deinline non-critical ethernet functions 2019-07-08 21:26:52 +02:00
meson.build net/octeontx2: support Tx 2019-07-05 01:52:02 +02:00
otx2_ethdev_debug.c net/octeontx2: support register dump 2019-07-05 01:52:01 +02:00
otx2_ethdev_devargs.c net/octeontx2: add devargs parsing functions 2019-07-05 01:52:01 +02:00
otx2_ethdev_irq.c net/octeontx2: support Rx interrupts 2019-07-05 01:52:02 +02:00
otx2_ethdev_ops.c net/octeontx2: add MTU set operation 2019-07-05 01:52:02 +02:00
otx2_ethdev.c net/octeontx2: fix driver reconfiguration 2019-07-23 14:31:36 +02:00
otx2_ethdev.h net/octeontx2: add link status operations 2019-07-05 01:52:02 +02:00
otx2_flow_ctrl.c common/octeontx2: support CNF95xx SoC 2019-07-14 15:39:49 +02:00
otx2_flow_parse.c net/octeontx2: support IPv6 ext parsing 2019-07-23 14:31:36 +02:00
otx2_flow_utils.c net/octeontx2: support flow API flags based extraction 2019-07-23 14:31:35 +02:00
otx2_flow.c net/octeontx2: support flow API flags based extraction 2019-07-23 14:31:35 +02:00
otx2_flow.h net/octeontx2: support flow API flags based extraction 2019-07-23 14:31:35 +02:00
otx2_link.c net/octeontx2: add link status operations 2019-07-05 01:52:02 +02:00
otx2_lookup.c net/octeontx2: support packet type 2019-07-05 01:52:01 +02:00
otx2_mac.c net/octeontx2: add unicast MAC filter 2019-07-05 01:52:01 +02:00
otx2_ptp.c net/octeontx2: add device start operation 2019-07-05 01:52:02 +02:00
otx2_rss.c net/octeontx2: support RSS 2019-07-05 01:52:01 +02:00
otx2_rx.c net/octeontx2: add Rx vector version 2019-07-05 01:52:02 +02:00
otx2_rx.h net/octeontx2: add Rx multi segment version 2019-07-05 01:52:02 +02:00
otx2_stats.c net/octeontx2: add extended stats operations 2019-07-05 01:52:01 +02:00
otx2_tm.c common/octeontx2: support CNF95xx SoC 2019-07-14 15:39:49 +02:00
otx2_tm.h net/octeontx2: enable Tx through traffic manager 2019-07-05 01:52:01 +02:00
otx2_tx.c net/octeontx2: add Tx vector version 2019-07-05 01:52:02 +02:00
otx2_tx.h net/octeontx2: add Tx multi segment version 2019-07-05 01:52:02 +02:00
otx2_vlan.c net/octeontx2: add device start operation 2019-07-05 01:52:02 +02:00
rte_pmd_octeontx2_version.map net/octeontx2: add build and doc infrastructure 2019-07-05 01:52:01 +02:00