From: Matthew Vick Date: Fri, 16 Mar 2012 09:02:59 +0000 (+0000) Subject: e1000e: Enable DMA Burst Mode on 82574 by default. X-Git-Tag: Ubuntu-5.4-5.4.0-11.14~18940^2~248^2~4 X-Git-Url: https://git.proxmox.com/?a=commitdiff_plain;h=2cb7a9cc008c25dc03314de563c00c107b3e5432;p=mirror_ubuntu-focal-kernel.git e1000e: Enable DMA Burst Mode on 82574 by default. 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 Tested-by: Jeff Pieper Signed-off-by: Jeff Kirsher --- diff --git a/drivers/net/ethernet/intel/e1000e/82571.c b/drivers/net/ethernet/intel/e1000e/82571.c index 609c18cb300a..d0ea316731fc 100644 --- a/drivers/net/ethernet/intel/e1000e/82571.c +++ b/drivers/net/ethernet/intel/e1000e/82571.c @@ -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,