[dpdk-dev] [PATCH] net/thunderx: fix Tx desc corruption in scatter-gather mode
Jerin Jacob
jerin.jacob at caviumnetworks.com
Fri Nov 9 09:20:15 CET 2018
-----Original Message-----
> Date: Fri, 9 Nov 2018 11:20:55 +0530
> From: "Dabilpuram, Nithin" <Nithin.Dabilpuram at cavium.com>
> To: "dev at dpdk.org" <dev at dpdk.org>, "Jacob, Jerin"
> <Jerin.JacobKollanukkaran at cavium.com>, "Czekaj, Maciej"
> <Maciej.Czekaj at cavium.com>
> CC: "Nilla, Subrahmanyam" <Subrahmanyam.Nilla at cavium.com>,
> "stable at dpdk.org" <stable at dpdk.org>, "Dabilpuram, Nithin"
> <Nithin.Dabilpuram at cavium.com>
> Subject: [PATCH] net/thunderx: fix Tx desc corruption in scatter-gather
> mode
>
> From: Subrahmanyam Nilla <snilla at caviumnetworks.com>
>
> 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 at dpdk.org
>
> Signed-off-by: Subrahmanyam Nilla <snilla at caviumnetworks.com>
> Signed-off-by: Nithin Dabilpuram <ndabilpuram at caviumnetworks.com>
> ---
Acked-by: Jerin Jacob <jerin.jacob at caviumnetworks.com>
More information about the dev
mailing list