e1000e: Enable DMA Burst Mode on 82574 by default.
authorMatthew Vick <matthew.vick@intel.com>
Fri, 16 Mar 2012 09:02:59 +0000 (09:02 +0000)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Fri, 27 Apr 2012 09:19:35 +0000 (02:19 -0700)
Performance testing has shown that enabling DMA burst on 82574
improves performance on small packets, so enable it by default.

Signed-off-by: Matthew Vick <matthew.vick@intel.com>
Tested-by: Jeff Pieper <jeffrey.e.pieper@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/ethernet/intel/e1000e/82571.c

index 609c18cb300ad61e7acc6aeb304387c9738beb1a..d0ea316731fc11cfcd402afc9d562fc6677d27f8 100644 (file)
@@ -2062,7 +2062,8 @@ const struct e1000_info e1000_82574_info = {
                                  | FLAG_HAS_CTRLEXT_ON_LOAD,
        .flags2                   = FLAG2_CHECK_PHY_HANG
                                  | FLAG2_DISABLE_ASPM_L0S
-                                 | FLAG2_NO_DISABLE_RX,
+                                 | FLAG2_NO_DISABLE_RX
+                                 | FLAG2_DMA_BURST,
        .pba                    = 32,
        .max_hw_frame_size      = DEFAULT_JUMBO,
        .get_variants           = e1000_get_variants_82571,