-----Original Message----- > Date: Fri, 9 Nov 2018 11:20:55 +0530 > From: "Dabilpuram, Nithin" <[email protected]> > To: "[email protected]" <[email protected]>, "Jacob, Jerin" > <[email protected]>, "Czekaj, Maciej" > <[email protected]> > CC: "Nilla, Subrahmanyam" <[email protected]>, > "[email protected]" <[email protected]>, "Dabilpuram, Nithin" > <[email protected]> > Subject: [PATCH] net/thunderx: fix Tx desc corruption in scatter-gather > mode > > From: Subrahmanyam Nilla <[email protected]> > > 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: [email protected] > > Signed-off-by: Subrahmanyam Nilla <[email protected]> > Signed-off-by: Nithin Dabilpuram <[email protected]> > ---
Acked-by: Jerin Jacob <[email protected]>

