summaryrefslogtreecommitdiff
path: root/lib/dummy.c
Commit message (Collapse)AuthorAgeFilesLines
* Remove "VLAN splinters" feature.Pravin B Shelar2016-04-271-1/+0
| | | | | | | | | | | The "VLAN splinters" feature works around buggy device drivers in old Linux versions. But support for the old kernel is dropped, So now all supported kernel vlan drivers should be working fine with OVS kernel datapath. Following patch removes this deprecated feature. Signed-off-by: Pravin B Shelar <pshelar@ovn.org> Acked-by: Ben Pfaff <blp@ovn.org>
* ofp-actions: Add action "debug_recirc" for testing recirculation.Ben Pfaff2015-07-311-0/+1
| | | | | | | | | | It isn't otherwise useful and in fact hurts performance so it's disabled without --enable-dummy. An upcoming commit will make use of this. Signed-off-by: Ben Pfaff <blp@nicira.com> Acked-by: Jarno Rajahalme <jrajahalme@nicira.com>
* dummy: Introduce new --enable-dummy=system option.Ben Pfaff2015-06-161-8/+20
| | | | | | | | | | | | | | | | | | | | Until now there have been two variants for --enable-dummy: * --enable-dummy: This adds support for "dummy" dpif and netdev. * --enable-dummy=override: In addition, this replaces *every* existing dpif and netdev by the dummy type. The latter is useful for testing but it defeats the possibility of using the userspace native tunneling implementation (because all the tunnel netdevs get replaced by dummy netdevs). Thus, this commit adds a third variant: * --enable-dummy=system: This replaces the "system" dpif and netdev by dummies but leaves the others untouched. Signed-off-by: Ben Pfaff <blp@nicira.com> Acked-by: Alex Wang <alexw@nicira.com>
* Add VLAN splinters unit test.Ben Pfaff2013-06-251-1/+2
| | | | | CC: Ethan Jackson <ethan@nicira.com> Signed-off-by: Ben Pfaff <blp@nicira.com>
* Global replace of Nicira Networks.Raju Subramanian2012-05-021-1/+1
| | | | | | | | Replaced all instances of Nicira Networks(, Inc) to Nicira, Inc. Feature #10593 Signed-off-by: Raju Subramanian <rsubramanian@nicira.com> Signed-off-by: Ben Pfaff <blp@nicira.com>
* dummy: Make --enable-dummy=override replace all dpifs, netdevs by dummies.Ben Pfaff2012-01-191-4/+9
| | | | | | | | | | | | | | Plain "--enable-dummy" just creates new dummy dpif and netdev classes. This commit makes "--enable-dummy=override" go a step farther and actually delete and replace all the existing dpif and netdev classes by copies of the dummy class. This is useful for testing in an environment where changing the classes in Bridge or Interface records is challenging. Requested-by: Andrew Lambeth <wal@nicira.com> Tested-by: Andrew Lambeth <wal@nicira.com> Signed-off-by: Ben Pfaff <blp@nicira.com>
* netdev-dummy: Allow injecting traffic.Ben Pfaff2011-12-191-1/+2
| | | | | | | This paves the way to allow unit tests to test the whole switch on an end-to-end basis. Signed-off-by: Ben Pfaff <blp@nicira.com>
* Add new "dummy" netdev and dpif implementations for use in unit tests.Ben Pfaff2010-11-291-0/+31