netdev: netdev_send accepts multiple packets
authorDaniele Di Proietto <ddiproietto@vmware.com>
Mon, 23 Jun 2014 18:43:58 +0000 (11:43 -0700)
committerPravin B Shelar <pshelar@nicira.com>
Mon, 23 Jun 2014 21:41:13 +0000 (14:41 -0700)
commitf4fd623c4c253be8d4020771b65a4b3d13c86ae8
tree5fd72fc702606240cde24334a05624aa44137a4c
parent910885540ae453f901b4b9b43ed6fd67f6749fe5
netdev: netdev_send accepts multiple packets

The netdev_send function has been modified to accept multiple packets, to
allow netdev providers to amortize locking and queuing costs.
This is especially true for netdev-dpdk.

Later commits exploit the new API.

Signed-off-by: Daniele Di Proietto <ddiproietto@vmware.com>
Acked-by: Pravin B Shelar <pshelar@nicira.com>
lib/dpif-netdev.c
lib/netdev-bsd.c
lib/netdev-dpdk.c
lib/netdev-dummy.c
lib/netdev-linux.c
lib/netdev-provider.h
lib/netdev.c
lib/netdev.h