diff options
author | Zqiang <qiang.zhang@windriver.com> | 2021-03-11 16:50:50 +0800 |
---|---|---|
committer | Bruce Ashfield <bruce.ashfield@gmail.com> | 2021-03-11 22:33:29 -0500 |
commit | 415fd5eb2c5556a3ff21993c7857e11bcec3f237 (patch) | |
tree | 2625c68823a43da2f7abd18e4d0d2c81167ec81b /recipes-networking/openvswitch/files/0001-ovs-use-run-instead-of-var-run-for-in-systemd-units.patch | |
parent | 69c9ed9a1d505c50cdaa9f91303f8053d0a6e391 (diff) | |
download | meta-virtualization-415fd5eb2c5556a3ff21993c7857e11bcec3f237.tar.gz |
openvswitch: uprev from 2.13 to 2.15
- OVSDB:
* Changed format in which ovsdb transactions are stored in database files.
Now each transaction contains diff of data instead of the whole new
value of a column.
New ovsdb-server process will be able to read old database format, but
old processes will *fail* to read database created by the new one.
For cluster and active-backup service models follow upgrade instructions
in 'Upgrading from version 2.14 and earlier to 2.15 and later' section
of ovsdb(7).
* New unixctl command 'ovsdb-server/get-db-storage-status' to show the
status of the storage that's backing a database.
* New unixctl command 'ovsdb-server/memory-trim-on-compaction on|off'.
If turned on, ovsdb-server will try to reclaim all the unused memory
after every DB compaction back to OS. Disabled by default.
* Maximum backlog on RAFT connections limited to 500 messages or 4GB.
Once threshold reached, connection is dropped (and re-established).
Use the 'cluster/set-backlog-threshold' command to change limits.
- DPDK:
* Removed support for vhost-user dequeue zero-copy.
* Add support for DPDK 20.11.
- Userspace datapath:
* Add the 'pmd' option to "ovs-appctl dpctl/dump-flows", which
restricts a flow dump to a single PMD thread if set.
* New 'options:dpdk-vf-mac' field for DPDK interface of VF ports,
that allows configuring the MAC address of a VF representor.
* Add generic IP protocol support to conntrack. With this change, all
none UDP, TCP, and ICMP traffic will be treated as general L3
traffic, i.e. using 3 tupples.
* Add parameters 'pmd-auto-lb-load-threshold' and
'pmd-auto-lb-improvement-threshold' to configure PMD auto load balance
behaviour.
- The environment variable OVS_UNBOUND_CONF, if set, is now used
as the DNS resolver's (unbound) configuration file.
- Linux datapath:
* Support for kernel versions up to 5.8.x.
- Terminology:
* The terms "master" and "slave" have been replaced by "primary" and
"secondary", respectively, for OpenFlow connection roles.
* The term "slave" has been replaced by "member", for bonds, LACP, and
OpenFlow bundle actions.
- Support for GitHub Actions based continuous integration builds has been
added.
- Bareudp Tunnel
* Bareudp device support is present in linux kernel from version 5.7
* Kernel bareudp device is not backported to ovs tree.
* Userspace datapath support is not added
- ovs-dpctl and 'ovs-appctl dpctl/':
* New commands '{add,mod,del}-flows' where added, which allow adding,
deleting, or modifying flows based on information read from a file.
- IPsec:
* Add option '--no-cleanup' to allow ovs-monitor-ipsec to stop without
tearing down IPsec tunnels.
* Add option '--no-restart-ike-daemon' to allow ovs-monitor-ipsec to start
without restarting ipsec daemon.
- Building the Linux kernel module from the OVS source tree is deprecated
* Support for the Linux kernel is capped at version 5.8
* Only bug fixes for the Linux OOT kernel module will be accepted.
* The Linux kernel module will be fully removed from the OVS source tree
in OVS branch 2.18
fix some do_patch error about local patch.
Signed-off-by: Zqiang <qiang.zhang@windriver.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Diffstat (limited to 'recipes-networking/openvswitch/files/0001-ovs-use-run-instead-of-var-run-for-in-systemd-units.patch')
-rw-r--r-- | recipes-networking/openvswitch/files/0001-ovs-use-run-instead-of-var-run-for-in-systemd-units.patch | 16 |
1 files changed, 10 insertions, 6 deletions
diff --git a/recipes-networking/openvswitch/files/0001-ovs-use-run-instead-of-var-run-for-in-systemd-units.patch b/recipes-networking/openvswitch/files/0001-ovs-use-run-instead-of-var-run-for-in-systemd-units.patch index 244a216d..f7ec3fa0 100644 --- a/recipes-networking/openvswitch/files/0001-ovs-use-run-instead-of-var-run-for-in-systemd-units.patch +++ b/recipes-networking/openvswitch/files/0001-ovs-use-run-instead-of-var-run-for-in-systemd-units.patch | |||
@@ -1,6 +1,6 @@ | |||
1 | From ea98129777784b0e750a20078f01093dbdbe7b9b Mon Sep 17 00:00:00 2001 | 1 | From ae55fa8168b4b9692ad757c54255a89f935c587e Mon Sep 17 00:00:00 2001 |
2 | From: Chen Qi <Qi.Chen@windriver.com> | 2 | From: Chen Qi <Qi.Chen@windriver.com> |
3 | Date: Tue, 20 Oct 2020 14:14:06 +0800 | 3 | Date: Thu, 11 Mar 2021 11:35:24 +0800 |
4 | Subject: [PATCH] ovs: use /run instead of /var/run for in systemd units | 4 | Subject: [PATCH] ovs: use /run instead of /var/run for in systemd units |
5 | 5 | ||
6 | Upstream-Status: Pending | 6 | Upstream-Status: Pending |
@@ -78,10 +78,10 @@ index f88b57cae..82748bf2d 100644 | |||
78 | EnvironmentFile=-/etc/sysconfig/openvswitch | 78 | EnvironmentFile=-/etc/sysconfig/openvswitch |
79 | EnvironmentFile=-/run/openvswitch.useropts | 79 | EnvironmentFile=-/run/openvswitch.useropts |
80 | diff --git a/rhel/usr_lib_systemd_system_ovsdb-server.service b/rhel/usr_lib_systemd_system_ovsdb-server.service | 80 | diff --git a/rhel/usr_lib_systemd_system_ovsdb-server.service b/rhel/usr_lib_systemd_system_ovsdb-server.service |
81 | index 69b0bf61a..5f83f281f 100644 | 81 | index 74e5acb7f..39698f238 100644 |
82 | --- a/rhel/usr_lib_systemd_system_ovsdb-server.service | 82 | --- a/rhel/usr_lib_systemd_system_ovsdb-server.service |
83 | +++ b/rhel/usr_lib_systemd_system_ovsdb-server.service | 83 | +++ b/rhel/usr_lib_systemd_system_ovsdb-server.service |
84 | @@ -7,12 +7,12 @@ PartOf=openvswitch.service | 84 | @@ -7,7 +7,7 @@ PartOf=openvswitch.service |
85 | 85 | ||
86 | [Service] | 86 | [Service] |
87 | Type=forking | 87 | Type=forking |
@@ -90,13 +90,17 @@ index 69b0bf61a..5f83f281f 100644 | |||
90 | Restart=on-failure | 90 | Restart=on-failure |
91 | EnvironmentFile=/etc/openvswitch/default.conf | 91 | EnvironmentFile=/etc/openvswitch/default.conf |
92 | EnvironmentFile=-/etc/sysconfig/openvswitch | 92 | EnvironmentFile=-/etc/sysconfig/openvswitch |
93 | @@ -17,8 +17,8 @@ EnvironmentFile=-/run/openvswitch.useropts | ||
94 | # remove openvswitch.useropts first to reload a fresh | ||
95 | # OVS_USER_ID from default.conf or sysconfig. | ||
96 | ExecStartPre=/bin/rm -f /run/openvswitch.useropts | ||
93 | -ExecStartPre=-/bin/mkdir /var/run/openvswitch /var/log/openvswitch | 97 | -ExecStartPre=-/bin/mkdir /var/run/openvswitch /var/log/openvswitch |
94 | -ExecStartPre=-/bin/chown ${OVS_USER_ID} /var/run/openvswitch /var/log/openvswitch | 98 | -ExecStartPre=-/bin/chown ${OVS_USER_ID} /var/run/openvswitch /var/log/openvswitch |
95 | +ExecStartPre=-/bin/mkdir /run/openvswitch /var/log/openvswitch | 99 | +ExecStartPre=-/bin/mkdir /run/openvswitch /var/log/openvswitch |
96 | +ExecStartPre=-/bin/chown ${OVS_USER_ID} /run/openvswitch /var/log/openvswitch | 100 | +ExecStartPre=-/bin/chown ${OVS_USER_ID} /run/openvswitch /var/log/openvswitch |
97 | ExecStartPre=/bin/sh -c 'rm -f /run/openvswitch.useropts; /bin/echo "OVS_USER_ID=${OVS_USER_ID}" > /run/openvswitch.useropts' | 101 | ExecStartPre=/bin/sh -c '/bin/echo "OVS_USER_ID=${OVS_USER_ID}" > /run/openvswitch.useropts' |
98 | ExecStartPre=/bin/sh -c 'if [ "$${OVS_USER_ID/:*/}" != "root" ]; then /bin/echo "OVS_USER_OPT=--ovs-user=${OVS_USER_ID}" >> /run/openvswitch.useropts; fi' | 102 | ExecStartPre=/bin/sh -c 'if [ "$${OVS_USER_ID/:*/}" != "root" ]; then /bin/echo "OVS_USER_OPT=--ovs-user=${OVS_USER_ID}" >> /run/openvswitch.useropts; fi' |
99 | EnvironmentFile=-/run/openvswitch.useropts | 103 | ExecStart=/usr/share/openvswitch/scripts/ovs-ctl \ |
100 | -- | 104 | -- |
101 | 2.17.1 | 105 | 2.17.1 |
102 | 106 | ||