igb: Do not factor VLANs into RLPML calculation
authorAlexander Duyck <aduyck@mirantis.com>
Thu, 7 Jan 2016 07:10:47 +0000 (23:10 -0800)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Tue, 16 Feb 2016 00:30:33 +0000 (16:30 -0800)
commitd3836f8e2517fb04328c673989fd780030926694
treefcada2032cce4607bd38c1c2671c31d8b29f04e6
parent45693bcb00cbd379c373ab22ccd9a9d4755cc7ed
igb: Do not factor VLANs into RLPML calculation

The RLPML registers already take the size of VLAN headers into account when
determining the maximum packet length.  This is called out in EAS documents
for several parts including the 82576 and the i350.  As such we can drop
the addition of size to the value programmed into the RLPML registers.

Signed-off-by: Alexander Duyck <aduyck@mirantis.com>
Tested-by: Aaron Brown <aaron.f.brown@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/ethernet/intel/igb/igb.h
drivers/net/ethernet/intel/igb/igb_main.c