> -Original Message-
> From: Wang, Xiao W
> Sent: Wednesday, July 3, 2019 10:54 AM
> To: Zhang, Qi Z
> Cc: dev@dpdk.org; Kiejdo, Marek ; Wang, Xiao W
> ; sta...@dpdk.org
> Subject: [PATCH] net/fm10k: fix descriptor filling in vector Tx
>
> The shift left operation "pkt->vlan_tci << 16"
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: 21f13c541eb0 ("fm10k: add vector Tx")
Cc: sta...@dpdk.org
Signed-off-by: Xia
2 matches
Mail list logo