From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-we0-f174.google.com (mail-we0-f174.google.com [74.125.82.174]) by dpdk.org (Postfix) with ESMTP id CC7FC5320 for ; Mon, 27 Jan 2014 16:06:17 +0100 (CET) Received: by mail-we0-f174.google.com with SMTP id x55so5282188wes.5 for ; Mon, 27 Jan 2014 07:07:35 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:organization:to:subject:date:user-agent:cc :references:in-reply-to:mime-version:content-type :content-transfer-encoding:message-id; bh=7/QELY9KpQ0fi+fRwdkD1sI5r1poUHSHoK7TMBSduf4=; b=gnmnCphSlSpX9QJJPzYso6YxjBr5jZyM7yR55rD1BFH9kM9yC/+pl9mRdfQUyX3RtS jqId/cURpsoa+umaUxrUrD3jo3DxkFBJui+PuyuC9EC4crFDHOoWfNdh5ZYubqGkAGCl z2Sjjw9b2F04W5dukjvSK+hVo7BP6Qtf9x2n8yVrVz2c7FuvEMm2b4fSPpeOhpJnGN8x r8QgceuehJJYzMg/k9l8eKUNepdXBCmxzZ3HbOGUkpkwklmkfT4Z5nvmyMlNWBklfTww nqkl59Utrc/JrsA7R1pXZFmnpeDGCBMVY4WMXfF7amFtyMDTlMHvKzYRRfeetbuPhtlI mfvQ== X-Gm-Message-State: ALoCoQm8ajyfYKwvKk6aWgHLfq06fK/B31humDmFpcN5VUkTtYiZhKHwaXBj+sIHAQUqTMGVomK9 X-Received: by 10.194.90.144 with SMTP id bw16mr20364956wjb.1.1390835255239; Mon, 27 Jan 2014 07:07:35 -0800 (PST) Received: from angus.localnet (6wind.net2.nerim.net. [213.41.180.237]) by mx.google.com with ESMTPSA id e5sm25879073wja.15.2014.01.27.07.07.33 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 27 Jan 2014 07:07:34 -0800 (PST) From: Thomas Monjalon Organization: 6WIND To: neeraj kumar Date: Mon, 27 Jan 2014 16:07:32 +0100 User-Agent: KMail/1.13.7 (Linux/3.2.0-4-amd64; KDE/4.8.4; x86_64; ; ) References: In-Reply-To: MIME-Version: 1.0 Content-Type: Text/Plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Message-Id: <201401271607.32427.thomas.monjalon@6wind.com> Cc: dev@dpdk.org Subject: Re: [dpdk-dev] [PATCH]: to create KNI on 32 bit system 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: Mon, 27 Jan 2014 15:06:18 -0000 Hello, 16/01/2014 07:59, neeraj kumar: > It is in regard to this commit *d92c66f5ac53a7b803efcb4782e601ea99c38a7e* > > By default in 32 bit kernel *High Memory Support* option of make menuconfig > is selected with size 4 GB, therefore it gives compilation error. > > Thus to use KNI on 32 bit system we need kernel with High memory support of > 64 GB, i.e *PAE* (*Physical Address Extension*) *Support*, then we can be > able to use it in 32 bit environment. So KNI can be enabled on 32-bit system only if PAE is enabled. Then we should either disable it by default, or use a kconfig trick to check PAE before building. > # > # Compile librte_kni > -# KNI is not supported on 32-bit > +# KNI will be supported on 32-bit if > +# PAE(Physical Address Extension, i.e High page support) > +# is configured in the kernel > # OK > -CONFIG_RTE_LIBRTE_KNI=n > +CONFIG_RTE_LIBRTE_KNI=y It can be applied only if PAE is checked when building. > *PATCH 3: Kernel config change* > --- a/.config 2014-01-06 15:57:24.549042056 +0530 > +++ b/.config 2014-01-06 15:58:03.263773338 +0530 This patch cannot be applied to DPDK. Please try to send your patch with git as described here: http://dpdk.org/dev#send Thanks -- Thomas