DPDK patches and discussions
 help / color / mirror / Atom feed
* [dpdk-dev] regarding KNI
@ 2014-01-02  9:32 cr singh
  2014-01-02 10:20 ` Daniel Kaminsky
  0 siblings, 1 reply; 2+ messages in thread
From: cr singh @ 2014-01-02  9:32 UTC (permalink / raw)
  To: dev

hello devs,

I am using DPDK 1.5.0 and trying to use KNI interface to measure throughput
through it


------------------------------------------------------------------------------------------------------------
I have machine with 2 lcores and 2 physical interface, and in running kni
sample application --config parameter we are supposed to give
1)port no,
2)lcore_rx,
3)lcore_tx, right?

so can it be possible to give same lcore no. for both ports, like

kni -c 0x3 -n 4 -- -P -p 0x3 --config"(0,0,1),(1,0,1)"

As i have tried and after running this two interface vEth0 and vEth1 is
created, but when i am giving ip with ifconfig to vEth1 then it is showing
the below message ...

SIOCSIFFLAGS: Timer expired,

while i am able to bring up the the vEth0 interface successfully.

-----------------------------------------------------------------------------------------------------
i am pasting some details which prints while running the application ...

Checking link status
.....done
Port 0 Link Up - speed 1000 Mbps - full-duplex
Port 1 Link Up - speed 1000 Mbps - full-duplex
APP: Lcore 1 is writing to port 0
APP: Lcore 0 is reading from port 0


and here in last two line Lcore 1 and Lcore 0 is writting and reading for
port 0 and may be therefore i am able to bring up the vEth0. and there is
no core for port 1 so it is failing.

---------------------------------------------------------------------------------------------------------

So my question is why can't we use same lcores for reading and writing  for
both ports, does DPDK restricts using same lcores for 2 ports (as it
seems), and if so, then why??



Thanks in advance
C R

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

end of thread, other threads:[~2014-01-02 10:19 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-01-02  9:32 [dpdk-dev] regarding KNI cr singh
2014-01-02 10:20 ` Daniel Kaminsky

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).