From mboxrd@z Thu Jan 1 00:00:00 1970 From: Eric Dumazet Subject: RE: Low performance Intel 10GE NIC (3.2.10) on 2.6.38 Kernel Date: Fri, 08 Apr 2011 11:49:18 +0200 Message-ID: <1302256158.4409.6.camel@edumazet-laptop> References: <1302152327.2701.50.camel@edumazet-laptop> <1302153412.2701.64.camel@edumazet-laptop> <1302157012.2701.73.camel@edumazet-laptop> <1302163650.3357.8.camel@edumazet-laptop> <1302167168.3357.12.camel@edumazet-laptop> <1302176811.3357.15.camel@edumazet-laptop> <4D9DDF43.9080302@intel.com> <1302192218.3357.47.camel@edumazet-laptop> <4D9DE465.1080008@intel.com> <1302253651.4409.2.camel@edumazet-laptop> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: QUOTED-PRINTABLE Cc: Alexander Duyck , netdev , "Kirsher, Jeffrey T" To: Wei Gu Return-path: Received: from mail-wy0-f174.google.com ([74.125.82.174]:36715 "EHLO mail-wy0-f174.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751615Ab1DHJtX (ORCPT ); Fri, 8 Apr 2011 05:49:23 -0400 Received: by wya21 with SMTP id 21so2932456wya.19 for ; Fri, 08 Apr 2011 02:49:21 -0700 (PDT) In-Reply-To: Sender: netdev-owner@vger.kernel.org List-ID: Le vendredi 08 avril 2011 =C3=A0 17:15 +0800, Wei Gu a =C3=A9crit : > Yeap, you are right, right now I will try the CONFIG_DMAR off:) >=20 > If you guys know the relation between CONFIG_DMAR and CONFIG_DMAR_DEF= AULT_ON, please let me know:) CONFIG_DMAR_DEFAULT_ON is ON by default since linux-2.6.29 and commit commit f6be37fdc62d0c0214bc49815d1180ebfbd716e2 Author: Kyle McMartin Date: Thu Feb 26 12:57:56 2009 -0500 x86: enable DMAR by default =20 Now that the obvious bugs have been worked out, specifically the iwlagn issue, and the write buffer errata, DMAR should be safe to turn back on by default. (We've had it on since those patches were first written a few weeks ago, without any noticeable bug reports (most have been due to the dma-api debug patchset.)) =20 Signed-off-by: Kyle McMartin Acked-by: David Woodhouse Signed-off-by: Ingo Molnar diff --git a/arch/x86/Kconfig b/arch/x86/Kconfig index 9c39095..bc2fbad 100644 --- a/arch/x86/Kconfig +++ b/arch/x86/Kconfig @@ -1803,7 +1803,7 @@ config DMAR remapping devices. =20 config DMAR_DEFAULT_ON - def_bool n + def_bool y prompt "Enable DMA Remapping Devices by default" depends on DMAR help git describe --contains f6be37fd v2.6.29-rc7~24^2 But the .config used to build your 2.6.32 kernel, had it set to OFF