-----Original Message----- > Date: Fri, 9 Nov 2018 11:20:55 +0530 > From: "Dabilpuram, Nithin" <nithin.dabilpu...@cavium.com> > To: "dev@dpdk.org" <dev@dpdk.org>, "Jacob, Jerin" > <jerin.jacobkollanukka...@cavium.com>, "Czekaj, Maciej" > <maciej.cze...@cavium.com> > CC: "Nilla, Subrahmanyam" <subrahmanyam.ni...@cavium.com>, > "sta...@dpdk.org" <sta...@dpdk.org>, "Dabilpuram, Nithin" > <nithin.dabilpu...@cavium.com> > Subject: [PATCH] net/thunderx: fix Tx desc corruption in scatter-gather > mode > > 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>