On 11/9/2018 8:20 AM, Jerin Jacob wrote: <...> >> From: Subrahmanyam Nilla <sni...@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: sta...@dpdk.org >> >> Signed-off-by: Subrahmanyam Nilla <sni...@caviumnetworks.com> >> Signed-off-by: Nithin Dabilpuram <ndabilpu...@caviumnetworks.com> >> --- > > Acked-by: Jerin Jacob <jerin.ja...@caviumnetworks.com>
Applied to dpdk-next-net/master, thanks.