ofproto-dpif: add support for layer 3 ports
authorLorand Jakab <lojakab@cisco.com>
Tue, 19 Nov 2013 09:06:44 +0000 (11:06 +0200)
committerBen Pfaff <blp@nicira.com>
Tue, 19 Nov 2013 19:06:04 +0000 (11:06 -0800)
commita6363cfddb91620c9325e2812ae5af96a8d7f127
tree284792199ddb9e7097368396a4edcef0ac97fa5b
parent6fc681f896785e355c7f174364b375080e0daf81
ofproto-dpif: add support for layer 3 ports

Add member is_layer3 to struct ofport_dpif to mark layer 3 ports.  Set
it to "true" for the only layer 3 port we support for now: lisp.

Additionally, prevent flooding to layer 3 ports.  A later patch will
also prevent MAC learning.

Signed-off-by: Lorand Jakab <lojakab@cisco.com>
Signed-off-by: Ben Pfaff <blp@nicira.com>
lib/netdev-vport.c
lib/netdev-vport.h
ofproto/ofproto-dpif.c
vswitchd/vswitch.xml