[dpdk-dev] Fwd: config: disable KNI for 32-bit because cannot work

neeraj kumar neeraj2290 at gmail.com
Mon Jan 13 07:05:17 CET 2014


On Thu, Jan 2, 2014 at 3:49 PM, Thomas Monjalon
<thomas.monjalon at 6wind.com>wrote:

> Hello,
>
> Thank you for your suggestion.
> I think you should send a patch on the mailing list to re-enable it.
>
> Thanks
> --
> Thomas
>
>
> 02/01/2014 11:10, neeraj kumar :
> > Hi Thomas,
> >
> > According to commit no. (*d92c66f5ac53a7b803efcb4782e601ea99c38a7e*) we
> > can't create KNI on 32 bit system b'coz
> >
> > *lib/librte_eal/linuxapp/kni/kni_misc.c:304:2: error: format '%llx'
> expects
> > argument of type 'long long unsigned int', but argument 2 has type
> > 'phys_addr_t' [-Werror=format*]
> >
> > It is because 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.
> >
> > hope you will update this on dpdk.org
> >
> >
> > Regards,
> >
> > Neeraj
>


More information about the dev mailing list