]> www.infradead.org Git - users/jedix/linux-maple.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)
committerKirtikar Kashyap <kirtikar.kashyap@oracle.com>
Thu, 22 Jun 2017 21:28:29 +0000 (14:28 -0700)
commit2a0b79eaef05040c2cc29f7b52b347bc460feb08
treef075d756050f71562a70a71e6e207687a357a0d7
parent8bc573ca5566a3fb42c52c40e441f47fb1aba04a
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>
(cherry picked from commit d3836f8e2517fb04328c673989fd780030926694)

Orabug: 26325580

Signed-off-by: Kirtikar Kashyap <kirtikar.kashyap@oracle.com>
Reviewed-by: Jack Vogel <jack.vogel@oracle.com>
drivers/net/ethernet/intel/igb/igb.h
drivers/net/ethernet/intel/igb/igb_main.c