]> www.infradead.org Git - users/jedix/linux-maple.git/commit
e1000e: Do not allow CRC stripping to be disabled on 82579 w/ jumbo frames
authorAlexander Duyck <alexander.h.duyck@redhat.com>
Sat, 2 May 2015 08:09:59 +0000 (01:09 -0700)
committerBrian Maly <brian.maly@oracle.com>
Fri, 4 Sep 2015 17:56:28 +0000 (13:56 -0400)
commitedcedb903ecc670c7c69f07a2f745bf874e7235c
treef20331e88e3cf3b1a3242d66986f685aa5fc0639
parent1c62745ac97ad7aed701f423fd3dbde1a0a0bb99
e1000e: Do not allow CRC stripping to be disabled on 82579 w/ jumbo frames

Orabug: 21792108

 The driver wasn't allowing jumbo frames to be
 enabled when CRC stripping was disabled, however it was allowing CRC
 stripping to be disabled while jumbo frames were enabled.  This fixes that by
 making it so that the NETIF_F_RXFCS flag cannot be set when jumbo frames are
 enabled on 82579 and newer parts.

Signed-off-by: Alexander Duyck <alexander.h.duyck@redhat.com>
Tested-by: Aaron Brown <aaron.f.brown@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
(cherry picked from commit 55e7fe5b9cd94e6accb128e6a1e5902e9018deef)
Signed-off-by: Brian Maly <brian.maly@oracle.com>
drivers/net/ethernet/intel/e1000e/netdev.c