]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit29a94a6d978f9470884a8186e100bdc844125823
treefcada2032cce4607bd38c1c2671c31d8b29f04e6
parent54e18e336c29e745e1e8ee1562a1a8d113b6bbfa
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