]> git.baikalelectronics.ru Git - kernel.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)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Mon, 4 May 2015 08:26:44 +0000 (01:26 -0700)
commitc1153d985c9eec7ec3bd5c45d59b5e198ab467c3
treef056d105f5e5fbeadff603eca458b11be3211dfa
parentb4c6217f22351b9244844d506fb18b83a5f49ed2
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