]> 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)
commit2e80d72b19ad1ffd9ba3202d3207ac6cc8fd383a
treefcada2032cce4607bd38c1c2671c31d8b29f04e6
parent8f1730bd5e2be7d91c0ae18dddf2d978434cd787
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