| Submitter | Alexander Duyck |
|---|---|
| Date | Sept. 27, 2009, 2:14 a.m. |
| Message ID | <5f2db9d90909261914l3a927f4cya1dc5e4548688bce@mail.gmail.com> |
| Download | mbox | patch |
| Permalink | /patch/34339/ |
| State | Awaiting Upstream |
| Delegated to: | David Miller |
| Headers | show |
Comments
On 27 Sep 2009, Alexander Duyck said: > It looks like the problem is that the 82574 and 82583 seem to have > their max_hw_frame_size values swapped. You might try applying the > patch below. I am not sure if it will apply since I hand generated it Applies fine: works fine. Thank you! > using the git patch that seems to have introduced the problem, and I > am sending the patch through an untested account that may mangle the > patch. Unmangled. > I will see about submitting an official patch for this > sometime next few days. I wonder if this belongs in -stable? People with an 82574 who are using jumbo frames may well find their networks not coming up, if like me they set a bunch of properties in one /sbin/ip call. -- To unsubscribe from this list: send the line "unsubscribe netdev" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
Patch
diff --git a/drivers/net/e1000e/82571.c b/drivers/net/e1000e/82571.c --- a/drivers/net/e1000e/82571.c +++ b/drivers/net/e1000e/82571.c @@ -1803,7 +1803,7 @@ struct e1000_info e1000_82574_info = { | FLAG_HAS_AMT | FLAG_HAS_CTRLEXT_ON_LOAD, .pba = 20, - .max_hw_frame_size = ETH_FRAME_LEN + ETH_FCS_LEN, + .max_hw_frame_size = DEFAULT_JUMBO, .get_variants = e1000_get_variants_82571, .mac_ops = &e82571_mac_ops, .phy_ops = &e82_phy_ops_bm, @@ -1820,7 +1820,7 @@ struct e1000_info e1000_82583_info = { | FLAG_HAS_AMT | FLAG_HAS_CTRLEXT_ON_LOAD, .pba = 20, - .max_hw_frame_size = DEFAULT_JUMBO, + .max_hw_frame_size = ETH_FRAME_LEN + ETH_FCS_LEN, .get_variants = e1000_get_variants_82571, .mac_ops = &e82571_mac_ops, .phy_ops = &e82_phy_ops_bm,