2
0
mirror of https://github.com/openvswitch/ovs synced 2025-08-29 21:38:13 +00:00

9773 Commits

Author SHA1 Message Date
Justin Pettit
b44508095d Fix url in RPM spec. 2009-06-09 18:22:22 -07:00
Ben Pfaff
21effc0384 Add unit test for TCP/IP checksumming code. 2009-06-09 17:10:18 -07:00
Ben Pfaff
d06fd60379 Fix another "make" versus "make dist" build problem. 2009-06-09 15:19:24 -07:00
Ben Pfaff
8833d73dea Remove "dpkg-buildpackage" test from "make distcheck".
Now the Debian packaging is regularly tested via the autobuilder, so there
is less need to do it from "make distcheck", and not doing it saves time
there.
2009-06-09 14:22:52 -07:00
Ben Pfaff
424d1282e1 Fix behavior of simultaneous "make" and "make dist".
We were distributing lib/dirs.c, which doesn't make sense, but in any case
it created a race between "make" and "make dist" in updating lib/dirs.c,
which showed up in the Debian package build (which runs build-indep and
build-arch in parallel).

Also, clean lib/dhparams.c.

This should fix the failure seen in build openvswitch843.
2009-06-09 14:19:53 -07:00
Ben Pfaff
fcfb9b2cdc xenserver: Use parallel make in RPM build on SMP machines. 2009-06-09 13:49:49 -07:00
Ben Pfaff
819a2d4c8a debian: Honor "noopt", "parallel=<n>" build options. 2009-06-09 13:33:24 -07:00
Ben Pfaff
52db0bbec6 debian: Run build tests during build (unless "nocheck" is specified). 2009-06-09 13:32:59 -07:00
Ben Pfaff
8a0e7ce2dd debian: Ignore directories created as part of Debian package build. 2009-06-09 13:32:20 -07:00
Ben Pfaff
4b11d5e8d3 Update documentation. 2009-06-09 13:09:08 -07:00
Ben Pfaff
c8ab937586 ovs-pki: Improve readability of manpage. 2009-06-09 13:01:04 -07:00
Ben Pfaff
8b8308289c ovs-pki: Fix formatting errors in manpage. 2009-06-09 13:01:04 -07:00
Ben Pfaff
2303f3b2fc vswitch: Send gratuitous learning packets when bond slaves go down.
When a bond slave goes down, all of the MACs that were on it are migrated
to another slave, but this is not apparent to the switch that the bond is
connected to until each MAC sends out a packet.  This causes incoming
traffic for a given MAC to be dropped until the MAC sends out a packet.
This is not usually a problem, because traffic is not ordinarily one-way,
and we can't avoid losing some packets in some cases, but we can do a
little better by sending out a gratuitous learning packet on the new slave
as soon as we know about it, and that is what this commit implements.

Bug #1290.
2009-06-08 12:26:27 -07:00
Ben Pfaff
962ff3d674 mac-learning: Make data structures public.
The vswitchd bonding code needs to iterate through the table entries to
be able to send out gratuitous learning packets when bond slaves go down.
It might be best to create an abstract interface to the MAC learning table,
but this commit does the simpler thing and exposes the data structures in
the header file.
2009-06-08 12:26:11 -07:00
Justin Pettit
ce87c72813 vswitch: Fix typos in OFMP comments.
A couple of comments describing the new UUID TLVs were incorrect and
this fixes them.
2009-06-05 14:59:36 -07:00
Justin Pettit
010c6bd029 vswitch: Fix OFMP alignment problem on 64-bit systems.
One of the OpenFlow managment protocol's UUID TLV messages had a problem
building on 64-bit systems.  By extending the structure length by 4
bytes, the problem goes away.
2009-06-05 14:59:36 -07:00
Ben Pfaff
c2633c26a1 vswitch: Enable bond slaves based on carrier status, not up/down.
Whether a bond slave is enabled should be based on whether the device's
PHY sees carrier, not based on whether the device is configured up or down.
(Note that a device that is configured down will always see "no carrier").
Otherwise a device that is up but has no carrier will initially be enabled,
which does not make sense.

This has no effect on interfaces that are not bond slaves, because the
"enabled" setting is used only by bond slaves.

Bug #1247.
2009-06-05 14:28:39 -07:00
Ben Pfaff
460923cf8b netdev: New function netdev_nodev_get_carrier(). 2009-06-05 14:26:42 -07:00
Ben Pfaff
8826590a1d xenserver: Bring up bond slave device before adding to bond.
Until now, we've added network devices to the ovs-vswitchd configuration
file before bringing them up.  This works suboptimally for bond slaves,
because vswitchd takes the initial carrier state of the bond slaves as
whether to initially enable or disable them, and a device that is down
always reports "no carrier".  So this commit changes interface-reconfigure
to bring up bond slaves before adding them to the configuration file,
which gives them a chance to detect carrier before vswitchd checks for it.

This might still be an imperfect situation, because it takes quite a while
(maybe 1 second?) for some network devices to detect carrier after being
brought up.  But the kernel implementation of bonding seems to do the very
same thing, so we should be at least no worse than it.

Incidentally, this is only important for bonds that have long updelays.
XenServer uses an updelay of 31 seconds (!), so it is especially important
there.

Bug #1247.
2009-06-05 14:08:36 -07:00
Ben Pfaff
d8319dd499 xenserver: Allow RPM to install only with correct Xen kernel version.
Bug #638.
2009-06-05 12:28:16 -07:00
Justin Pettit
6ae36700df vswitch: Send Xen UUIDs associated with system and networks
This commit sends information about Xen UUIDs to the controller through
the management connection.  Specifically, it sends the XenServer UUID
and a list of network UUIDs associated with each datapath.
2009-06-05 12:13:37 -07:00
Ben Pfaff
0bb1f43dd8 xenserver: Rename cache file to ovs-vswitch.dbache, for consistency.
Fixes bug #1374.
2009-06-05 11:18:33 -07:00
Ben Pfaff
064af42167 Import from old repository commit 61ef2b42a9c4ba8e1600f15bb0236765edc2ad45. v0.90.0 2009-07-08 13:19:16 -07:00