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)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Mon, 4 May 2015 08:26:44 +0000 (01:26 -0700)
commit55e7fe5b9cd94e6accb128e6a1e5902e9018deef
treef056d105f5e5fbeadff603eca458b11be3211dfa
parent8084b86dcfbc4b4822868c1dbdb429b5c08154e2
e1000e: Do not allow CRC stripping to be disabled on 82579 w/ jumbo frames

 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>
drivers/net/ethernet/intel/e1000e/netdev.c