[dpdk-dev] KNI Out of memory

2014-08-27 Thread Ivano Cerrato
Hello, I wrote a code that creates some KNI interfaces, destroys them when some management events occur, and creates new interfaces when other management events happen. What happens is that I create a number of interfaces using "kni_alloc", I destroy ALL of them through "kni_release" and, when I

[dpdk-dev] kni creation

2014-06-09 Thread Ivano Cerrato
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 po

[dpdk-dev] veth interfaces

2014-06-03 Thread Ivano Cerrato
h Docker > containers. :-) > > -Original Message- > From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Ivano Cerrato > Sent: Friday, May 30, 2014 3:02 PM > To: dev at dpdk.org > Subject: Re: [dpdk-dev] veth interfaces > > Hello, > I apologize for the imprecise email I sen

[dpdk-dev] veth interfaces

2014-05-30 Thread Ivano Cerrato
Hello, I apologize for the imprecise email I sent, and now I try to be more specific about what I would like to do. I have a module that receives traffic from the network using DPDK and, based on the packet content, should provide packets to the proper Docker container. Docker containers receiv

[dpdk-dev] veth interfaces

2014-05-27 Thread Ivano Cerrato
Hello, is it possible to use DPDK to send packets on a veth interface? Thanks in advance, Ivano