[dpdk-users] Query Regarding KNI
m43kwon at gmail.com
Fri Sep 9 19:10:46 CEST 2016
Yes, it should be possible. For a given DPDK port, RX and TX must be on
separate "lcores," but can share the same physical core. So use the
command-line EAL options to map multiple lcores to a single core, for
# ./kni --lcores='(0,1)@1' -n 1 -- -P -p 0x1 --config="(0,0,1)"
In this example, I have a single DPDK port, with RX and TX mapped to two
lcores which themselves have been mapped to a single CPU core.
On Thu, Sep 8, 2016 at 3:38 AM, Amit Sharma <amit.sh1094 at gmail.com> wrote:
> I am working on DPDK KNI example and want to use only 2 cores for 2 DPDK
> Right now in my setup, i have created 2 KNI DPDK ports and for this setup i
> am using 4 different cores. I want to explore the option that i can use 1
> rx and 1 tx core for both the ports.
> Is it possible to do the same using KNI example? If yes, Any input will be
> very helpful.
> Amit Sharma
More information about the users