numam-dpdk/drivers/net/fm10k
Xiao Wang e62d90f2a2 net/fm10k: fix descriptor filling in vector Tx
The shift left operation "pkt->vlan_tci << 16" gets vlan_tci extended
to signed type and may cause invalid descriptor. Also the same issue for
the "data_len" field. This patch fixes it by casting them to uint64_t.

Fixes: 21f13c541e ("fm10k: add vector Tx")
Cc: stable@dpdk.org

Signed-off-by: Xiao Wang <xiao.w.wang@intel.com>
Acked-by: Qi Zhang <qi.z.zhang@intel.com>
2019-07-08 21:26:52 +02:00
..
base net/*/base: allow use of experimental APIs in base code 2018-09-28 01:41:01 +02:00
fm10k_ethdev.c net: add rte prefix to ether defines 2019-05-24 13:34:45 +02:00
fm10k_logs.h net/fm10k: implement dynamic logging 2018-01-16 18:47:49 +01:00
fm10k_rxtx_vec.c net/fm10k: fix descriptor filling in vector Tx 2019-07-08 21:26:52 +02:00
fm10k_rxtx.c mbuf: clarify outer offsets for non-tunnel packets 2019-07-01 17:15:01 +02:00
fm10k.h net: add rte prefix to ether defines 2019-05-24 13:34:45 +02:00
Makefile drivers/net: fix icc deprecated parameter warning 2018-04-14 00:43:30 +02:00
meson.build build: replace license text with SPDX tag 2018-01-30 21:58:59 +01:00
rte_pmd_fm10k_version.map fm10k: move to drivers/net/ 2015-05-22 16:06:22 +02:00