[Intel-wired-lan] [next PATCH S63 1/6] i40e/i40evf: Use length to determine if descriptor is done

Bowers, AndrewX andrewx.bowers at intel.com
Tue Mar 21 16:39:14 UTC 2017


> -----Original Message-----
> From: Intel-wired-lan [mailto:intel-wired-lan-bounces at lists.osuosl.org] On
> Behalf Of Bimmy Pujari
> Sent: Tuesday, March 14, 2017 10:15 AM
> To: intel-wired-lan at lists.osuosl.org
> Subject: [Intel-wired-lan] [next PATCH S63 1/6] i40e/i40evf: Use length to
> determine if descriptor is done
> 
> From: Alexander Duyck <alexander.h.duyck at intel.com>
> 
> This change makes it so that we use the length of the packet instead of the
> DD status bit to determine if a new descriptor is ready to be processed.
> The obvious advantage is that it cuts down on reads as we don't really even
> need the DD bit if going from a 0 to a non-zero value on size is enough to
> inform us that the packet has been completed.
> 
> Signed-off-by: Alexander Duyck <alexander.h.duyck at intel.com>
> Change-ID: Iebdf9cdb36c454ef092df27199b92ad09c374231
> ---
> Testing Hints:
>         Perform various Rx tests to verify we are not corrupting any Rx data.
> 
>  drivers/net/ethernet/intel/i40e/i40e_txrx.c   | 24 ++++++++++++------------
>  drivers/net/ethernet/intel/i40evf/i40e_txrx.c | 24 ++++++++++++------------
>  2 files changed, 24 insertions(+), 24 deletions(-)

Tested-by: Andrew Bowers <andrewx.bowers at intel.com>




More information about the Intel-wired-lan mailing list