dpif-netdev: create batch object
authorPravin B Shelar <pshelar@ovn.org>
Wed, 18 May 2016 00:32:33 +0000 (17:32 -0700)
committerPravin B Shelar <pshelar@ovn.org>
Thu, 19 May 2016 02:39:18 +0000 (19:39 -0700)
commit1895cc8dbb64721b07f3f67167d5baebf224e240
tree51eefd9e2bbcfe2c8c3c3dd315a9a75d1ee7aca9
parentf7ce48110d4cd918d79498fdbf43db19e4ac0abb
dpif-netdev: create batch object

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 <pshelar@ovn.org>
Acked-by: Jesse Gross <jesse@kernel.org>
lib/dp-packet.h
lib/dpif-netdev.c
lib/dpif.c
lib/netdev.c
lib/netdev.h
lib/odp-execute.c
lib/odp-execute.h
ofproto/ofproto-dpif-xlate.c