net/sfc: check added but not completed descs on EF10 Tx reap
authorAndrew Rybchenko <arybchenko@solarflare.com>
Fri, 26 May 2017 13:50:43 +0000 (14:50 +0100)
committerFerruh Yigit <ferruh.yigit@intel.com>
Mon, 12 Jun 2017 09:41:27 +0000 (10:41 +0100)
commit3fd7797fcda9531885f6242c0e076e8ea65f296f
treed110fa10dc45e6b1ed87dc69a238d2f7f10737d1
parent96b00e3a6ab780e0193004c10dbd45511933737a
net/sfc: check added but not completed descs on EF10 Tx reap

There is not point to check other Tx descriptors.
It is important if Tx datapath does not reset Tx descriptor
mbuf pointer to NULL on completion (EF10 simple Tx will do).

Signed-off-by: Andrew Rybchenko <arybchenko@solarflare.com>
Reviewed-by: Andy Moreton <amoreton@solarflare.com>
Reviewed-by: David Riddoch <driddoch@solarflare.com>
drivers/net/sfc/sfc_ef10_tx.c