numam-dpdk/drivers/net/i40e
Andy Pei 343b8e4ada net/i40e: fix crash when TxQ/RxQ set to 0 in VF
Testpmd would stuck and result in core dump when user specifies an
invalid VF queue number, for example when setting txq or rxq to 0.
When txq or rxq is set to 0, pointer of pointer rxq or txq in
function i40evf_configure_vsi_queues is NULL. The usage of txq[i]
or rxq[0] is valid. This patch fixes this issue.

Fixes: d6b1972909 ("i40evf: support configurable crc stripping")
Cc: stable@dpdk.org

Signed-off-by: Andy Pei <andy.pei@intel.com>
Acked-by: Qi Zhang <qi.z.zhang@intel.com>
2019-07-05 01:52:01 +02:00
..
base build: warn on unused parameter 2019-06-04 00:22:50 +02:00
i40e_ethdev_vf.c net/i40e: fix crash when TxQ/RxQ set to 0 in VF 2019-07-05 01:52:01 +02:00
i40e_ethdev.c drivers/net: fix double free on init failure 2019-06-28 20:31:49 +02:00
i40e_ethdev.h net/i40e: allow VF to configure pctype mapping 2019-06-20 23:42:04 +02:00
i40e_fdir.c net: replace IPv4/v6 constants with uppercase name 2019-06-03 16:54:54 +02:00
i40e_flow.c net/i40e: fix uninitialized value 2019-06-13 23:54:30 +09:00
i40e_logs.h drivers: use SPDX tag for Intel copyright files 2018-01-04 22:41:39 +01:00
i40e_pf.c net: add rte prefix to ether defines 2019-05-24 13:34:45 +02:00
i40e_pf.h net/i40e: support AVF basic interface 2018-01-16 18:47:49 +01:00
i40e_regs.h drivers: use SPDX tag for Intel copyright files 2018-01-04 22:41:39 +01:00
i40e_rxtx_vec_altivec.c ethdev: separate driver APIs 2018-01-22 01:26:49 +01:00
i40e_rxtx_vec_avx2.c net/i40e: fix rearm check in AVX2 Rx 2018-08-01 02:41:29 +02:00
i40e_rxtx_vec_common.h net/i40e: fix Rx instability with vector mode 2018-11-05 16:50:14 +01:00
i40e_rxtx_vec_neon.c net/i40e: convert to SPDX license tag 2018-05-25 12:32:00 +02:00
i40e_rxtx_vec_sse.c ethdev: separate driver APIs 2018-01-22 01:26:49 +01:00
i40e_rxtx.c mbuf: clarify outer offsets for non-tunnel packets 2019-07-01 17:15:01 +02:00
i40e_rxtx.h net/i40e: check illegal packets 2018-07-03 01:35:58 +02:00
i40e_tm.c drivers: use SPDX tag for Intel copyright files 2018-01-04 22:41:39 +01:00
i40e_vf_representor.c net: add rte prefix to ether structures 2019-05-24 13:34:45 +02:00
Makefile net/i40e: eliminate weak symbols in data path 2019-06-13 23:54:29 +09:00
meson.build net/i40e: eliminate weak symbols in data path 2019-06-13 23:54:29 +09:00
rte_pmd_i40e_version.map net/i40e: support input set configuration 2018-01-16 18:47:49 +01:00
rte_pmd_i40e.c net/i40e: allow VF to configure pctype mapping 2019-06-20 23:42:04 +02:00
rte_pmd_i40e.h net: add rte prefix to ether structures 2019-05-24 13:34:45 +02:00