[ovs-discuss] set dpdk packet refcnt when flow output to group.

David Evans davidjoshuaevans at gmail.com
Wed Oct 7 22:36:18 UTC 2015


Hi all,

While using netdev-dpdk - When i add a rule for which the action is to send to a group (type=all) containing (x) output buckets (ports) how can i increment the dp_packet->pkt_mbuf’s  refcnt to (x) so that the packet is not deleted before it has transmitted all ports(buckets) in the group.

Perhaps in ofproto-dpif-xlate.c  function  xlate_all_group find the packet and apply the ctx->xin->packet->mbuf->refcnt ?  
Will that work for all packets for a ctx?


Regards,

Dave.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://openvswitch.org/pipermail/ovs-discuss/attachments/20151007/f7e8b66b/attachment-0002.html>


More information about the discuss mailing list