[Intel-wired-lan] [next PATCH v2 05/11] ixgbe: Make use of order 1 pages and 3K buffers independent of FCoE

Bowers, AndrewX andrewx.bowers at intel.com
Tue Jan 31 17:34:40 UTC 2017


> -----Original Message-----
> From: Intel-wired-lan [mailto:intel-wired-lan-bounces at lists.osuosl.org] On
> Behalf Of Alexander Duyck
> Sent: Tuesday, January 17, 2017 8:36 AM
> To: intel-wired-lan at lists.osuosl.org; Kirsher, Jeffrey T
> <jeffrey.t.kirsher at intel.com>
> Subject: [Intel-wired-lan] [next PATCH v2 05/11] ixgbe: Make use of order 1
> pages and 3K buffers independent of FCoE
> 
> From: Alexander Duyck <alexander.h.duyck at intel.com>
> 
> In order to support build_skb with jumbo frames it will be necessary to use
> 3K buffers for the Rx path with 8K pages backing them.  This is needed on
> architectures that implement 4K pages because we can't support 2K buffers
> plus padding in a 4K page.
> 
> In the case of systems that support page sizes larger than 4K the 3K attribute
> will only be applied to FCoE as we can fall back to using just 2K buffers and
> adding the padding.
> 
> Signed-off-by: Alexander Duyck <alexander.h.duyck at intel.com>
> ---
>  drivers/net/ethernet/intel/ixgbe/ixgbe.h      |   20 +++++++++-----------
>  drivers/net/ethernet/intel/ixgbe/ixgbe_main.c |   19 +++++++++++++------
>  2 files changed, 22 insertions(+), 17 deletions(-)

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




More information about the Intel-wired-lan mailing list