]> git.karo-electronics.de Git - linux-beck.git/commitdiff
e1000e: Add Jumbo Frame support to 82583 devices
authorCarolyn Wyborny <carolyn.wyborny@intel.com>
Tue, 12 Jul 2011 16:10:11 +0000 (16:10 +0000)
committerDavid S. Miller <davem@davemloft.net>
Wed, 13 Jul 2011 05:07:56 +0000 (22:07 -0700)
This patch adds support for the Jumbo Frames feature on 82583 devices.

Signed-off-by: Carolyn Wyborny <carolyn.wyborny@intel.com>
Tested-by: Aaron Brown <aaron.f.brown@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/e1000e/82571.c

index 8295f21924393e805268d629881b446b8eeed69c..480f2592f8a513584afb2b68e973bbc39e326fd4 100644 (file)
@@ -431,8 +431,6 @@ static s32 e1000_get_variants_82571(struct e1000_adapter *adapter)
                        adapter->flags &= ~FLAG_HAS_WOL;
                break;
        case e1000_82573:
-       case e1000_82574:
-       case e1000_82583:
                if (pdev->device == E1000_DEV_ID_82573L) {
                        adapter->flags |= FLAG_HAS_JUMBO_FRAMES;
                        adapter->max_hw_frame_size = DEFAULT_JUMBO;
@@ -2104,10 +2102,11 @@ struct e1000_info e1000_82583_info = {
                                  | FLAG_RX_CSUM_ENABLED
                                  | FLAG_HAS_SMART_POWER_DOWN
                                  | FLAG_HAS_AMT
+                                 | FLAG_HAS_JUMBO_FRAMES
                                  | FLAG_HAS_CTRLEXT_ON_LOAD,
        .flags2                 = FLAG2_DISABLE_ASPM_L0S,
        .pba                    = 32,
-       .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,