[dpdk-dev] [PATCH]: to create KNI on 32 bit system
Thomas Monjalon
thomas.monjalon at 6wind.com
Mon Jan 27 16:07:32 CET 2014
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
More information about the dev
mailing list