ofproto: Reorganize in preparation for direct dpdk upcalls.
authorEthan Jackson <ethan@nicira.com>
Thu, 7 Aug 2014 01:49:44 +0000 (18:49 -0700)
committerEthan Jackson <ethan@nicira.com>
Thu, 14 Aug 2014 20:44:53 +0000 (13:44 -0700)
commitcc377352d164d4c8a31387d8c8658172d903048d
tree72c5665fddef75d0650e52c2e14b6d6665a82b76
parentba8561c65f8d5163e6c6ef11df3062aafc9d070a
ofproto: Reorganize in preparation for direct dpdk upcalls.

This patch reorganizes ofproto-dpif in preparation for future patches
which allow direct upcall processing from dpif-netdev.  The main goals
are to share as much code as possible between the dpif-linux and
dpif-netdev upcall paths.  Additionally, to avoid confusing the
dpif-netdev fast path, the packet processing path should treat packets
and struct flow's as const.

Signed-off-by: Ethan Jackson <ethan@nicira.com>
Acked-by: Ben Pfaff <blp@nicira.com>
ofproto/ofproto-dpif-ipfix.c
ofproto/ofproto-dpif-ipfix.h
ofproto/ofproto-dpif-sflow.c
ofproto/ofproto-dpif-sflow.h
ofproto/ofproto-dpif-upcall.c
ofproto/ofproto-dpif-upcall.h
ofproto/ofproto-dpif-xlate.c
ofproto/ofproto-dpif-xlate.h
ofproto/ofproto-dpif.c
ofproto/ofproto-dpif.h