Re: [ovs-dev] [PATCH v2 06/15] dpif-netdev: create batch object

2016-05-06 Thread Jesse Gross
On Thu, Apr 21, 2016 at 6:54 PM, Pravin B Shelar wrote: > +netdev_send(struct netdev *netdev, int qid, struct dp_packet_batch *batch, > +bool may_steal) > { > if (!netdev->netdev_class->send) { > if (may_steal) { > -for (int i = 0; i < cnt; i++) { > -

[ovs-dev] [PATCH v2 06/15] dpif-netdev: create batch object

2016-04-21 Thread Pravin B Shelar
DPDK datapath operate on batch of packets. To pass the batch of packets around we use packets array and count. Next patch needs to associate meta-data with each batch of packets. So Introducing a batch structure to make handling the metadata easier. Signed-off-by: Pravin B Shelar --- lib/dp-pac