All of lore.kernel.org
 help / color / mirror / Atom feed
* kni creation
@ 2014-06-09 12:54 Ivano Cerrato
  0 siblings, 0 replies; only message in thread
From: Ivano Cerrato @ 2014-06-09 12:54 UTC (permalink / raw)
  To: dev-VfR2kkLFssw@public.gmane.org

Hello,
the function rte_kni_alloc, which creates a kni interface, requires 
"const struct rte_kni_conf * conf" as second parameter.
This struct contains, among the others, the elements "add" and "id".
In the example of kni provided with dpdk, they are set to the pci 
address and id of a physical port.

I tried do comment these assignments in the example code, and everything 
seems to work without problems.
Hence, I don't understand what is the purpose of these two parameters.
Someone could explain it to me?

Regards,

     Ivano

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2014-06-09 12:54 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-06-09 12:54 kni creation Ivano Cerrato

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.