netdev: Extend rx_recv to pass multiple packets.
authorPravin <pshelar@nicira.com>
Thu, 20 Mar 2014 17:54:37 +0000 (10:54 -0700)
committerPravin B Shelar <pshelar@nicira.com>
Fri, 21 Mar 2014 18:48:28 +0000 (11:48 -0700)
commitdf1e5a3bc7d772237de0ca19663e4a5a9b8f403b
treef0e39228d5a1783ed4fe394d4b654ab9f41b0f66
parent90b8c2f7c08eab4aea41601e57d4eee021ef5561
netdev: Extend rx_recv to pass multiple packets.

DPDK can receive multiple packets but current netdev API does
not allow that.  Following patch allows dpif-netdev receive batch
of packet in a rx_recv() call for any netdev port.  This will be
used by dpdk-netdev.

Signed-off-by: Pravin B Shelar <pshelar@nicira.com>
13 files changed:
lib/automake.mk
lib/dpif-netdev.c
lib/dpif-netdev.h [new file with mode: 0644]
lib/dpif.c
lib/netdev-bsd.c
lib/netdev-dummy.c
lib/netdev-linux.c
lib/netdev-provider.h
lib/netdev.c
lib/netdev.h
lib/odp-execute.c
lib/odp-execute.h
ofproto/ofproto-dpif-xlate.c