> -----Original Message----- > From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Moon-Sang Lee > Sent: Friday, April 15, 2016 8:13 AM > To: dev at dpdk.org > Subject: [dpdk-dev] KNI port type in IP pipeline > > According to pp. 145 of DPDK programmer's guide 2.2.0, the KNI port type is > described in > table 23.1. But, I cannot find any material about how to specify the KNI > port type in pipeline > configuration file. > > Unfortunately, it seems there is no related source file in > $DPDK_TOP/lib/librte_port. > > Does packet framework already implement the KNI port type somewhere > or should I implement that KNI port type by myself? > > regards, > > > > -- > Moon-Sang Lee, SW Engineer > Email: sang0627 at gmail.com > Wisdom begins in wonder. *Socrates*
Hi, There is no KNI or TUN/TAP port implemented in librte_port currently, hence please consider contributing this to DPDK. If the throughput of this device is not the first priority for you, I would actually recommend the TUN/TAP approach rather than KNI, as KNI seem to require significant maintenance due to constant changes in kernel header files, while TUN/TAP is very stable. KNI and TUN/TAP could also be leveraged straight away by librte_port as rte_ethdev type of port if they would be made available as PMDs. I know there were some plans to make this happen, but for some reason looks like the plans did not become reality. Thanks, Cristian