[dpdk-dev] [dpdk-stable] [PATCH] net/thunderx: fix Tx desc corruption in scatter-gather mode

Ferruh Yigit ferruh.yigit at intel.com
Fri Nov 9 21:25:52 CET 2018


On 11/9/2018 8:20 AM, Jerin Jacob wrote:
<...>
>> 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>

Applied to dpdk-next-net/master, thanks.


More information about the dev mailing list