[Intel-wired-lan] [PATCH next S35 v3 4/9] i40e: Refactor receive routine

Bowers, AndrewX andrewx.bowers at intel.com
Tue Apr 19 22:05:01 UTC 2016


> -----Original Message-----
> From: Intel-wired-lan [mailto:intel-wired-lan-bounces at lists.osuosl.org] On
> Behalf Of Jesse Brandeburg
> Sent: Monday, April 18, 2016 11:34 AM
> To: intel-wired-lan at lists.osuosl.org
> Subject: [Intel-wired-lan] [PATCH next S35 v3 4/9] i40e: Refactor receive
> routine
> 
> This is part 1 of the rx refactor series, just including changes to i40e.
> 
> This refactor aligns the receive routine with the one in ixgbe which was highly
> optimized.  This reduces the code we have to maintain and allows for
> (hopefully) more readable and maintainable RX hot path.
> 
> In order to do this:
> - consolidate the receive path into a single function that doesn't
>   use packet split but *does* use pages for rx buffers.
> - remove the old _1buf routine
> - consolidate several routines into helper functions
> - remove ethtool control over packet split
> 
> Signed-off-by: Jesse Brandeburg <jesse.brandeburg at intel.com>
> Change-ID: I5ca100721de65992aa0114f8b4bac844b84758e0
> 
> ---
> v3: move dma sync into always used path
>     move setting of rx queue into process skb fields
> 
> v2: code was split into more reviewable chunks
> ---
>  drivers/net/ethernet/intel/i40e/i40e.h         |   1 -
>  drivers/net/ethernet/intel/i40e/i40e_debugfs.c |   9 +-
>  drivers/net/ethernet/intel/i40e/i40e_ethtool.c |   1 -
>  drivers/net/ethernet/intel/i40e/i40e_main.c    |  16 +-
>  drivers/net/ethernet/intel/i40e/i40e_txrx.c    | 772 ++++++++++++++++-----
> ----
>  drivers/net/ethernet/intel/i40e/i40e_txrx.h    |  37 +-
>  6 files changed, 532 insertions(+), 304 deletions(-)

Tested-by: Andrew Bowers <andrewx.bowers at intel.com>
Changes present in debugfs dump stats, ethtool no longer shows packet split options


More information about the Intel-wired-lan mailing list