[dpdk-users] KNI - mbuf-sk_buff converstion

tom.barbette at ulg.ac.be tom.barbette at ulg.ac.be
Wed Dec 21 15:01:31 CET 2016

The memory space could be mapped when converting an mbuf to skbuff (while as you say it would be much harder the other way), but I don't see it done in the KNI code.

It memcpy the whole packet.

Out of curiosity, are there plan on using mapped skbuff?

Tom Barbette 
PhD Student @ Université de Liège 

Office 1/13 
Bâtiment B37 
Quartier Polytech 
Allée de la découverte, 12 
4000 Liège 

04/366 91 75 
0479/60 94 63 

----- Mail original -----
De: "Anupam Kapoor" <anupam.kapoor at gmail.com>
À: "Avi Cohen" <avi.cohen at huawei.com>
Cc: users at dpdk.org
Envoyé: Mercredi 21 Décembre 2016 09:28:46
Objet: Re: [dpdk-users] KNI - mbuf-sk_buff converstion

On Wed, Dec 21, 2016 at 1:09 PM, Avi Cohen <avi.cohen at huawei.com> wrote:

> are zero_copy with respect  to the packet data (headers+payload) - is this
> correc

​umm mbuf's, and skb's are in different address spaces...

kind regards

In the beginning was the lambda, and the lambda was with Emacs, and Emacs
was the lambda.

More information about the users mailing list