ofproto: Ditch SLOW_IN_BAND slow path reason.
authorEthan Jackson <ethan@nicira.com>
Thu, 23 May 2013 23:01:20 +0000 (16:01 -0700)
committerEthan Jackson <ethan@nicira.com>
Wed, 29 May 2013 20:15:15 +0000 (13:15 -0700)
commit454a77e5b4b3161632945fd8ed75dc931d61a39f
treef16431f1ecf6fdfc1b8c4311b8e25b0b31c3a0ea
parentba33dd0354e9accf909d8ccd920b319d4d476112
ofproto: Ditch SLOW_IN_BAND slow path reason.

Before this patch, when in band control was enabled, every DHCP
packet had to be sent to userspace to calculate it's actions.
Those DHCP packets intended for the local port would have a special
action added to ensure they actually make it there.  This
unnecessarily complicates the code, so this patch takes a slightly
different approach.  When in-band is enabled, *all* DHCP packets
must be sent to the local port.  This guarantees that
xlate_actions() returns the same result every time for a given
flow.

Signed-off-by: Ethan Jackson <ethan@nicira.com>
lib/odp-util.c
lib/odp-util.h
ofproto/connmgr.c
ofproto/connmgr.h
ofproto/in-band.c
ofproto/in-band.h
ofproto/ofproto-dpif.c