numam-dpdk/drivers/net/bnxt
Kalesh AP 52b0e588eb net/bnxt: fix error messages in VNIC prepare
The bnxt_vnic_prep() can fail due to multiple reasons.
But when bnxt_vnic_prep() fails, PMD is not returning
the actual error/string to the application.

Fix it by moving the "rte_flow_error_set" to bnxt_vnic_prep()
to set the actual error code.

Fixes: d24610f7bf ("net/bnxt: allow flow creation when RSS is enabled")
Cc: stable@dpdk.org

Signed-off-by: Kalesh AP <kalesh-anakkur.purayil@broadcom.com>
Reviewed-by: Somnath Kotur <somnath.kotur@broadcom.com>
Reviewed-by: Ajit Khaparde <ajit.khaparde@broadcom.com>
Reviewed-by: Venkat Duvvuru <venkatkumar.duvvuru@broadcom.com>
2021-06-08 23:29:18 +02:00
..
hcapi net/bnxt: update copyright year 2021-01-29 18:16:10 +01:00
tf_core net/bnxt: update copyright year 2021-01-29 18:16:10 +01:00
tf_ulp net/bnxt: update copyright year 2021-01-29 18:16:10 +01:00
bnxt_cpr.c net/bnxt: handle echo request async message 2021-03-12 07:00:22 +01:00
bnxt_cpr.h net/bnxt: fix Rx queue count 2021-03-01 01:26:10 +01:00
bnxt_ethdev.c net/bnxt: workaround spurious zero stats in Thor 2021-06-08 23:01:29 +02:00
bnxt_filter.c net/bnxt: update copyright year 2021-01-29 18:16:10 +01:00
bnxt_filter.h net/bnxt: update copyright year 2021-01-29 18:16:10 +01:00
bnxt_flow.c net/bnxt: fix error messages in VNIC prepare 2021-06-08 23:29:18 +02:00
bnxt_hwrm.c net/bnxt: workaround spurious zero stats in Thor 2021-06-08 23:01:29 +02:00
bnxt_hwrm.h net/bnxt: workaround spurious zero stats in Thor 2021-06-08 23:01:29 +02:00
bnxt_irq.c net/bnxt: check access to possible null pointer 2021-06-07 23:14:12 +02:00
bnxt_irq.h net/bnxt: rename a member to avoid conflict 2021-03-12 07:13:49 +01:00
bnxt_nvm_defs.h net/bnxt: update copyright year 2021-01-29 18:16:10 +01:00
bnxt_reps.c net/bnxt: drop unused attribute 2021-04-24 21:23:09 +02:00
bnxt_reps.h net/bnxt: update copyright year 2021-01-29 18:16:10 +01:00
bnxt_ring.c net/bnxt: optimize Tx completion handling 2021-03-12 16:07:33 +01:00
bnxt_ring.h net/bnxt: update copyright year 2021-01-29 18:16:10 +01:00
bnxt_rxq.c net/bnxt: refactor multi-queue Rx configuration 2021-05-03 00:14:58 +02:00
bnxt_rxq.h net/bnxt: detect bad opaque in Rx completion 2021-06-08 19:17:25 +02:00
bnxt_rxr.c net/bnxt: detect bad opaque in Rx completion 2021-06-08 19:17:25 +02:00
bnxt_rxr.h net/bnxt: detect bad opaque in Rx completion 2021-06-08 19:17:25 +02:00
bnxt_rxtx_vec_avx2.c net/bnxt: add AVX2 RX/Tx 2021-06-07 23:36:13 +02:00
bnxt_rxtx_vec_common.h net/bnxt: optimize Tx completion handling 2021-03-12 16:07:33 +01:00
bnxt_rxtx_vec_neon.c net/bnxt: add AVX2 RX/Tx 2021-06-07 23:36:13 +02:00
bnxt_rxtx_vec_sse.c net/bnxt: add AVX2 RX/Tx 2021-06-07 23:36:13 +02:00
bnxt_stats.c net/bnxt: workaround spurious zero stats in Thor 2021-06-08 23:01:29 +02:00
bnxt_stats.h net/bnxt: drop unused attribute 2021-04-24 21:23:09 +02:00
bnxt_txq.c net/bnxt: optimize Tx completion handling 2021-03-12 16:07:33 +01:00
bnxt_txq.h net/bnxt: update copyright year 2021-01-29 18:16:10 +01:00
bnxt_txr.c net/bnxt: fix Tx length hint threshold 2021-03-19 20:29:56 +01:00
bnxt_txr.h net/bnxt: add AVX2 RX/Tx 2021-06-07 23:36:13 +02:00
bnxt_util.c net/bnxt: update copyright year 2021-01-29 18:16:10 +01:00
bnxt_util.h net/bnxt: fix firmware fatal error handling 2021-03-12 07:00:22 +01:00
bnxt_vnic.c net/bnxt: use prefix on global function 2021-04-24 21:39:12 +02:00
bnxt_vnic.h net/bnxt: use prefix on global function 2021-04-24 21:39:12 +02:00
bnxt.h net/bnxt: workaround spurious zero stats in Thor 2021-06-08 23:01:29 +02:00
hsi_struct_def_dpdk.h net/bnxt: update HWRM structures 2021-03-12 07:00:21 +01:00
meson.build net/bnxt: add AVX2 RX/Tx 2021-06-07 23:36:13 +02:00
rte_pmd_bnxt.c net/bnxt: update copyright year 2021-01-29 18:16:10 +01:00
rte_pmd_bnxt.h net/bnxt: update copyright year 2021-01-29 18:16:10 +01:00
version.map build: remove library name from version map file name 2020-10-19 22:13:59 +02:00