DPDK usage discussions
 help / color / mirror / Atom feed
* [dpdk-users] KNI on 32 bit
@ 2016-10-07 21:46 Nishant Verma
  2016-10-07 23:15 ` Thomas Monjalon
  0 siblings, 1 reply; 3+ messages in thread
From: Nishant Verma @ 2016-10-07 21:46 UTC (permalink / raw)
  To: users

Hi All,

My machine is 64 bit.
I am trying to compile DPDK 16.07 with i686. It's giving me error :
*"/cm_data/onewebcommon/data_fw/hfdp/script/intel-dpdk/lib/librte_port/rte_port_kni.c:38:21:
fatal error: rte_kni.h: No such file or directory"*

Little bit of reading of previous question indicated  that in .config i
need to set the *CONFIG_RTE_LIBRTE_KNI=y* manually.

I tried that too, but still getting same error.

Any clue??????? to resolve the issue.

-- 
Rgds,
Nishant

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [dpdk-users] KNI on 32 bit
  2016-10-07 21:46 [dpdk-users] KNI on 32 bit Nishant Verma
@ 2016-10-07 23:15 ` Thomas Monjalon
  2016-10-09  2:46   ` Nishant Verma
  0 siblings, 1 reply; 3+ messages in thread
From: Thomas Monjalon @ 2016-10-07 23:15 UTC (permalink / raw)
  To: Nishant Verma; +Cc: users

2016-10-07 17:46, Nishant Verma:
> Hi All,
> 
> My machine is 64 bit.
> I am trying to compile DPDK 16.07 with i686. It's giving me error :
> *"/cm_data/onewebcommon/data_fw/hfdp/script/intel-dpdk/lib/librte_port/rte_port_kni.c:38:21:
> fatal error: rte_kni.h: No such file or directory"*
> 
> Little bit of reading of previous question indicated  that in .config i
> need to set the *CONFIG_RTE_LIBRTE_KNI=y* manually.
> 
> I tried that too, but still getting same error.
> 
> Any clue??????? to resolve the issue.

See this config template:
	http://dpdk.org/browse/dpdk/tree/config/defconfig_i686-native-linuxapp-gcc#n45
"KNI is not supported on 32-bit"

You should not see this error. See the makefile:
	http://dpdk.org/browse/dpdk/tree/lib/librte_port/Makefile#n59
ifeq ($(CONFIG_RTE_LIBRTE_KNI),y)
SRCS-$(CONFIG_RTE_LIBRTE_PORT) += rte_port_kni.c
endif

And CONFIG_RTE_LIBRTE_KNI must be disabled for 32-bit.

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [dpdk-users] KNI on 32 bit
  2016-10-07 23:15 ` Thomas Monjalon
@ 2016-10-09  2:46   ` Nishant Verma
  0 siblings, 0 replies; 3+ messages in thread
From: Nishant Verma @ 2016-10-09  2:46 UTC (permalink / raw)
  To: Thomas Monjalon; +Cc: users

But i am persuaded by this link.
http://dpdk.org/ml/archives/dev/2014-January/001143.html

If it really can't, then some one has to dismiss this as well.


On Fri, Oct 7, 2016 at 7:15 PM, Thomas Monjalon <thomas.monjalon@6wind.com>
wrote:

> 2016-10-07 17:46, Nishant Verma:
> > Hi All,
> >
> > My machine is 64 bit.
> > I am trying to compile DPDK 16.07 with i686. It's giving me error :
> > *"/cm_data/onewebcommon/data_fw/hfdp/script/intel-dpdk/lib/
> librte_port/rte_port_kni.c:38:21:
> > fatal error: rte_kni.h: No such file or directory"*
> >
> > Little bit of reading of previous question indicated  that in .config i
> > need to set the *CONFIG_RTE_LIBRTE_KNI=y* manually.
> >
> > I tried that too, but still getting same error.
> >
> > Any clue??????? to resolve the issue.
>
> See this config template:
>         http://dpdk.org/browse/dpdk/tree/config/defconfig_i686-
> native-linuxapp-gcc#n45
> "KNI is not supported on 32-bit"
>
> You should not see this error. See the makefile:
>         http://dpdk.org/browse/dpdk/tree/lib/librte_port/Makefile#n59
> ifeq ($(CONFIG_RTE_LIBRTE_KNI),y)
> SRCS-$(CONFIG_RTE_LIBRTE_PORT) += rte_port_kni.c
> endif
>
> And CONFIG_RTE_LIBRTE_KNI must be disabled for 32-bit.
>



-- 
Rgds,
Nishant

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2016-10-09  2:46 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-10-07 21:46 [dpdk-users] KNI on 32 bit Nishant Verma
2016-10-07 23:15 ` Thomas Monjalon
2016-10-09  2:46   ` Nishant Verma

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).