From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga14.intel.com (mga14.intel.com [192.55.52.115]) by dpdk.org (Postfix) with ESMTP id DF02091AD for ; Wed, 25 Nov 2015 15:26:10 +0100 (CET) Received: from orsmga003.jf.intel.com ([10.7.209.27]) by fmsmga103.fm.intel.com with ESMTP; 25 Nov 2015 06:26:09 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.20,342,1444719600"; d="scan'208";a="694208445" Received: from irvmail001.ir.intel.com ([163.33.26.43]) by orsmga003.jf.intel.com with ESMTP; 25 Nov 2015 06:26:08 -0800 Received: from sivswdev02.ir.intel.com (sivswdev02.ir.intel.com [10.237.217.46]) by irvmail001.ir.intel.com (8.14.3/8.13.6/MailSET/Hub) with ESMTP id tAPEQ2Za011069; Wed, 25 Nov 2015 14:26:02 GMT Received: from sivswdev02.ir.intel.com (localhost [127.0.0.1]) by sivswdev02.ir.intel.com with ESMTP id tAPEQ2qu005924; Wed, 25 Nov 2015 14:26:02 GMT Received: (from jmcnam2@localhost) by sivswdev02.ir.intel.com with id tAPEQ2gg005920; Wed, 25 Nov 2015 14:26:02 GMT From: John McNamara To: dev@dpdk.org Date: Wed, 25 Nov 2015 14:26:00 +0000 Message-Id: <1448461560-5887-1-git-send-email-john.mcnamara@intel.com> X-Mailer: git-send-email 1.7.4.1 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Subject: [dpdk-dev] =?utf-8?q?=5BPATCH=5D_doc=3A_update_docs_for_minimum_k?= =?utf-8?q?ernel_requirement=2E?= X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 25 Nov 2015 14:26:11 -0000 Update the documentation to reflect that the minimum Linux kernel requirement for DPDK 2.2 has increased from 2.6.33 to 2.6.34. Compatibility with kernel 2.6.33 was dropped, after discussion on the mailing list, in the following commit: Commit: 2e6e9e215703 ("igb_uio: use existing PCI macros") Signed-off-by: John McNamara --- Original discussions leading to this patch: http://thread.gmane.org/gmane.comp.networking.dpdk.devel/23523 doc/guides/faq/faq.rst | 19 ------------------- doc/guides/linux_gsg/sys_reqs.rst | 6 +----- doc/guides/rel_notes/release_2_2.rst | 3 +++ 3 files changed, 4 insertions(+), 24 deletions(-) diff --git a/doc/guides/faq/faq.rst b/doc/guides/faq/faq.rst index 0686e17..d58673b 100644 --- a/doc/guides/faq/faq.rst +++ b/doc/guides/faq/faq.rst @@ -160,25 +160,6 @@ This is especially true when using a large number (>512) of 2 MB huge pages. Ple This can be done either by issuing a ulimit command or editing the limits.conf file. Please consult Linux* manpages for usage information. -Does my kernel require patching to run the DPDK? ------------------------------------------------- - -Any kernel greater than version 2.6.33 can be used without any patches applied. The following kernels may require patches to provide hugepage support: - -* Kernel version 2.6.32 requires the following patches applied: - - * `mm: hugetlb: add hugepage support to pagemap `_ - - * `mm: hugetlb: fix hugepage memory leak in walk_page_range() `_ - - * `hugetlb: add nodemask arg to huge page alloc, free and surplus adjust functions `_ - (not mandatory, but recommended on a NUMA system to support per-NUMA node hugepages allocation) - -* Kernel version 2.6.31, requires the above patches plus the following: - - * `UIO: Add name attributes for mappings and port regions `_ - - VF driver for IXGBE devices cannot be initialized ------------------------------------------------- diff --git a/doc/guides/linux_gsg/sys_reqs.rst b/doc/guides/linux_gsg/sys_reqs.rst index ebed418..cf05983 100644 --- a/doc/guides/linux_gsg/sys_reqs.rst +++ b/doc/guides/linux_gsg/sys_reqs.rst @@ -111,7 +111,7 @@ System Software **Required:** -* Kernel version >= 2.6.33 +* Kernel version >= 2.6.34 The kernel version in use can be checked using the command: @@ -119,10 +119,6 @@ System Software uname -r -For details of the patches needed to use the DPDK with earlier kernel versions, -see the DPDK FAQ included in the *DPDK Release Notes*. -Note also that Red hat* Linux* 6.2 and 6.3 uses a 2.6.32 kernel that already has all the necessary patches applied. - * glibc >= 2.7 (for features related to cpuset) The version can be checked using the ldd --version command. A sample output is shown below: diff --git a/doc/guides/rel_notes/release_2_2.rst b/doc/guides/rel_notes/release_2_2.rst index 8c77768..cd5c5e9 100644 --- a/doc/guides/rel_notes/release_2_2.rst +++ b/doc/guides/rel_notes/release_2_2.rst @@ -224,6 +224,9 @@ Examples Other ~~~~~ +* This release drops compatibility with Linux kernel 2.6.33. The minimum + kernel requirement is now 2.6.34. + Known Issues ------------ -- 2.5.0