|
@@ -758,7 +758,13 @@ static s32 e1000_get_variants_ich8lan(struct e1000_adapter *adapter)
|
|
|
if (rc)
|
|
|
return rc;
|
|
|
|
|
|
- if (adapter->hw.phy.type == e1000_phy_ife) {
|
|
|
+ /*
|
|
|
+ * Disable Jumbo Frame support on parts with Intel 10/100 PHY or
|
|
|
+ * on parts with MACsec enabled in NVM (reflected in CTRL_EXT).
|
|
|
+ */
|
|
|
+ if ((adapter->hw.phy.type == e1000_phy_ife) ||
|
|
|
+ ((adapter->hw.mac.type >= e1000_pch2lan) &&
|
|
|
+ (!(er32(CTRL_EXT) & E1000_CTRL_EXT_LSECCK)))) {
|
|
|
adapter->flags &= ~FLAG_HAS_JUMBO_FRAMES;
|
|
|
adapter->max_hw_frame_size = ETH_FRAME_LEN + ETH_FCS_LEN;
|
|
|
}
|