datapath: link upper device for port devices
authorJiri Pirko <jiri@resnulli.us>
Tue, 30 Jul 2013 23:27:31 +0000 (16:27 -0700)
committerJesse Gross <jesse@nicira.com>
Tue, 30 Jul 2013 23:29:48 +0000 (16:29 -0700)
commit2b51596fdeba7fbf4caff323dd6af375e7f84596
treec49d847053bc9b3da0ae3de4223bd063280e60f4
parent015cf2977473aa16fae4a14cddb6fe3d92694b08
datapath: link upper device for port devices

Link upper device properly. That will make IFLA_MASTER filled up.
Set the master to port 0 of the datapath under which the port belongs.

Signed-off-by: Jiri Pirko <jiri@resnulli.us>
Signed-off-by: Jesse Gross <jesse@nicira.com>
datapath/linux/compat/include/linux/netdevice.h
datapath/vport-netdev.c