diff options
author | Jesse Gross <jesse@nicira.com> | 2010-04-12 15:53:39 -0400 |
---|---|---|
committer | Jesse Gross <jesse@nicira.com> | 2010-04-19 09:11:57 -0400 |
commit | f2459fe7d91c4c325dfaa3ed18f56200b63ae27e (patch) | |
tree | f1090136b8c9843acbb4c1d987c9480f1d5e7e9c /datapath/Modules.mk | |
parent | 6b8a6c529b2bd8ce03584b132263dca5ac932c1b (diff) | |
download | openvswitch-f2459fe7d91c4c325dfaa3ed18f56200b63ae27e.tar.gz |
datapath: Add generic virtual port layer.
Currently the datapath directly accesses devices through their
Linux functions. Obviously this doesn't work for virtual devices
that are not backed by an actual Linux device. This creates a
new virtual port layer which handles all interaction with devices.
The existing support for Linux devices was then implemented on top
of this layer as two device types. It splits out and renames dp_dev
to internal_dev. There were several places where datapath devices
had to handled in a special manner and this cleans that up by putting
all the special casing in a single location.
Diffstat (limited to 'datapath/Modules.mk')
-rw-r--r-- | datapath/Modules.mk | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/datapath/Modules.mk b/datapath/Modules.mk index 211f96fc2..1e8bc0479 100644 --- a/datapath/Modules.mk +++ b/datapath/Modules.mk @@ -12,20 +12,24 @@ dist_modules = $(both_modules) # Modules to distribute openvswitch_sources = \ actions.c \ datapath.c \ - dp_dev.c \ dp_notify.c \ dp_sysfs_dp.c \ dp_sysfs_if.c \ flow.c \ - table.c + table.c \ + vport.c \ + vport-internal_dev.c \ + vport-netdev.c openvswitch_headers = \ actions.h \ compat.h \ datapath.h \ - dp_dev.h \ dp_sysfs.h \ - flow.h + flow.h \ + vport.h \ + vport-internal_dev.h \ + vport-netdev.h dist_sources = $(foreach module,$(dist_modules),$($(module)_sources)) dist_headers = $(foreach module,$(dist_modules),$($(module)_headers)) |