datapath: Return vport configuration when queried.
authorJustin Pettit <jpettit@nicira.com>
Sat, 18 Dec 2010 09:04:37 +0000 (01:04 -0800)
committerJustin Pettit <jpettit@nicira.com>
Tue, 28 Dec 2010 22:30:35 +0000 (14:30 -0800)
commitdd851cbbcc5a1b3c8ad5c10a47ddca1c510c1879
tree111da9a2f827298d6ea68cdaea65df16a11d1521
parent5397a37788602c329b98de45a1dfdf899c7ea3b9
datapath: Return vport configuration when queried.

Additional configuration is passed down to the kernel in the "config"
array of an odp_port when a vport is created.  This information is not
returned when a vport is queried, though.  This information is useful
for debugging, since it may be used to distinguish ports based on
additional data, such as the peer in tunnels.  In a forthcoming patch, it
will be essential to distinguish between plain GRE and GRE over IPsec.

Signed-off-by: Justin Pettit <jpettit@nicira.com>
Acked-by: Jesse Gross <jesse@nicira.com>
datapath/datapath.c
datapath/tunnel.c
datapath/tunnel.h
datapath/vport-capwap.c
datapath/vport-gre.c
datapath/vport-netdev.h
datapath/vport-patch.c
datapath/vport.c
datapath/vport.h