numam-dpdk/drivers/net/thunderx
Subrahmanyam Nilla 823ebfc219 net/thunderx: fix Tx desc corruption in scatter-gather mode
For performance reasons, word1 of send_hdr_s
sub descriptor was not cleared assuming it is always
having default value of zero since it comes from fixed
offsets of SQ buffer.
This is causing issues in case of SG mode because,
the size of send command might change and hence the word1
of send_hdr_s is not always at fixed offsets of the SQ buffer
and hence not having default value of zero.

This fixes the issue by clearing the word1 in case of SG mode
for every packet.

Fixes: 1c421f18e0 ("net/thunderx: add single and multi-segment Tx")
Cc: stable@dpdk.org

Signed-off-by: Subrahmanyam Nilla <snilla@caviumnetworks.com>
Signed-off-by: Nithin Dabilpuram <nithin.dabilpuram@caviumnetworks.com>
Acked-by: Jerin Jacob <jerin.jacob@caviumnetworks.com>
2018-11-14 00:35:53 +01:00
..
base net/*/base: allow use of experimental APIs in base code 2018-09-28 01:41:01 +02:00
Makefile drivers/net: build Cavium NIC PMDs with meson 2018-01-30 21:58:59 +01:00
meson.build drivers/net: build Cavium NIC PMDs with meson 2018-01-30 21:58:59 +01:00
nicvf_ethdev.c ethdev: make default behavior CRC strip on Rx 2018-09-14 20:08:41 +02:00
nicvf_ethdev.h ethdev: make default behavior CRC strip on Rx 2018-09-14 20:08:41 +02:00
nicvf_logs.h
nicvf_rxtx.c net/thunderx: fix Tx desc corruption in scatter-gather mode 2018-11-14 00:35:53 +01:00
nicvf_rxtx.h net/thunderx: support Rx VLAN offload 2018-07-23 23:55:26 +02:00
nicvf_struct.h net/thunderx: support Rx VLAN offload 2018-07-23 23:55:26 +02:00
nicvf_svf.c
nicvf_svf.h
rte_pmd_thunderx_version.map drivers/net: build Cavium NIC PMDs with meson 2018-01-30 21:58:59 +01:00