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++) {
> -
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