DPDK patches and discussions
 help / color / mirror / Atom feed
* [dpdk-dev] KNI port type in IP pipeline
@ 2016-04-15  7:12 Moon-Sang Lee
  2016-04-20 14:09 ` Dumitrescu, Cristian
  0 siblings, 1 reply; 2+ messages in thread
From: Moon-Sang Lee @ 2016-04-15  7:12 UTC (permalink / raw)
  To: dev

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@gmail.com
Wisdom begins in wonder. *Socrates*

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

* Re: [dpdk-dev] KNI port type in IP pipeline
  2016-04-15  7:12 [dpdk-dev] KNI port type in IP pipeline Moon-Sang Lee
@ 2016-04-20 14:09 ` Dumitrescu, Cristian
  0 siblings, 0 replies; 2+ messages in thread
From: Dumitrescu, Cristian @ 2016-04-20 14:09 UTC (permalink / raw)
  To: Moon-Sang Lee, dev



> -----Original Message-----
> From: dev [mailto:dev-bounces@dpdk.org] On Behalf Of Moon-Sang Lee
> Sent: Friday, April 15, 2016 8:13 AM
> To: dev@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@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




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

end of thread, other threads:[~2016-04-20 14:10 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-04-15  7:12 [dpdk-dev] KNI port type in IP pipeline Moon-Sang Lee
2016-04-20 14:09 ` Dumitrescu, Cristian

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