dpif-netdev: use dpif_packet structure for packets
authorDaniele Di Proietto <ddiproietto@vmware.com>
Mon, 23 Jun 2014 18:43:57 +0000 (11:43 -0700)
committerPravin B Shelar <pshelar@nicira.com>
Mon, 23 Jun 2014 21:41:12 +0000 (14:41 -0700)
commit910885540ae453f901b4b9b43ed6fd67f6749fe5
tree56d995fcfb4a6f55c5880068b4ed4a4c945a6e5a
parent9441caf37205225e0fd8600aabbb9a23d822c480
dpif-netdev: use dpif_packet structure for packets

This commit introduces a new data structure used for receiving packets from
netdevs and passing them to dpifs.
The purpose of this change is to allow storing some private data for each
packet. The subsequent commits make use of it.

Signed-off-by: Daniele Di Proietto <ddiproietto@vmware.com>
Acked-by: Pravin B Shelar <pshelar@nicira.com>
18 files changed:
lib/automake.mk
lib/dpif-netdev.c
lib/dpif.c
lib/netdev-bsd.c
lib/netdev-dpdk.c
lib/netdev-dpdk.h
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
lib/ofpbuf.c
lib/ofpbuf.h
lib/packet-dpif.c [new file with mode: 0644]
lib/packet-dpif.h [new file with mode: 0644]
ofproto/ofproto-dpif-xlate.c