Thread (1 message) 1 message, 1 author, 2014-01-13

Fwd: config: disable KNI for 32-bit because cannot work

From: neeraj kumar <hidden>
Date: 2014-01-13 06:05:17

On Thu, Jan 2, 2014 at 3:49 PM, Thomas Monjalon
[off-list ref]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 :
quoted
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
quoted
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
quoted
error.

Thus to use KNI on 32 bit system we need kernel with High memory support
of
quoted
64 GB, i.e  *PAE* (*Physical Address Extension*) *Support*, then we can
be
quoted
able to use it in 32 bit environment.

hope you will update this on dpdk.org


Regards,

Neeraj
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help