[Intel-wired-lan] [next PATCH v5 05/12] igb: Limit maximum frame Rx based on MTU

Brown, Aaron F aaron.f.brown at intel.com
Fri Feb 17 03:27:43 UTC 2017


> From: Intel-wired-lan [mailto:intel-wired-lan-bounces at lists.osuosl.org] On
> Behalf Of Alexander Duyck
> Sent: Monday, February 6, 2017 6:26 PM
> To: intel-wired-lan at lists.osuosl.org; Kirsher, Jeffrey T
> <jeffrey.t.kirsher at intel.com>
> Subject: [Intel-wired-lan] [next PATCH v5 05/12] igb: Limit maximum frame
> Rx based on MTU
> 
> From: Alexander Duyck <alexander.h.duyck at intel.com>
> 
> In order to support the use of build_skb going forward it will be necessary
> to place a maximum limit on the amount of data we can receive when jumbo
> frames is not enabled.  In order to do this I am adding a new upper limit
> for receive based on the size of a 2K buffer minus padding.
> 
> Signed-off-by: Alexander Duyck <alexander.h.duyck at intel.com>
> ---
> v5: Fixed bug where RLPML was not set for 82575, i210, and i211 interfaces.
> 
>  drivers/net/ethernet/intel/igb/igb.h      |   10 +++++++++-
>  drivers/net/ethernet/intel/igb/igb_main.c |   21 +++++++++++++++++----
>  2 files changed, 26 insertions(+), 5 deletions(-)

Tested-by: Aaron Brown <aaron.f.brown at intel.com>


More information about the Intel-wired-lan mailing list