a93e80
# Copyright (C) 2009, 2010, 2013, 2014 Nicira Networks, Inc.
a93e80
#
a93e80
# Copying and distribution of this file, with or without modification,
a93e80
# are permitted in any medium without royalty provided the copyright
a93e80
# notice and this notice are preserved.  This file is offered as-is,
a93e80
# without warranty of any kind.
a93e80
#
a93e80
# If tests have to be skipped while building, specify the '--without check'
a93e80
# option. For example:
a93e80
# rpmbuild -bb --without check rhel/openvswitch-fedora.spec
a93e80
a93e80
# This defines the base package name's version.
a93e80
a93e80
%define pkgname openvswitch2.13
a93e80
a93e80
#%%global commit0 2a4f006c79c06628634490627ac72d8c76477e56
a93e80
#%%global date 20200121
a93e80
#%%global shortcommit0 %(c=%{commit0}; echo ${c:0:7})
a93e80
# DPDK commit
a93e80
#%%global commit1 ef8b7c505f10897621c0801d8ef3e961385246f8
a93e80
#%%global shortcommit1 %(c=%{commit1}; echo ${c:0:7})
a93e80
a93e80
# Enable PIE, bz#955181
a93e80
%global _hardened_build 1
a93e80
a93e80
# RHEL-7 doesn't define _rundir macro yet
a93e80
# Fedora 15 onwards uses /run as _rundir
a93e80
%if 0%{!?_rundir:1}
a93e80
%define _rundir /run
a93e80
%endif
a93e80
a93e80
# FIXME Test "STP - flush the fdb and mdb when topology changed" fails on s390x
a93e80
# FIXME 2 tests fails on ppc64le. They will be hopefully fixed before official 2.11
a93e80
%ifarch %{ix86} x86_64 aarch64
39e7cd
%bcond_without check
a93e80
%else
a93e80
%bcond_with check
a93e80
%endif
a93e80
# option to run kernel datapath tests, requires building as root!
a93e80
%bcond_with check_datapath_kernel
a93e80
# option to build with libcap-ng, needed for running OVS as regular user
a93e80
%bcond_without libcapng
a93e80
# option to build with ipsec support
387d36
%bcond_without ipsec
a93e80
a93e80
# Build python2 (that provides python) and python3 subpackages on Fedora
a93e80
# Build only python3 (that provides python) subpackage on RHEL8
a93e80
# Build only python subpackage on RHEL7
a93e80
%if 0%{?rhel} > 7 || 0%{?fedora}
a93e80
# On RHEL8 Sphinx is included in buildroot
a93e80
%global external_sphinx 1
a93e80
%else
a93e80
# Don't use external sphinx (RHV doesn't have optional repositories enabled)
a93e80
%global external_sphinx 0
a93e80
%endif
a93e80
a93e80
Name: %{pkgname}
a93e80
Summary: Open vSwitch
a93e80
Group: System Environment/Daemons daemon/database/utilities
a93e80
URL: http://www.openvswitch.org/
a93e80
Version: 2.13.0
Open vSwitch CI 209fa9
Release: 127%{?commit0:.%{date}git%{shortcommit0}}%{?commit1:dpdk%{shortcommit1}}%{?dist}
a93e80
a93e80
# Nearly all of openvswitch is ASL 2.0.  The bugtool is LGPLv2+, and the
a93e80
# lib/sflow*.[ch] files are SISSL
a93e80
# datapath/ is GPLv2 (although not built into any of the binary packages)
a93e80
License: ASL 2.0 and LGPLv2+ and SISSL
a93e80
4b3b86
%define dpdkver %{?commit1}%{!?commit1:19.11}
a93e80
%define dpdkdir dpdk
a93e80
%define dpdksver %(echo %{dpdkver} | cut -d. -f-2)
a93e80
# NOTE: DPDK does not currently build for s390x
a93e80
# DPDK on aarch64 is not stable enough to be enabled in FDP
a93e80
%define dpdkarches x86_64 ppc64le
a93e80
a93e80
%if 0%{?commit0:1}
a93e80
Source: https://github.com/openvswitch/ovs/archive/%{commit0}.tar.gz#/openvswitch-%{shortcommit0}.tar.gz
a93e80
%else
a93e80
Source: https://github.com/openvswitch/ovs/archive/v%{version}.tar.gz#/openvswitch-%{version}.tar.gz
a93e80
%endif
a93e80
%if 0%{?commit1:1}
a93e80
Source10: https://git.dpdk.org/dpdk/snapshot/dpdk-%{dpdkver}.tar.xz
a93e80
%else
a93e80
Source10: https://fast.dpdk.org/rel/dpdk-%{dpdkver}.tar.xz
a93e80
%endif
a93e80
a93e80
%define docutilsver 0.12
a93e80
%define pygmentsver 1.4
a93e80
%define sphinxver   1.1.3
a93e80
Source100: https://pypi.io/packages/source/d/docutils/docutils-%{docutilsver}.tar.gz
a93e80
Source101: https://pypi.io/packages/source/P/Pygments/Pygments-%{pygmentsver}.tar.gz
a93e80
Source102: https://pypi.io/packages/source/S/Sphinx/Sphinx-%{sphinxver}.tar.gz
a93e80
a93e80
Source500: configlib.sh
a93e80
Source502: set_config.sh
a93e80
a93e80
# Important: source503 is used as the actual copy file
a93e80
# @TODO: this causes a warning - fix it?
a93e80
Source504: arm64-armv8a-linuxapp-gcc-config
a93e80
Source505: ppc_64-power8-linuxapp-gcc-config
a93e80
Source506: x86_64-native-linuxapp-gcc-config
a93e80
a93e80
Patch:     openvswitch-%{version}.patch
a93e80
a93e80
# The DPDK is designed to optimize througput of network traffic using, among
a93e80
# other techniques, carefully crafted assembly instructions.  As such it
a93e80
# needs extensive work to port it to other architectures.
a93e80
ExclusiveArch: x86_64 aarch64 ppc64le s390x
a93e80
a93e80
# Do not enable this otherwise YUM will break on any upgrade.
a93e80
# Provides: openvswitch
a93e80
Conflicts: openvswitch < 2.13
a93e80
Conflicts: openvswitch-dpdk < 2.13
e3b3b7
Conflicts: openvswitch2.10
e3b3b7
Conflicts: openvswitch2.11
e3b3b7
Conflicts: openvswitch2.12
a93e80
a93e80
# dpdk_mach_arch maps between rpm and dpdk arch name, often same as _target_cpu
a93e80
# dpdk_mach_tmpl is the config template dpdk_mach name, often "native"
a93e80
# dpdk_mach is the actual dpdk_mach name used in the dpdk make system
a93e80
%ifarch x86_64
a93e80
%define dpdk_mach_arch x86_64
a93e80
%define dpdk_mach_tmpl native
a93e80
%define dpdk_mach default
a93e80
%endif
a93e80
%ifarch aarch64
a93e80
%define dpdk_mach_arch arm64
a93e80
%define dpdk_mach_tmpl armv8a
a93e80
%define dpdk_mach armv8a
a93e80
%endif
a93e80
%ifarch ppc64le
a93e80
%define dpdk_mach_arch ppc_64
a93e80
%define dpdk_mach_tmpl power8
a93e80
%define dpdk_mach power8
a93e80
%endif
a93e80
a93e80
%define dpdktarget %{dpdk_mach_arch}-%{dpdk_mach_tmpl}-linuxapp-gcc
a93e80
a93e80
# FIXME Sphinx is used to generate some manpages, unfortunately, on RHEL, it's
a93e80
# in the -optional repository and so we can't require it directly since RHV
a93e80
# doesn't have the -optional repository enabled and so TPS fails
a93e80
%if %{external_sphinx}
a93e80
BuildRequires: python3-sphinx
a93e80
%else
a93e80
# Sphinx dependencies
a93e80
BuildRequires: python-devel
a93e80
BuildRequires: python-setuptools
a93e80
#BuildRequires: python2-docutils
a93e80
BuildRequires: python-jinja2
a93e80
BuildRequires: python-nose
a93e80
#BuildRequires: python2-pygments
a93e80
# docutils dependencies
a93e80
BuildRequires: python-imaging
a93e80
# pygments dependencies
a93e80
BuildRequires: python-nose
a93e80
%endif
a93e80
a93e80
BuildRequires: gcc gcc-c++ make
a93e80
BuildRequires: autoconf automake libtool
a93e80
BuildRequires: systemd-units openssl openssl-devel
a93e80
BuildRequires: python3-devel python3-setuptools
a93e80
BuildRequires: desktop-file-utils
a93e80
BuildRequires: groff-base graphviz
a93e80
BuildRequires: unbound-devel
a93e80
# make check dependencies
a93e80
BuildRequires: procps-ng
a93e80
%if 0%{?rhel} > 7 || 0%{?fedora}
a93e80
BuildRequires: python3-pyOpenSSL
a93e80
%endif
a93e80
%if %{with check_datapath_kernel}
a93e80
BuildRequires: nmap-ncat
a93e80
# would be useful but not available in RHEL or EPEL
a93e80
#BuildRequires: pyftpdlib
a93e80
%endif
a93e80
a93e80
%if %{with libcapng}
a93e80
BuildRequires: libcap-ng libcap-ng-devel
a93e80
%endif
a93e80
a93e80
%ifarch %{dpdkarches}
a93e80
# DPDK driver dependencies
a93e80
BuildRequires: zlib-devel numactl-devel
a93e80
%ifarch x86_64
a93e80
BuildRequires: rdma-core-devel >= 15 libmnl-devel
a93e80
%endif
a93e80
a93e80
# Required by packaging policy for the bundled DPDK
a93e80
Provides: bundled(dpdk) = %{dpdkver}
a93e80
%endif
a93e80
a93e80
Requires: openssl iproute module-init-tools
a93e80
#Upstream kernel commit 4f647e0a3c37b8d5086214128614a136064110c3
a93e80
#Requires: kernel >= 3.15.0-0
a93e80
Requires: openvswitch-selinux-extra-policy
a93e80
a93e80
Requires(pre): shadow-utils
a93e80
Requires(post): /bin/sed
a93e80
Requires(post): /usr/sbin/usermod
a93e80
Requires(post): /usr/sbin/groupadd
a93e80
Requires(post): systemd-units
a93e80
Requires(preun): systemd-units
a93e80
Requires(postun): systemd-units
a93e80
Obsoletes: openvswitch-controller <= 0:2.1.0-1
a93e80
a93e80
%description
a93e80
Open vSwitch provides standard network bridging functions and
a93e80
support for the OpenFlow protocol for remote per-flow control of
a93e80
traffic.
a93e80
a93e80
%package -n python3-%{pkgname}
a93e80
Summary: Open vSwitch python3 bindings
a93e80
License: ASL 2.0
a93e80
Requires: %{pkgname} = %{?epoch:%{epoch}:}%{version}-%{release}
a93e80
Provides: python-%{pkgname} = %{?epoch:%{epoch}:}%{version}-%{release}
a93e80
a93e80
%description -n python3-%{pkgname}
a93e80
Python bindings for the Open vSwitch database
a93e80
a93e80
%package test
a93e80
Summary: Open vSwitch testing utilities
a93e80
License: ASL 2.0
a93e80
BuildArch: noarch
a93e80
Requires: python3-%{pkgname} = %{?epoch:%{epoch}:}%{version}-%{release}
a93e80
Requires: tcpdump
a93e80
a93e80
%description test
a93e80
Utilities that are useful to diagnose performance and connectivity
a93e80
issues in Open vSwitch setup.
a93e80
a93e80
%package devel
a93e80
Summary: Open vSwitch OpenFlow development package (library, headers)
a93e80
License: ASL 2.0
a93e80
Requires: %{pkgname} = %{?epoch:%{epoch}:}%{version}-%{release}
a93e80
a93e80
%description devel
a93e80
This provides shared library, libopenswitch.so and the openvswitch header
a93e80
files needed to build an external application.
a93e80
a93e80
%if 0%{?rhel} > 7 || 0%{?fedora} > 28
a93e80
%package -n network-scripts-%{name}
a93e80
Summary: Open vSwitch legacy network service support
a93e80
License: ASL 2.0
a93e80
Requires: network-scripts
a93e80
Supplements: (%{name} and network-scripts)
a93e80
a93e80
%description -n network-scripts-%{name}
a93e80
This provides the ifup and ifdown scripts for use with the legacy network
a93e80
service.
a93e80
%endif
a93e80
a93e80
%if %{with ipsec}
a93e80
%package ipsec
a93e80
Summary: Open vSwitch IPsec tunneling support
a93e80
License: ASL 2.0
a93e80
Requires: python3-%{pkgname} = %{?epoch:%{epoch}:}%{version}-%{release}
a93e80
Requires: libreswan
a93e80
a93e80
%description ipsec
a93e80
This package provides IPsec tunneling support for OVS tunnels.
a93e80
%endif
a93e80
a93e80
%prep
a93e80
%if 0%{?commit0:1}
a93e80
%setup -q -n ovs-%{commit0} -a 10
a93e80
%else
a93e80
%setup -q -n ovs-%{version} -a 10
a93e80
%endif
a93e80
%if ! %{external_sphinx}
a93e80
%if 0%{?commit0:1}
a93e80
%setup -n ovs-%{commit0} -q -D -T -a 100 -a 101 -a 102
a93e80
%else
a93e80
%setup -n ovs-%{version} -q -D -T -a 100 -a 101 -a 102
a93e80
%endif
a93e80
%endif
a93e80
a93e80
mv dpdk-*/ %{dpdkdir}/
a93e80
a93e80
%patch -p1
a93e80
a93e80
%build
a93e80
# Build Sphinx on RHEL
a93e80
%if ! %{external_sphinx}
a93e80
export PYTHONPATH="${PYTHONPATH:+$PYTHONPATH:}%{_builddir}/pytmp/lib/python"
a93e80
for x in docutils-%{docutilsver} Pygments-%{pygmentsver} Sphinx-%{sphinxver}; do
a93e80
    pushd "$x"
a93e80
    python2 setup.py install --home %{_builddir}/pytmp
a93e80
    popd
a93e80
done
a93e80
a93e80
export PATH="$PATH:%{_builddir}/pytmp/bin"
a93e80
%endif
a93e80
a93e80
%if 0%{?commit0:1}
a93e80
# fix the snapshot unreleased version to be the released one.
a93e80
sed -i.old -e "s/^AC_INIT(openvswitch,.*,/AC_INIT(openvswitch, %{version},/" configure.ac
a93e80
%endif
a93e80
./boot.sh
a93e80
a93e80
%ifarch %{dpdkarches}    # build dpdk
a93e80
# Lets build DPDK first
a93e80
cd %{dpdkdir}
a93e80
a93e80
# In case dpdk-devel is installed
a93e80
unset RTE_SDK RTE_INCLUDE RTE_TARGET
a93e80
a93e80
# Avoid appending second -Wall to everything, it breaks upstream warning
a93e80
# disablers in makefiles. Strip explicit -march= from optflags since they
a93e80
# will only guarantee build failures, DPDK is picky with that.
a93e80
# Note: _hardening_ldflags has to go on the extra cflags line because dpdk is
a93e80
# astoundingly convoluted in how it processes its linker flags.  Fixing it in
a93e80
# dpdk is the preferred solution, but adjusting to allow a gcc option in the
a93e80
# ldflags, even when gcc is used as the linker, requires large tree-wide changes
a93e80
touch obj.o
a93e80
gcc -### obj.o 2>&1 | awk '/.*collect2.*/ { print $0}' | sed -e 's/\S*\.res\S*//g' -e 's/-z \S*//g' -e 's/[^ ]*\.o//g' -e 's/ /\n/g' | sort -u > ./noopts.txt
a93e80
gcc -### $RPM_LD_FLAGS obj.o 2>&1 | awk '/.*collect2.*/ {print $0}' | sed -e 's/\S*\.res\S*//g' -e 's/-z \S*//g' -e 's/[^ ]*\.o//g' -e 's/ /\n/g' | sort -u > ./opts.txt
a93e80
EXTRA_RPM_LDFLAGS=$(comm -13 ./noopts.txt ./opts.txt)
a93e80
rm -f obj.o
a93e80
a93e80
export EXTRA_CFLAGS="$(echo %{optflags} | sed -e 's:-Wall::g' -e 's:-march=[[:alnum:]]* ::g') -Wformat -fPIC -fcommon %{_hardening_ldflags}"
a93e80
export EXTRA_LDFLAGS=$(echo %{__global_ldflags} | sed -e's/-Wl,//g' -e's/-spec.*//')
a93e80
export HOST_EXTRA_CFLAGS="$EXTRA_CFLAGS $EXTRA_RPM_LDFLAGS"
a93e80
export EXTRA_HOST_LDFLAGS="$EXTRA_RPM_LDFLAGS $(echo %{__global_ldflags} | sed -e's/-spec.*//')"
a93e80
a93e80
# DPDK defaults to using builder-specific compiler flags.  However,
a93e80
# the config has been changed by specifying CONFIG_RTE_MACHINE=default
a93e80
# in order to build for a more generic host.  NOTE: It is possible that
a93e80
# the compiler flags used still won't work for all Fedora-supported
a93e80
# dpdk_machs, but runtime checks in DPDK will catch those situations.
a93e80
a93e80
make V=1 O=%{dpdktarget} T=%{dpdktarget} %{?_smp_mflags} config
a93e80
a93e80
cp -f %{SOURCE500} %{SOURCE502} "%{_sourcedir}/%{dpdktarget}-config" .
a93e80
%{SOURCE502} %{dpdktarget}-config "%{dpdktarget}/.config"
a93e80
Open vSwitch CI ffdc71
# Currently RHEL8.3+ includes binutils 2.30 with the patch to fix AVX512 support backported (#1870039),
Open vSwitch CI ffdc71
# but DPDK 19.11 blindly disables AVX512 support if ld version < 2.32
Open vSwitch CI ffdc71
binutils_version=$(rpm -q --qf '%%{version}-%%{release}' binutils)
Open vSwitch CI ffdc71
if [ "$binutils_version" "<" "2.30-79.el8" ]; then
Open vSwitch CI ffdc71
    make V=1 O=%{dpdktarget} %{?_smp_mflags}
Open vSwitch CI ffdc71
else
Open vSwitch CI ffdc71
    make LD_VERSION=2.32 V=1 O=%{dpdktarget} %{?_smp_mflags}
Open vSwitch CI ffdc71
fi
a93e80
a93e80
# Generate a list of supported drivers, its hard to tell otherwise.
a93e80
cat << EOF > README.DPDK-PMDS
a93e80
DPDK drivers included in this package:
a93e80
a93e80
EOF
a93e80
a93e80
for f in $(ls %{dpdk_mach_arch}-%{dpdk_mach_tmpl}-linuxapp-gcc/lib/lib*_pmd_*); do
a93e80
    basename ${f} | cut -c12- | cut -d. -f1 | tr [:lower:] [:upper:]
a93e80
done >> README.DPDK-PMDS
a93e80
a93e80
cat << EOF >> README.DPDK-PMDS
a93e80
a93e80
For further information about the drivers, see
a93e80
http://dpdk.org/doc/guides-%{dpdksver}/nics/index.html
a93e80
EOF
a93e80
a93e80
cd -
a93e80
%endif    # build dpdk
a93e80
a93e80
# And now for OVS...
a93e80
mkdir build-shared build-static
a93e80
pushd build-shared
a93e80
ln -s ../configure
a93e80
%configure \
a93e80
%if %{with libcapng}
a93e80
        --enable-libcapng \
a93e80
%else
a93e80
        --disable-libcapng \
a93e80
%endif
a93e80
        --disable-static \
a93e80
        --enable-shared \
a93e80
        --enable-ssl \
a93e80
        --with-pkidir=%{_sharedstatedir}/openvswitch/pki
a93e80
make %{?_smp_mflags}
a93e80
popd
a93e80
pushd build-static
a93e80
ln -s ../configure
a93e80
%configure \
a93e80
%if %{with libcapng}
a93e80
        --enable-libcapng \
a93e80
%else
a93e80
        --disable-libcapng \
a93e80
%endif
a93e80
        --enable-ssl \
a93e80
%ifarch %{dpdkarches}
a93e80
        --with-dpdk=$(pwd)/../%{dpdkdir}/%{dpdktarget} \
a93e80
%endif
a93e80
        --with-pkidir=%{_sharedstatedir}/openvswitch/pki \
a93e80
        ac_cv_search_mlx5dv_create_wq=-lmlx5
a93e80
        # mlx5dv_create_wq was added in rdma-core 16 since it's the first
a93e80
        # officially released release that adds support for mlx offloading,
a93e80
        # but currently on RHEL 7.7 we still have rdma-core 15 (with the
a93e80
        # offloading commits backported) and so configure is not able to detect
a93e80
        # it.
a93e80
make %{?_smp_mflags}
a93e80
popd
a93e80
a93e80
/usr/bin/python3 build-aux/dpdkstrip.py \
a93e80
        --dpdk \
a93e80
        < rhel/usr_lib_systemd_system_ovs-vswitchd.service.in \
a93e80
        > rhel/usr_lib_systemd_system_ovs-vswitchd.service
a93e80
a93e80
%install
a93e80
rm -rf $RPM_BUILD_ROOT
a93e80
make -C build-shared install-libLTLIBRARIES DESTDIR=$RPM_BUILD_ROOT
a93e80
make -C build-static install DESTDIR=$RPM_BUILD_ROOT
a93e80
a93e80
install -d -m 0755 $RPM_BUILD_ROOT%{_rundir}/openvswitch
a93e80
install -d -m 0750 $RPM_BUILD_ROOT%{_localstatedir}/log/openvswitch
a93e80
install -d -m 0755 $RPM_BUILD_ROOT%{_sysconfdir}/openvswitch
a93e80
a93e80
install -p -D -m 0644 rhel/usr_lib_udev_rules.d_91-vfio.rules \
a93e80
        $RPM_BUILD_ROOT%{_udevrulesdir}/91-vfio.rules
a93e80
a93e80
install -p -D -m 0644 \
a93e80
        rhel/usr_share_openvswitch_scripts_systemd_sysconfig.template \
a93e80
        $RPM_BUILD_ROOT/%{_sysconfdir}/sysconfig/openvswitch
a93e80
a93e80
for service in openvswitch ovsdb-server ovs-vswitchd \
a93e80
               ovs-delete-transient-ports; do
a93e80
        install -p -D -m 0644 \
a93e80
                        rhel/usr_lib_systemd_system_${service}.service \
a93e80
                        $RPM_BUILD_ROOT%{_unitdir}/${service}.service
a93e80
done
a93e80
a93e80
%if %{with ipsec}
a93e80
install -p -D -m 0644 rhel/usr_lib_systemd_system_openvswitch-ipsec.service \
a93e80
                      $RPM_BUILD_ROOT%{_unitdir}/openvswitch-ipsec.service
a93e80
%endif
a93e80
a93e80
install -m 0755 rhel/etc_init.d_openvswitch \
a93e80
        $RPM_BUILD_ROOT%{_datadir}/openvswitch/scripts/openvswitch.init
a93e80
a93e80
install -p -D -m 0644 rhel/etc_openvswitch_default.conf \
a93e80
        $RPM_BUILD_ROOT/%{_sysconfdir}/openvswitch/default.conf
a93e80
a93e80
install -p -D -m 0644 rhel/etc_logrotate.d_openvswitch \
a93e80
        $RPM_BUILD_ROOT/%{_sysconfdir}/logrotate.d/openvswitch
a93e80
a93e80
install -m 0644 vswitchd/vswitch.ovsschema \
a93e80
        $RPM_BUILD_ROOT/%{_datadir}/openvswitch/vswitch.ovsschema
a93e80
a93e80
install -d -m 0755 $RPM_BUILD_ROOT/%{_sysconfdir}/sysconfig/network-scripts/
a93e80
install -p -m 0755 rhel/etc_sysconfig_network-scripts_ifdown-ovs \
a93e80
        $RPM_BUILD_ROOT/%{_sysconfdir}/sysconfig/network-scripts/ifdown-ovs
a93e80
install -p -m 0755 rhel/etc_sysconfig_network-scripts_ifup-ovs \
a93e80
        $RPM_BUILD_ROOT/%{_sysconfdir}/sysconfig/network-scripts/ifup-ovs
a93e80
a93e80
install -d -m 0755 $RPM_BUILD_ROOT%{python3_sitelib}
a93e80
cp -a $RPM_BUILD_ROOT/%{_datadir}/openvswitch/python/ovstest \
a93e80
        $RPM_BUILD_ROOT%{python3_sitelib}
a93e80
a93e80
# Build the JSON C extension for the Python lib (#1417738)
a93e80
pushd python
a93e80
(
a93e80
export CPPFLAGS="-I ../include -I ../build-shared/include"
a93e80
export LDFLAGS="%{__global_ldflags} -L $RPM_BUILD_ROOT%{_libdir}"
a93e80
%py3_build
a93e80
%py3_install
387d36
[ -f "$RPM_BUILD_ROOT/%{python3_sitearch}/ovs/_json$(python3-config --extension-suffix)" ]
a93e80
)
a93e80
popd
a93e80
a93e80
rm -rf $RPM_BUILD_ROOT/%{_datadir}/openvswitch/python/
a93e80
a93e80
install -d -m 0755 $RPM_BUILD_ROOT/%{_sharedstatedir}/openvswitch
a93e80
a93e80
install -d -m 0755 $RPM_BUILD_ROOT%{_prefix}/lib/firewalld/services/
a93e80
a93e80
install -p -D -m 0755 \
a93e80
        rhel/usr_share_openvswitch_scripts_ovs-systemd-reload \
a93e80
        $RPM_BUILD_ROOT%{_datadir}/openvswitch/scripts/ovs-systemd-reload
a93e80
a93e80
touch $RPM_BUILD_ROOT%{_sysconfdir}/openvswitch/conf.db
e3b3b7
# The db needs special permission as IPsec Pre-shared keys are stored in it.
e3b3b7
chmod 0640 $RPM_BUILD_ROOT%{_sysconfdir}/openvswitch/conf.db
e3b3b7
a93e80
touch $RPM_BUILD_ROOT%{_sysconfdir}/openvswitch/system-id.conf
a93e80
a93e80
# remove unpackaged files
a93e80
rm -f $RPM_BUILD_ROOT/%{_bindir}/ovs-benchmark \
a93e80
        $RPM_BUILD_ROOT/%{_bindir}/ovs-docker \
a93e80
        $RPM_BUILD_ROOT/%{_bindir}/ovs-parse-backtrace \
a93e80
        $RPM_BUILD_ROOT/%{_bindir}/ovs-testcontroller \
a93e80
        $RPM_BUILD_ROOT/%{_sbindir}/ovs-vlan-bug-workaround \
a93e80
        $RPM_BUILD_ROOT/%{_mandir}/man1/ovs-benchmark.1* \
a93e80
        $RPM_BUILD_ROOT/%{_mandir}/man8/ovs-testcontroller.* \
a93e80
        $RPM_BUILD_ROOT/%{_mandir}/man8/ovs-vlan-bug-workaround.8*
a93e80
a93e80
%if ! %{with ipsec}
a93e80
rm -f $RPM_BUILD_ROOT/%{_datadir}/openvswitch/scripts/ovs-monitor-ipsec
a93e80
%endif
a93e80
a93e80
# remove ovn unpackages files
a93e80
rm -f $RPM_BUILD_ROOT%{_bindir}/ovn*
a93e80
rm -f $RPM_BUILD_ROOT%{_mandir}/man1/ovn*
a93e80
rm -f $RPM_BUILD_ROOT%{_mandir}/man5/ovn*
a93e80
rm -f $RPM_BUILD_ROOT%{_mandir}/man7/ovn*
a93e80
rm -f $RPM_BUILD_ROOT%{_mandir}/man8/ovn*
a93e80
rm -f $RPM_BUILD_ROOT%{_datadir}/openvswitch/ovn*
a93e80
rm -f $RPM_BUILD_ROOT%{_datadir}/openvswitch/scripts/ovn*
a93e80
rm -f $RPM_BUILD_ROOT%{_includedir}/ovn/*
a93e80
a93e80
%check
a93e80
%if %{with check}
a93e80
    pushd build-static
a93e80
    touch resolv.conf
a93e80
    export OVS_RESOLV_CONF=$(pwd)/resolv.conf
a93e80
    if make check TESTSUITEFLAGS='%{_smp_mflags}' ||
a93e80
       make check TESTSUITEFLAGS='--recheck'; then :;
a93e80
    else
a93e80
        cat tests/testsuite.log
a93e80
        exit 1
a93e80
    fi
a93e80
    popd
a93e80
%endif
a93e80
%if %{with check_datapath_kernel}
a93e80
    pushd build-static
a93e80
    if make check-kernel RECHECK=yes; then :;
a93e80
    else
a93e80
        cat tests/system-kmod-testsuite.log
a93e80
        exit 1
a93e80
    fi
a93e80
    popd
a93e80
%endif
a93e80
a93e80
%clean
a93e80
rm -rf $RPM_BUILD_ROOT
a93e80
a93e80
%preun
a93e80
%if 0%{?systemd_preun:1}
a93e80
    %systemd_preun openvswitch.service
a93e80
%else
a93e80
    if [ $1 -eq 0 ] ; then
a93e80
    # Package removal, not upgrade
a93e80
        /bin/systemctl --no-reload disable openvswitch.service >/dev/null 2>&1 || :
a93e80
        /bin/systemctl stop openvswitch.service >/dev/null 2>&1 || :
a93e80
    fi
a93e80
%endif
a93e80
a93e80
%pre
a93e80
getent group openvswitch >/dev/null || groupadd -r openvswitch
a93e80
getent passwd openvswitch >/dev/null || \
a93e80
    useradd -r -g openvswitch -d / -s /sbin/nologin \
a93e80
    -c "Open vSwitch Daemons" openvswitch
a93e80
a93e80
%ifarch %{dpdkarches}
a93e80
    getent group hugetlbfs >/dev/null || groupadd hugetlbfs
a93e80
    usermod -a -G hugetlbfs openvswitch
a93e80
%endif
a93e80
exit 0
a93e80
a93e80
%post
a93e80
if [ $1 -eq 1 ]; then
a93e80
    sed -i 's:^#OVS_USER_ID=:OVS_USER_ID=:' /etc/sysconfig/openvswitch
a93e80
a93e80
%ifarch %{dpdkarches}
a93e80
    sed -i \
a93e80
        's@OVS_USER_ID="openvswitch:openvswitch"@OVS_USER_ID="openvswitch:hugetlbfs"@'\
a93e80
        /etc/sysconfig/openvswitch
a93e80
%endif
a93e80
fi
a93e80
chown -R openvswitch:openvswitch /etc/openvswitch
a93e80
a93e80
%if 0%{?systemd_post:1}
a93e80
    %systemd_post openvswitch.service
a93e80
%else
a93e80
    # Package install, not upgrade
a93e80
    if [ $1 -eq 1 ]; then
a93e80
        /bin/systemctl daemon-reload >dev/null || :
a93e80
    fi
a93e80
%endif
a93e80
a93e80
%postun
a93e80
%if 0%{?systemd_postun:1}
a93e80
    %systemd_postun openvswitch.service
a93e80
%else
a93e80
    /bin/systemctl daemon-reload >/dev/null 2>&1 || :
a93e80
%endif
a93e80
a93e80
%triggerun -- openvswitch < 2.5.0-22.git20160727%{?dist}
a93e80
# old rpm versions restart the service in postun, but
a93e80
# due to systemd some preparation is needed.
a93e80
if systemctl is-active openvswitch >/dev/null 2>&1 ; then
a93e80
    /usr/share/openvswitch/scripts/ovs-ctl stop >/dev/null 2>&1 || :
a93e80
    systemctl daemon-reload >/dev/null 2>&1 || :
a93e80
    systemctl stop openvswitch ovsdb-server ovs-vswitchd >/dev/null 2>&1 || :
a93e80
    systemctl start openvswitch >/dev/null 2>&1 || :
a93e80
fi
a93e80
exit 0
a93e80
a93e80
%files -n python3-%{pkgname}
a93e80
%{python3_sitearch}/ovs
a93e80
%{python3_sitearch}/ovs-*.egg-info
a93e80
%doc LICENSE
a93e80
a93e80
%files test
a93e80
%{_bindir}/ovs-pcap
a93e80
%{_bindir}/ovs-tcpdump
a93e80
%{_bindir}/ovs-tcpundump
a93e80
%{_mandir}/man1/ovs-pcap.1*
a93e80
%{_mandir}/man8/ovs-tcpdump.8*
a93e80
%{_mandir}/man1/ovs-tcpundump.1*
a93e80
%{_bindir}/ovs-test
a93e80
%{_bindir}/ovs-vlan-test
a93e80
%{_bindir}/ovs-l3ping
a93e80
%{_mandir}/man8/ovs-test.8*
a93e80
%{_mandir}/man8/ovs-vlan-test.8*
a93e80
%{_mandir}/man8/ovs-l3ping.8*
a93e80
%{python3_sitelib}/ovstest
a93e80
a93e80
%files devel
a93e80
%{_libdir}/*.so
a93e80
%{_libdir}/pkgconfig/*.pc
a93e80
%{_includedir}/openvswitch/*
a93e80
%{_includedir}/openflow/*
a93e80
%exclude %{_libdir}/*.a
a93e80
%exclude %{_libdir}/*.la
a93e80
a93e80
%if 0%{?rhel} > 7 || 0%{?fedora} > 28
a93e80
%files -n network-scripts-%{name}
a93e80
%{_sysconfdir}/sysconfig/network-scripts/ifup-ovs
a93e80
%{_sysconfdir}/sysconfig/network-scripts/ifdown-ovs
a93e80
%endif
a93e80
a93e80
%files
a93e80
%defattr(-,openvswitch,openvswitch)
a93e80
%dir %{_sysconfdir}/openvswitch
a93e80
%{_sysconfdir}/openvswitch/default.conf
a93e80
%config %ghost %verify(not owner group md5 size mtime) %{_sysconfdir}/openvswitch/conf.db
a93e80
%ghost %attr(0600,-,-) %verify(not owner group md5 size mtime) %{_sysconfdir}/openvswitch/.conf.db.~lock~
a93e80
%config %ghost %{_sysconfdir}/openvswitch/system-id.conf
a93e80
%defattr(-,root,root)
a93e80
%config(noreplace) %verify(not md5 size mtime) %{_sysconfdir}/sysconfig/openvswitch
a93e80
%{_sysconfdir}/bash_completion.d/ovs-appctl-bashcomp.bash
a93e80
%{_sysconfdir}/bash_completion.d/ovs-vsctl-bashcomp.bash
a93e80
%config(noreplace) %{_sysconfdir}/logrotate.d/openvswitch
a93e80
%{_unitdir}/openvswitch.service
a93e80
%{_unitdir}/ovsdb-server.service
a93e80
%{_unitdir}/ovs-vswitchd.service
a93e80
%{_unitdir}/ovs-delete-transient-ports.service
a93e80
%{_datadir}/openvswitch/scripts/openvswitch.init
a93e80
%{_datadir}/openvswitch/scripts/ovs-check-dead-ifs
a93e80
%{_datadir}/openvswitch/scripts/ovs-lib
a93e80
%{_datadir}/openvswitch/scripts/ovs-save
a93e80
%{_datadir}/openvswitch/scripts/ovs-vtep
a93e80
%{_datadir}/openvswitch/scripts/ovs-ctl
a93e80
%{_datadir}/openvswitch/scripts/ovs-kmod-ctl
a93e80
%{_datadir}/openvswitch/scripts/ovs-systemd-reload
a93e80
%config %{_datadir}/openvswitch/vswitch.ovsschema
a93e80
%config %{_datadir}/openvswitch/vtep.ovsschema
a93e80
%{_bindir}/ovs-appctl
a93e80
%{_bindir}/ovs-dpctl
a93e80
%{_bindir}/ovs-ofctl
a93e80
%{_bindir}/ovs-vsctl
a93e80
%{_bindir}/ovsdb-client
a93e80
%{_bindir}/ovsdb-tool
a93e80
%{_bindir}/ovs-pki
a93e80
%{_bindir}/vtep-ctl
a93e80
%{_libdir}/*.so.*
a93e80
%{_sbindir}/ovs-vswitchd
a93e80
%{_sbindir}/ovsdb-server
a93e80
%{_mandir}/man1/ovsdb-client.1*
a93e80
%{_mandir}/man1/ovsdb-server.1*
a93e80
%{_mandir}/man1/ovsdb-tool.1*
a93e80
%{_mandir}/man5/ovsdb.5*
a93e80
%{_mandir}/man5/ovsdb-server.5.*
a93e80
%{_mandir}/man5/ovs-vswitchd.conf.db.5*
a93e80
%{_mandir}/man5/vtep.5*
a93e80
%{_mandir}/man7/ovsdb-server.7*
a93e80
%{_mandir}/man7/ovsdb.7*
a93e80
%{_mandir}/man7/ovs-actions.7*
a93e80
%{_mandir}/man7/ovs-fields.7*
a93e80
%{_mandir}/man8/vtep-ctl.8*
a93e80
%{_mandir}/man8/ovs-appctl.8*
a93e80
%{_mandir}/man8/ovs-ctl.8*
a93e80
%{_mandir}/man8/ovs-dpctl.8*
a93e80
%{_mandir}/man8/ovs-kmod-ctl.8.*
a93e80
%{_mandir}/man8/ovs-ofctl.8*
a93e80
%{_mandir}/man8/ovs-pki.8*
a93e80
%{_mandir}/man8/ovs-vsctl.8*
a93e80
%{_mandir}/man8/ovs-vswitchd.8*
a93e80
%{_mandir}/man8/ovs-parse-backtrace.8*
a93e80
%{_udevrulesdir}/91-vfio.rules
a93e80
%doc LICENSE NOTICE README.rst NEWS rhel/README.RHEL.rst
a93e80
%ifarch %{dpdkarches}
a93e80
%doc %{dpdkdir}/README.DPDK-PMDS
Open vSwitch CI 209fa9
%attr(750,openvswitch,hugetlbfs) %verify(not owner group) /var/log/openvswitch
Open vSwitch CI 209fa9
%else
Open vSwitch CI 209fa9
%attr(750,openvswitch,openvswitch) %verify(not owner group) /var/log/openvswitch
a93e80
%endif
a93e80
/var/lib/openvswitch
a93e80
%ghost %attr(755,root,root) %verify(not owner group) %{_rundir}/openvswitch
a93e80
%{_datadir}/openvswitch/bugtool-plugins/
a93e80
%{_datadir}/openvswitch/scripts/ovs-bugtool-*
a93e80
%{_bindir}/ovs-dpctl-top
a93e80
%{_sbindir}/ovs-bugtool
a93e80
%{_mandir}/man8/ovs-dpctl-top.8*
a93e80
%{_mandir}/man8/ovs-bugtool.8*
a93e80
%if (0%{?rhel} && 0%{?rhel} <= 7) || (0%{?fedora} && 0%{?fedora} < 29)
a93e80
%{_sysconfdir}/sysconfig/network-scripts/ifup-ovs
a93e80
%{_sysconfdir}/sysconfig/network-scripts/ifdown-ovs
a93e80
%endif
a93e80
a93e80
%if %{with ipsec}
a93e80
%files ipsec
a93e80
%{_datadir}/openvswitch/scripts/ovs-monitor-ipsec
a93e80
%{_unitdir}/openvswitch-ipsec.service
a93e80
%endif
a93e80
a93e80
%changelog
Open vSwitch CI 209fa9
* Mon Sep 27 2021 Open vSwitch CI <ovs-ci@redhat.com> - 2.13.0-127
Open vSwitch CI 209fa9
- Merging upstream branch-2.13 [RH git: a117849d24]
Open vSwitch CI 209fa9
    Commit list:
Open vSwitch CI 209fa9
    e33aaf8bda cirrus: Reduce memory requirements for FreeBSD VMs.
Open vSwitch CI 209fa9
Open vSwitch CI 209fa9
Open vSwitch CI 209fa9
* Thu Sep 23 2021 Timothy Redaelli <tredaelli@redhat.com> - 2.13.0-126
Open vSwitch CI 209fa9
- redhat: use hugetlbfs group for /var/log/openvswitch when dpdk is enabled [RH git: a32eb508f7] (#2007292)
Open vSwitch CI 209fa9
    Resolves: #2007292
Open vSwitch CI 209fa9
Open vSwitch CI 209fa9
Open vSwitch CI 26a04b
* Thu Sep 16 2021 Open vSwitch CI <ovs-ci@redhat.com> - 2.13.0-125
Open vSwitch CI 26a04b
- Merging upstream branch-2.13 [RH git: 215f08bbd8]
Open vSwitch CI 26a04b
    Commit list:
Open vSwitch CI 26a04b
    a56a8008eb netdev-linux: Fix a null pointer dereference in netdev_linux_notify_sock().
Open vSwitch CI 26a04b
    186ff2a5b2 pcap-file: Fix memory leak in ovs_pcap_open().
Open vSwitch CI 26a04b
    b9b144b8d8 odp-util: Fix a null pointer dereference in odp_flow_format().
Open vSwitch CI 26a04b
    fea883d3bd odp-util: Fix a null pointer dereference in odp_nsh_key_from_attr__().
Open vSwitch CI 26a04b
    ef6d151b04 ipf: Fix only nat the first fragment in the reass process.
Open vSwitch CI 26a04b
Open vSwitch CI 26a04b
Open vSwitch CI 3d735f
* Wed Sep 08 2021 Open vSwitch CI <ovs-ci@redhat.com> - 2.13.0-124
Open vSwitch CI 3d735f
- Merging upstream branch-2.13 [RH git: b3c7c50935]
Open vSwitch CI 3d735f
    Commit list:
Open vSwitch CI 3d735f
    38efd803dd dpif-netdev: Fix crash when PACKET_OUT is metered.
Open vSwitch CI 3d735f
Open vSwitch CI 3d735f
Open vSwitch CI 3d735f
* Tue Aug 17 2021 Michael Santana <msantana@redhat.com> - 2.13.0-123
Open vSwitch CI 3d735f
- Migrate openvswitch to gitlab [RH git: 081bad43fc]
Open vSwitch CI 3d735f
    Signed-off-by: Michael Santana <msantana@redhat.com>
Open vSwitch CI 3d735f
Open vSwitch CI 3d735f
Open vSwitch CI 44741c
* Mon Aug 16 2021 Open vSwitch CI <ovs-ci@redhat.com> - 2.13.0-122
Open vSwitch CI 44741c
- Merging upstream branch-2.13 [RH git: 775922244f]
Open vSwitch CI 44741c
    Commit list:
Open vSwitch CI 44741c
    f61f810fb3 tc: Set action flags for tunnel_key release.
Open vSwitch CI 44741c
    0dc609a260 netlink-socket: Replace error with txn->error when logging nacked transactions.
Open vSwitch CI 44741c
    d3776e354c dynamic-string: Fix a crash in ds_clone().
Open vSwitch CI 44741c
Open vSwitch CI 44741c
Open vSwitch CI 44741c
* Mon Aug 16 2021 Michael Santana <msantana@redhat.com> - 2.13.0-121
Open vSwitch CI 44741c
- pkgtool: Make changelog in spec file more informative [RH git: 42174a9bc1]
Open vSwitch CI 44741c
    This is done by adding the body of the commit message to the changelong.
Open vSwitch CI 44741c
    The body is indented and has extra spacing separating each entry in the
Open vSwitch CI 44741c
    changelog to make each one more discernible since now they could be
Open vSwitch CI 44741c
    longer.
Open vSwitch CI 44741c
    
Open vSwitch CI 44741c
    Also, make sure the bugzilla ID is at the end of the line
Open vSwitch CI 44741c
    
Open vSwitch CI 44741c
    Signed-off-by: Michael Santana <msantana@redhat.com>
Open vSwitch CI 44741c
Open vSwitch CI 44741c
Open vSwitch CI 7450d4
* Mon Aug 02 2021 Open vSwitch CI <ovs-ci@redhat.com> - 2.13.0-120
Open vSwitch CI 44741c
- Merging upstream branch-2.13 [RH git: eda2f50cf9]
Open vSwitch CI 44741c
    Commit list:
Open vSwitch CI 44741c
    f7e3b47e09 dpif-netdev: Fix offloads of modified flows.
Open vSwitch CI 44741c
    350507b163 dpif-netdev: Fix flow modification after failure.
Open vSwitch CI 44741c
Open vSwitch CI 7450d4
Open vSwitch CI c58995
* Mon Jul 26 2021 Open vSwitch CI <ovs-ci@redhat.com> - 2.13.0-119
Open vSwitch CI 44741c
- Merging upstream branch-2.13 [RH git: c2e53c3150]
Open vSwitch CI 44741c
    Commit list:
Open vSwitch CI 44741c
    f92ce92e53 daemon-unix: Fix leak of a fork error message.
Open vSwitch CI 44741c
Open vSwitch CI c58995
Open vSwitch CI d44875
* Wed Jul 21 2021 Open vSwitch CI <ovs-ci@redhat.com> - 2.13.0-118
Open vSwitch CI 44741c
- Merging upstream branch-2.13 [RH git: d613ce404a]
Open vSwitch CI 44741c
    Commit list:
Open vSwitch CI 44741c
    d794934d01 datapath-windows:Correct checksum for DNAT action
Open vSwitch CI 44741c
Open vSwitch CI d44875
Open vSwitch CI e5b56f
* Sat Jul 17 2021 Open vSwitch CI <ovs-ci@redhat.com> - 2.13.0-117
Open vSwitch CI 44741c
- Merging upstream branch-2.13 [RH git: 1dbd295283]
Open vSwitch CI 44741c
    Commit list:
Open vSwitch CI 44741c
    9b1c0df6ad dpif-netlink: Fix report_loss() message.
Open vSwitch CI 44741c
    17e98772cb conntrack: Document all-zero IP SNAT behavior and add a test case.
Open vSwitch CI 44741c
    305b944a2e ovsdb-server: Fix memleak when failing to read storage.
Open vSwitch CI 44741c
    1aa1f59142 netdev-linux: Ignore TSO packets when TSO is not enabled for userspace.
Open vSwitch CI 44741c
    d127fa6d2b conntrack: Handle already natted packets.
Open vSwitch CI 44741c
    c8ebe4434c python: Fix Idl.run change_seqno update.
Open vSwitch CI 44741c
    2762bf6895 Prepare for 2.13.5.
Open vSwitch CI 44741c
    d72ccdfbda Set release date for 2.13.4.
Open vSwitch CI 44741c
    76fdda2b34 netlink: removed incorrect optimization
Open vSwitch CI 44741c
    9c386761f9 ovs-actions.xml: Add missing bracket.
Open vSwitch CI 44741c
    be8c4af1ce netdev-offload-tc: Use nl_msg_put_flag for OVS_TUNNEL_KEY_ATTR_CSUM.
Open vSwitch CI 44741c
Open vSwitch CI e5b56f
Open vSwitch CI e5b56f
* Wed Jun 30 2021 Timothy Redaelli <tredaelli@redhat.com> - 2.13.0-116
Open vSwitch CI 44741c
- Merging 15251f0e1d datapath-windows: Specify external include .. [RH git: f9d10a495b]
Open vSwitch CI 44741c
    Commit list:
Open vSwitch CI 44741c
    15251f0e1d datapath-windows: Specify external include paths
Open vSwitch CI 44741c
    9f05167b21 Remove Python 2 leftovers.
Open vSwitch CI 44741c
    64c3133c01 ipf: Fix a use-after-free error, and remove the 'do_not_steal' flag.
Open vSwitch CI 44741c
    fe7bd42d6c ofproto: Fix potential NULL dereference in ofproto_ct_*_zone_timeout_policy().
Open vSwitch CI 44741c
    fc23134227 ofproto: Fix potential NULL dereference in ofproto_get_datapath_cap().
Open vSwitch CI 44741c
Open vSwitch CI e5b56f
Open vSwitch CI d2984d
* Thu May 27 2021 Open vSwitch CI <ovs-ci@redhat.com> - 2.13.0-115
Open vSwitch CI 44741c
- Merging upstream branch-2.13 [RH git: 190762bf5c]
Open vSwitch CI 44741c
    Commit list:
Open vSwitch CI 44741c
    8be19f789b dpif-netlink: Fix send of uninitialized memory in ct limit requests.
Open vSwitch CI 44741c
    25dd08492d ofproto-dpif: Fix use of uninitialized attributes of timeout policy.
Open vSwitch CI 44741c
    95570b23c8 netdev-linux: Fix use of uninitialized LAG master name.
Open vSwitch CI 44741c
Open vSwitch CI d2984d
Open vSwitch CI 5347a6
* Fri May 21 2021 Open vSwitch CI <ovs-ci@redhat.com> - 2.13.0-114
Open vSwitch CI 44741c
- Merging upstream branch-2.13 [RH git: 63656e47fb]
Open vSwitch CI 44741c
    Commit list:
Open vSwitch CI 44741c
    160bb80a32 ofp_actions: Fix set_mpls_tc formatting.
Open vSwitch CI 44741c
Open vSwitch CI 5347a6
Open vSwitch CI 5347a6
* Wed May 19 2021 Open vSwitch CI <ovs-ci@redhat.com> - 2.13.0-113
Open vSwitch CI 44741c
- Merging upstream branch-2.13 [RH git: 43b0d45790]
Open vSwitch CI 44741c
    Commit list:
Open vSwitch CI 44741c
    32a197f845 dpif-netdev: Remove meter rate from the bucket size calculation.
Open vSwitch CI 44741c
    1b4d8fe1d9 ovsdb-idl: Consider all tables when computing expected cond seqno.
Open vSwitch CI 44741c
Open vSwitch CI 5347a6
Open vSwitch CI c2a779
* Sat May 15 2021 Open vSwitch CI <ovs-ci@redhat.com> - 2.13.0-112
Open vSwitch CI 44741c
- Merging upstream branch-2.13 [RH git: 3f4fc768f0]
Open vSwitch CI 44741c
    Commit list:
Open vSwitch CI 44741c
    9acbf2cff7 ovs-ofctl: Fix coredump when using "add-groups" command.
Open vSwitch CI 44741c
Open vSwitch CI c2a779
Open vSwitch CI c2a779
* Fri May 14 2021 Open vSwitch CI <ovs-ci@redhat.com> - 2.13.0-111
Open vSwitch CI 44741c
- Merging upstream branch-2.13 [RH git: 5eca61ee5e]
Open vSwitch CI 44741c
    Commit list:
Open vSwitch CI 44741c
    058702e3dc raft: Transfer leadership before creating snapshots.
Open vSwitch CI 44741c
Open vSwitch CI c2a779
Open vSwitch CI d33639
* Wed May 12 2021 Open vSwitch CI <ovs-ci@redhat.com> - 2.13.0-110
Open vSwitch CI 44741c
- Merging upstream branch-2.13 [RH git: 6022570f3f]
Open vSwitch CI 44741c
    Commit list:
Open vSwitch CI 44741c
    3bc41e2b6a dpdk: Use DPDK 19.11.8 release.
Open vSwitch CI 44741c
Open vSwitch CI d33639
Open vSwitch CI c51709
* Tue May 11 2021 Open vSwitch CI <ovs-ci@redhat.com> - 2.13.0-109
Open vSwitch CI 44741c
- Merging upstream branch-2.13 [RH git: 132c26ba20]
Open vSwitch CI 44741c
    Commit list:
Open vSwitch CI 44741c
    fbebe7377d github: Fix up malformed /etc/hosts.
Open vSwitch CI 44741c
    2a3d1f4971 doc: automake: Add support for sphinx 4.0.
Open vSwitch CI 44741c
    4ab5524dbb cirrus: Look up existing versions of python dependencies.
Open vSwitch CI 44741c
Open vSwitch CI c51709
Open vSwitch CI ad3266
* Mon May 10 2021 Open vSwitch CI <ovs-team@redhat.com> - 2.13.0-108
Open vSwitch CI 44741c
- Merging upstream branch-2.13 [RH git: d2edacdddd]
Open vSwitch CI 44741c
    Commit list:
Open vSwitch CI 44741c
    ea98fe0743 ofp-group: Use big-enough buffer in ofputil_format_group().
Open vSwitch CI 44741c
Open vSwitch CI ad3266
Open vSwitch CI 684804
* Wed Apr 21 2021 Open vSwitch CI <ovs-team@redhat.com> - 2.13.0-107
Open vSwitch CI 44741c
- Merging upstream branch-2.13 [RH git: 9a8a649301]
Open vSwitch CI 44741c
    Commit list:
Open vSwitch CI 44741c
    798a40ffb6 ofproto/ofproto-dpif-sflow: Check sflow agent in case of race
Open vSwitch CI 44741c
    9984d61124 dpif: Fix use of uninitialized execute hash.
Open vSwitch CI 44741c
    43c2a10922 odp-util: Fix use of uninitialized erspan metadata.
Open vSwitch CI 44741c
    4f68040a5c dpif-netlink: Fix using uninitialized info.tc_modify_flow_deleted in out label.
Open vSwitch CI 44741c
    1c2a5f170f netdev-offload-tc: Probe for support for any of the ct_state flags.
Open vSwitch CI 44741c
    a4730043a4 compat: Add ct_state flags definitions.
Open vSwitch CI 44741c
    bbd62d7a44 tc: Use skip_hw flag when probing tc features.
Open vSwitch CI 44741c
Open vSwitch CI 684804
Open vSwitch CI 684804
* Tue Apr 20 2021 Timothy Redaelli <tredaelli@redhat.com> - 2.13.0-106
Open vSwitch CI 44741c
- Fix typo in rh-mock-srpm [RH git: 5641bf9d72]
Open vSwitch CI 44741c
    Thanks fbl for reporting
Open vSwitch CI 44741c
Open vSwitch CI 684804
Open vSwitch CI 4c4c9c
* Wed Apr 14 2021 Open vSwitch CI <ovs-team@redhat.com> - 2.13.0-105
Open vSwitch CI 44741c
- Merging upstream branch-2.13 [RH git: 0aaf7c02b7]
Open vSwitch CI 44741c
    Commit list:
Open vSwitch CI 44741c
    759da53f07 Add test cases for ingress_policing parameters
Open vSwitch CI 44741c
    c901a563f4 netdev-linux: correct unit of burst parameter
Open vSwitch CI 44741c
Open vSwitch CI 4c4c9c
Open vSwitch CI df85d8
* Fri Apr 09 2021 Open vSwitch CI <ovs-team@redhat.com> - 2.13.0-104
Open vSwitch CI 44741c
- Merging upstream branch-2.13 [RH git: 1334a398c9]
Open vSwitch CI 44741c
    Commit list:
Open vSwitch CI 44741c
    d47800bd66 ovsdb-idl: Mark arc sources as updated when destination is deleted.
Open vSwitch CI 44741c
    6cf6f9d0d3 ovsdb-idl: Preserve references for deleted rows.
Open vSwitch CI 44741c
    e7d451ab8a ovsdb-idl.at: Make test outputs more predictable.
Open vSwitch CI 44741c
    7fca8a3c94 test-ovsdb: Log steps in idl test.
Open vSwitch CI 44741c
    4ca9dd87f6 test-stream: Silence memory leak report.
Open vSwitch CI 44741c
Open vSwitch CI df85d8
Open vSwitch CI fbbb37
* Tue Apr 06 2021 Timothy Redaelli <tredaelli@redhat.com> - 2.13.0-103
Open vSwitch CI 44741c
- Align DPDK config to 19.11.7 [RH git: 62cff1abf5]
Open vSwitch CI 44741c
Open vSwitch CI fbbb37
Open vSwitch CI fbbb37
* Tue Apr 06 2021 Timothy Redaelli <tredaelli@redhat.com> - 2.13.0-102
Open vSwitch CI 44741c
- Merge tag 'c765f42e31c1baa8f4e7a9e01080f5474596ea98' into fast-datapath-rhel-8 [RH git: 4ef8ee2e1a]
Open vSwitch CI 44741c
    dpdk-19.11.7
Open vSwitch CI 44741c
Open vSwitch CI fbbb37
Open vSwitch CI 6e16ca
* Fri Apr 02 2021 Open vSwitch CI <ovs-team@redhat.com> - 2.13.0-101
Open vSwitch CI 44741c
- Merging upstream branch-2.13 [RH git: 02b662f992]
Open vSwitch CI 44741c
    Commit list:
Open vSwitch CI 44741c
    68086371c8 ipsec: Fix IPv6 default route support for Libreswan.
Open vSwitch CI 44741c
Open vSwitch CI 6e16ca
Open vSwitch CI e2a997
* Thu Apr 01 2021 Open vSwitch CI <ovs-team@redhat.com> - 2.13.0-100
Open vSwitch CI 44741c
- Merging upstream branch-2.13 [RH git: 7323d4b8e4]
Open vSwitch CI 44741c
    Commit list:
Open vSwitch CI 44741c
    2cb952326e ovs-ofctl: Fix segfault due to bad meter n_bands.
Open vSwitch CI 44741c
Open vSwitch CI e2a997
Open vSwitch CI 695be9
* Tue Mar 30 2021 Open vSwitch CI <ovs-team@redhat.com> - 2.13.0-99
Open vSwitch CI 44741c
- Merging upstream branch-2.13 [RH git: 8e7dc3319c]
Open vSwitch CI 44741c
    Commit list:
Open vSwitch CI 44741c
    a112239ff5 dpif-netdev: Refactor and fix the buckets calculation.
Open vSwitch CI 44741c
    d9d8ebfa00 dpif-netdev: Fix the meter buckets overflow.
Open vSwitch CI 44741c
Open vSwitch CI 695be9
Open vSwitch CI 32988e
* Mon Mar 22 2021 Kevin Traynor <ktraynor@redhat.com> - 2.13.0-98
Open vSwitch CI 44741c
- dpif-netdev: Allow PMD auto load balance with cross-numa. [RH git: edeaca020b] (#1938162)
Open vSwitch CI 44741c
    commit ec68a877db5bbfba49ddeb9929479c033420ea6b
Open vSwitch CI 44741c
    Author: Kevin Traynor <ktraynor@redhat.com>
Open vSwitch CI 44741c
    Date:   Thu Mar 18 11:34:04 2021 +0000
Open vSwitch CI 44741c
    
Open vSwitch CI 44741c
        dpif-netdev: Allow PMD auto load balance with cross-numa.
Open vSwitch CI 44741c
    
Open vSwitch CI 44741c
        Previously auto load balance did not trigger a reassignment when
Open vSwitch CI 44741c
        there was any cross-numa polling as an rxq could be polled from a
Open vSwitch CI 44741c
        different numa after reassign and it could impact estimates.
Open vSwitch CI 44741c
    
Open vSwitch CI 44741c
        In the case where there is only one numa with pmds available, the
Open vSwitch CI 44741c
        same numa will always poll before and after reassignment, so estimates
Open vSwitch CI 44741c
        are valid. Allow PMD auto load balance to trigger a reassignment in
Open vSwitch CI 44741c
        this case.
Open vSwitch CI 44741c
    
Open vSwitch CI 44741c
        Acked-by: Eelco Chaudron <echaudro@redhat.com>
Open vSwitch CI 44741c
        Acked-by: David Marchand <david.marchand@redhat.com>
Open vSwitch CI 44741c
        Tested-by: Sunil Pai G <sunil.pai.g@intel.com>
Open vSwitch CI 44741c
        Acked-by: Flavio Leitner <fbl@sysclose.org>
Open vSwitch CI 44741c
        Signed-off-by: Kevin Traynor <ktraynor@redhat.com>
Open vSwitch CI 44741c
        Signed-off-by: Ilya Maximets <i.maximets@ovn.org>
Open vSwitch CI 44741c
    
Open vSwitch CI 44741c
    Reported-at: https://bugzilla.redhat.com/show_bug.cgi?id=1938162
Open vSwitch CI 44741c
    Conflicts: Commit backported from upstream master branch. Commit not
Open vSwitch CI 44741c
    present on upstream branch-2.13. Removed NEWS file update as could cause
Open vSwitch CI 44741c
    future merge conflicts.
Open vSwitch CI 44741c
Open vSwitch CI 32988e
Open vSwitch CI 5efe3d
* Fri Mar 19 2021 Kevin Traynor <ktraynor@redhat.com> - 2.13.0-97
Open vSwitch CI 44741c
- redhat: Update docs for test builds [RH git: 0322f225d3]
Open vSwitch CI 44741c
Open vSwitch CI 5efe3d
Open vSwitch CI ffdc71
* Tue Mar 16 2021 Open vSwitch CI <ovs-team@redhat.com> - 2.13.0-96
Open vSwitch CI 44741c
- Merging upstream branch-2.13 [RH git: bb107a7f7f]
Open vSwitch CI 44741c
    Commit list:
Open vSwitch CI 44741c
    fc8444fb1d python: Send notifications after the transaction ends.
Open vSwitch CI 44741c
    712193ff1c ovs-ctl: Allow recording hostname separately.
Open vSwitch CI 44741c
    3665d7f805 dpif-netdev: Fix crash when add dp flow without in_port field.
Open vSwitch CI 44741c
    732e17d6b6 Documentation: Fix DPDK qos example.
Open vSwitch CI 44741c
    1dee0a67e5 raft: Report disconnected in cluster/status if candidate retries election.
Open vSwitch CI 44741c
    e78d6ffba7 raft: Reintroduce jsonrpc inactivity probes.
Open vSwitch CI 44741c
    aea5fefdac connmgr: Check nullptr inside ofmonitor_report().
Open vSwitch CI 44741c
    26fa38c332 ovsdb-client: Fix needs-conversion when SERVER is explicitly specified.
Open vSwitch CI 44741c
    65582c0bad dpdk: Use DPDK 19.11.6 release.
Open vSwitch CI 44741c
    967d4055e7 windows, tests: Modify service test.
Open vSwitch CI 44741c
    ccdfc67b74 netdev-linux: Fix indentation.
Open vSwitch CI 44741c
    81e759618c ci: Use parallel build for distcheck.
Open vSwitch CI 44741c
    6d67310f4d ofp-actions: Fix use-after-free while decoding RAW_ENCAP.
Open vSwitch CI 44741c
Open vSwitch CI ffdc71
Open vSwitch CI ffdc71
* Mon Feb 15 2021 Eelco Chaudron <echaudro@redhat.com> - 2.13.0-95
Open vSwitch CI 44741c
- conntrack: add generic IP protocol support [RH git: 6b3ca4b028]
Open vSwitch CI 44741c
    Currently, userspace conntrack only tracks TCP, UDP, and ICMP, and all
Open vSwitch CI 44741c
    other IP protocols are discarded, and the +inv state is returned. This
Open vSwitch CI 44741c
    is not in line with the kernel conntrack. Where if no L4 information can
Open vSwitch CI 44741c
    be extracted it's treated as generic L3. The change below mimics the
Open vSwitch CI 44741c
    behavior of the kernel.
Open vSwitch CI 44741c
    
Open vSwitch CI 44741c
    Resolves: BZ1876459
Open vSwitch CI 44741c
    
Open vSwitch CI 44741c
    Signed-off-by: Eelco Chaudron <echaudro@redhat.com>
Open vSwitch CI 44741c
    Acked-by: Flavio Leitner <fbl@sysclose.org>
Open vSwitch CI 44741c
    Signed-off-by: Ilya Maximets <i.maximets@ovn.org>
Open vSwitch CI 44741c
    (cherry picked from commit a27d70a8984879bc0a66afc2d7c35149659be24d)
Open vSwitch CI 44741c
39e7cd
Open vSwitch CI ffdc71
* Wed Feb 10 2021 Open vSwitch CI <ovs-team@redhat.com> - 2.13.0-94
Open vSwitch CI 44741c
- Merging upstream branch-2.13 [RH git: 8655a639ac]
Open vSwitch CI 44741c
    Commit list:
Open vSwitch CI 44741c
    2be25e3b00 Prepare for 2.13.4.
Open vSwitch CI 44741c
    f25820bf55 Set release date for 2.13.3.
Open vSwitch CI 44741c
    9a5e78b5c7 cirrus: Use FreeBSD 12.2.
Open vSwitch CI 44741c
    3512fb512c flow: Support extra padding length.
Open vSwitch CI 44741c
Open vSwitch CI ffdc71
Open vSwitch CI ffdc71
* Fri Feb 05 2021 Open vSwitch CI <ovs-team@redhat.com> - 2.13.0-93
Open vSwitch CI 44741c
- Merging upstream branch-2.13 [RH git: 2100324b58]
Open vSwitch CI 44741c
    Commit list:
Open vSwitch CI 44741c
    a6efca9628 netdev-offload-tc: Reject rules with unsupported ct_state flags.
Open vSwitch CI 44741c
39e7cd
Open vSwitch CI ffdc71
* Thu Feb 04 2021 Open vSwitch CI <ovs-team@redhat.com> - 2.13.0-92
Open vSwitch CI 44741c
- Merging upstream branch-2.13 [RH git: 92b77d1489]
Open vSwitch CI 44741c
    Commit list:
Open vSwitch CI 44741c
    9985c46501 dist-docs: Include manpages generated from rST.
Open vSwitch CI 44741c
Open vSwitch CI ffdc71
Open vSwitch CI ffdc71
* Wed Feb 03 2021 Open vSwitch CI <ovs-team@redhat.com> - 2.13.0-91
Open vSwitch CI 44741c
- Merging upstream branch-2.13 [RH git: ea87c21ff2]
Open vSwitch CI 44741c
    Commit list:
Open vSwitch CI 44741c
    fcae3177d4 tc: Fix mpls bottom of stack bit mask reporting.
Open vSwitch CI 44741c
Open vSwitch CI ffdc71
Open vSwitch CI ffdc71
* Tue Feb 02 2021 Timothy Redaelli <tredaelli@redhat.com> - 2.13.0-90
Open vSwitch CI 44741c
- dpif-netdev: Add PMD auto load balance status log. [RH git: 4fd540d8ef]
Open vSwitch CI 44741c
    When any PMD auto load balance parameters change, it is useful
Open vSwitch CI 44741c
    to also log if the feature is enabled or disabled.
Open vSwitch CI 44741c
    
Open vSwitch CI 44741c
    |dpif_netdev|INFO|PMD auto load balance load threshold changed to 70%
Open vSwitch CI 44741c
    |dpif_netdev|INFO|PMD auto load balance is disabled
Open vSwitch CI 44741c
    
Open vSwitch CI 44741c
    Signed-off-by: Kevin Traynor <ktraynor@redhat.com>
Open vSwitch CI 44741c
    Acked-by: David Marchand <david.marchand@redhat.com>
Open vSwitch CI 44741c
    Acked-by: Ian Stokes <ian.stokes@intel.com>
Open vSwitch CI 44741c
    Signed-off-by: Ilya Maximets <i.maximets@ovn.org>
Open vSwitch CI 44741c
    (cherry picked from commit 30de75520277a39ac775d15d4fa1c9cc886ad5d2)
Open vSwitch CI 44741c
39e7cd
Open vSwitch CI ffdc71
* Tue Feb 02 2021 Timothy Redaelli <tredaelli@redhat.com> - 2.13.0-89
Open vSwitch CI 44741c
- dpif-netdev: Add parameters to configure PMD auto load balance. [RH git: 5935f7a9d8]
Open vSwitch CI 44741c
    Two important parts of how PMD auto load balance operates are how
Open vSwitch CI 44741c
    loaded a core needs to be and how much improvement is estimated
Open vSwitch CI 44741c
    before a PMD auto load balance can trigger.
Open vSwitch CI 44741c
    
Open vSwitch CI 44741c
    Previously they were hardcoded to 95% loaded and 25% variance
Open vSwitch CI 44741c
    improvement.
Open vSwitch CI 44741c
    
Open vSwitch CI 44741c
    These default values may not be suitable for all use cases and
Open vSwitch CI 44741c
    we may want to use a more (or less) aggressive rebalance, either
Open vSwitch CI 44741c
    on the pmd load threshold or on the minimum variance improvement
Open vSwitch CI 44741c
    threshold.
Open vSwitch CI 44741c
    
Open vSwitch CI 44741c
    The defaults are not changed, but "pmd-auto-lb-load-threshold" and
Open vSwitch CI 44741c
    "pmd-auto-lb-improvement-threshold" parameters are added to override
Open vSwitch CI 44741c
    the defaults.
Open vSwitch CI 44741c
    
Open vSwitch CI 44741c
    $ ovs-vsctl set open_vswitch . other_config:pmd-auto-lb-load-threshold="70"
Open vSwitch CI 44741c
    $ ovs-vsctl set open_vswitch . other_config:pmd-auto-lb-improvement-threshold="20"
Open vSwitch CI 44741c
    
Open vSwitch CI 44741c
    Signed-off-by: Christophe Fontaine <cfontain@redhat.com>
Open vSwitch CI 44741c
    Co-Authored-by: Kevin Traynor <ktraynor@redhat.com>
Open vSwitch CI 44741c
    Signed-off-by: Kevin Traynor <ktraynor@redhat.com>
Open vSwitch CI 44741c
    Acked-by: David Marchand <david.marchand@redhat.com>
Open vSwitch CI 44741c
    Acked-by: Ian Stokes <ian.stokes@intel.com>
Open vSwitch CI 44741c
    Signed-off-by: Ilya Maximets <i.maximets@ovn.org>
Open vSwitch CI 44741c
    (cherry picked from commit 62ab5594c20cc815592562af69abb5b8ebe85d55)
Open vSwitch CI 44741c
39e7cd
Open vSwitch CI ffdc71
* Tue Feb 02 2021 Timothy Redaelli <tredaelli@redhat.com> - 2.13.0-88
Open vSwitch CI 44741c
- dpif-netdev: Add log for PMD auto load balance interval parameter. [RH git: a8f4696c20]
Open vSwitch CI 44741c
    Previously if the parameter for the PMD auto load balance minimum
Open vSwitch CI 44741c
    interval was changed at runtime, it was not logged unless the
Open vSwitch CI 44741c
    PMD auto load balance feature was also changed to enabled.
Open vSwitch CI 44741c
    
Open vSwitch CI 44741c
    Log the parameter anytime it changes, and use minutes when it is
Open vSwitch CI 44741c
    logged as that is the user input format.
Open vSwitch CI 44741c
    
Open vSwitch CI 44741c
    Fixes: 5bf84282482a ("Adding support for PMD auto load balancing")
Open vSwitch CI 44741c
    Signed-off-by: Kevin Traynor <ktraynor@redhat.com>
Open vSwitch CI 44741c
    Acked-by: David Marchand <david.marchand@redhat.com>
Open vSwitch CI 44741c
    Acked-by: Ian Stokes <ian.stokes@intel.com>
Open vSwitch CI 44741c
    Signed-off-by: Ilya Maximets <i.maximets@ovn.org>
Open vSwitch CI 44741c
    (cherry picked from commit e4db0b69e2d81d8d5ca1265fbfbd08a9b30a1a02)
Open vSwitch CI 44741c
Open vSwitch CI ffdc71
Open vSwitch CI ffdc71
* Mon Feb 01 2021 Open vSwitch CI <ovs-team@redhat.com> - 2.13.0-87
Open vSwitch CI 44741c
- Merging upstream branch-2.13 [RH git: d303f53850]
Open vSwitch CI 44741c
    Commit list:
Open vSwitch CI 44741c
    a5e068f24b netdev-dpdk: Fix incorrect shinfo initialization.
Open vSwitch CI 44741c
    522d828ae6 github: Don't fail the job if 'apt update' failed.
Open vSwitch CI 44741c
    81026f0bad vswitchd.xml: Fix supported IPsec tunnels.
Open vSwitch CI 44741c
Open vSwitch CI ffdc71
Open vSwitch CI ffdc71
* Fri Jan 29 2021 Open vSwitch CI <ovs-team@redhat.com> - 2.13.0-86
Open vSwitch CI 44741c
- Merging upstream branch-2.13 [RH git: 2986e0866e]
Open vSwitch CI 44741c
    Commit list:
Open vSwitch CI 44741c
    98723e351f ovsdb-doc: Add build dependency on dirs.py.
Open vSwitch CI 44741c
Open vSwitch CI ffdc71
Open vSwitch CI ffdc71
* Thu Jan 28 2021 Open vSwitch CI <ovs-team@redhat.com> - 2.13.0-85
Open vSwitch CI 44741c
- Merging upstream branch-2.13 [RH git: f2f6b58dd9]
Open vSwitch CI 44741c
    Commit list:
Open vSwitch CI 44741c
    484068b741 dpctl: Fix dpctl process command parameter error.
Open vSwitch CI 44741c
Open vSwitch CI ffdc71
Open vSwitch CI ffdc71
* Thu Jan 28 2021 Timothy Redaelli <tredaelli@redhat.com> - 2.13.0-84
Open vSwitch CI 44741c
- redhat: Use a mock config based on the buildsystem target [RH git: b820a7b894]
Open vSwitch CI 44741c
Open vSwitch CI ffdc71
Open vSwitch CI ffdc71
* Thu Jan 28 2021 Flavio Leitner <fbl@redhat.com> - 2.13.0-83
Open vSwitch CI 44741c
- Merging b37528cef7 conntrack: Fix the icmp conntrack new state. [RH git: dc913c7d4c]
Open vSwitch CI 44741c
    Commit list:
Open vSwitch CI 44741c
    b37528cef7 conntrack: Fix the icmp conntrack new state.
Open vSwitch CI 44741c
    c06328ae57 conntrack: Fix icmp conntrack state.
Open vSwitch CI 44741c
    8e0a1527d7 odp-util: Fix abort while formatting nsh actions.
Open vSwitch CI 44741c
Open vSwitch CI ffdc71
Open vSwitch CI ffdc71
* Thu Jan 28 2021 Flavio Leitner <fbl@redhat.com> - 2.13.0-82
Open vSwitch CI 44741c
- Merging f383000ca6 acinclude: Strip out -mno-avx512f provided .. [RH git: 304ba372e4]
Open vSwitch CI 44741c
    Commit list:
Open vSwitch CI 44741c
    f383000ca6 acinclude: Strip out -mno-avx512f provided by DPDK.
Open vSwitch CI 44741c
    63f2aa2b7d acinclude: Strip out -march provided by DPDK.
Open vSwitch CI 44741c
Open vSwitch CI ffdc71
Open vSwitch CI ffdc71
* Wed Jan 20 2021 Timothy Redaelli <tredaelli@redhat.com> - 2.13.0-81
Open vSwitch CI 44741c
- Enable AVX512 support on binutils >= 2.30-79.el8 [RH git: 8b3f992902]
Open vSwitch CI 44741c
Open vSwitch CI ffdc71
Open vSwitch CI ffdc71
* Thu Jan 14 2021 Open vSwitch CI <ovs-team@redhat.com> - 2.13.0-80
Open vSwitch CI 44741c
- Merging upstream branch-2.13 [RH git: b7a6e48410]
Open vSwitch CI 44741c
    Commit list:
Open vSwitch CI 44741c
    66fc41bfb2 Prepare for 2.13.3.
Open vSwitch CI 44741c
    e8ca014102 Set release date for 2.13.2.
Open vSwitch CI 44741c
    9b00c9c047 lldp: do not leak memory on multiple instances of TLVs
Open vSwitch CI 44741c
    02e48ecf29 ipf: Avoid accessing to a freed rp.
Open vSwitch CI 44741c
    999bec82e1 rhel: Fix libunwind dev package.
Open vSwitch CI 44741c
39e7cd
387d36
* Wed Jan 06 2021 Open vSwitch CI <ovs-team@redhat.com> - 2.13.0-79
Open vSwitch CI 44741c
- Merging upstream branch-2.13 [RH git: 86c9f9af77]
Open vSwitch CI 44741c
    Commit list:
Open vSwitch CI 44741c
    6c3d1c9f6f ovs-monitor-ipsec: Add option to not restart IKE daemon.
Open vSwitch CI 44741c
    d9edf71d17 ovs-monitor-ipsec: Allow exit of ipsec daemon maintaining state.
Open vSwitch CI 44741c
    7286dc4412 ovs-ctl: Use 'stop_daemon' to stop ovs-monitor-ipsec.
Open vSwitch CI 44741c
    60c6013b7b ovs-monitor-ipsec: Fix active connection regex.
Open vSwitch CI 44741c
    d59ec5359d ovs-monitor-ipsec: set correct 'leftcert' and 'rightcert' name
Open vSwitch CI 44741c
    6e1f4ade25 ovs-monitor-ipsec: Add support for tunnel 'local_ip'.
Open vSwitch CI 44741c
    03ee7466ca ovs-monitor-ipsec: Suppress "unknown %d argument" warning.
Open vSwitch CI 44741c
    d371c42bbb ovs-monitor-ipsec: Fix _nss_clear_database() parse error.
Open vSwitch CI 44741c
    ff48c43a59 ovs-ctl: Don't overwrite external-id hostname.
Open vSwitch CI 44741c
387d36
387d36
* Wed Dec 23 2020 Open vSwitch CI <ovs-team@redhat.com> - 2.13.0-78
Open vSwitch CI 44741c
- Merging upstream branch-2.13 [RH git: 2cfb47639f]
Open vSwitch CI 44741c
    Commit list:
Open vSwitch CI 44741c
    7312222306 odp-util: Fix netlink message overflow with userdata.
Open vSwitch CI 44741c
    b3c09431ad NEWS: Move '--offload-stats' entry to correct release.
Open vSwitch CI 44741c
    7c24762d3e ovsdb-tool: Fix datum leak in the show-log command.
Open vSwitch CI 44741c
    a47647c6ec ofproto-dpif-xlate: Stop forwarding MLD reports to group ports.
Open vSwitch CI 44741c
    82093f97c5 github: Fix Ubuntu package installation.
Open vSwitch CI 44741c
    56b81e3ee7 jsonrpc: Avoid disconnecting prematurely due to long poll intervals.
Open vSwitch CI 44741c
387d36
387d36
* Fri Dec 04 2020 Open vSwitch CI <ovs-team@redhat.com> - 2.13.0-77
Open vSwitch CI 44741c
- Merging upstream branch-2.13 [RH git: 350e017b66]
Open vSwitch CI 44741c
    Commit list:
Open vSwitch CI 44741c
    aacf05c5b8 ovsdb-idl: Fix expected condition seqno when changes are pending.
Open vSwitch CI 44741c
    db74cd6f4b ovsdb-cluster.at: Fix infinite loop in torture tests.
Open vSwitch CI 44741c
387d36
387d36
* Fri Dec 04 2020 Open vSwitch CI <ovs-team@redhat.com> - 2.13.0-76
Open vSwitch CI 44741c
- Merging upstream branch-2.13 [RH git: ece49fb665]
Open vSwitch CI 44741c
    Commit list:
Open vSwitch CI 44741c
    cdf4cf4966 lib/tc: fix parse act pedit for tos rewrite
Open vSwitch CI 44741c
387d36
387d36
* Thu Dec 03 2020 Open vSwitch CI <ovs-team@redhat.com> - 2.13.0-75
Open vSwitch CI 44741c
- Merging upstream branch-2.13 [RH git: 3e10785905]
Open vSwitch CI 44741c
    Commit list:
Open vSwitch CI 44741c
    ac5c067937 ovsdb-idl: Fix use-after-free when deleting orphaned rows.
Open vSwitch CI 44741c
    60607ba779 ovsdb-idl: Fix memleak when deleting orphan rows.
Open vSwitch CI 44741c
    08c8a29bf4 ovsdb-idl: Fix memleak when reinserting tracked orphan rows.
Open vSwitch CI 44741c
387d36
387d36
* Wed Dec 02 2020 Open vSwitch CI <ovs-team@redhat.com> - 2.13.0-74
Open vSwitch CI 44741c
- Merging upstream branch-2.13 [RH git: 773fc1e75b]
Open vSwitch CI 44741c
    Commit list:
Open vSwitch CI 44741c
    d853716dcb python: Update build system to ensure dirs.py is created.
Open vSwitch CI 44741c
    9ada310291 python: set ovs.dirs variables with build system values
Open vSwitch CI 44741c
    9342d27a26 datapath: ovs_ct_exit to be done under ovs_lock
Open vSwitch CI 44741c
    d93d9181f5 compat: rcu: Add support for consolidated-RCU reader checking
Open vSwitch CI 44741c
    505b916b03 ovsdb-idl: Fix iteration over tracked rows with no actual data.
Open vSwitch CI 44741c
    1eb6abd6fc Handle refTable values with setkey()
Open vSwitch CI 44741c
    feec8e6888 tests: Add overflow test for the sha1 library.
Open vSwitch CI 44741c
    b5a39a7d7f travis: Remove support for Travis CI.
Open vSwitch CI 44741c
    db5e2bdd3b github: Add GitHub Actions workflow.
Open vSwitch CI 44741c
    3ff5e400bd ci: Don't use 'native' machine for DPDK cache.
Open vSwitch CI 44741c
387d36
387d36
* Thu Nov 19 2020 Timothy Redaelli <tredaelli@redhat.com> - 2.13.0-73
Open vSwitch CI 44741c
- Fix building OVS on ppc64le and armv7hl with Python 3.9 [RH git: a6928f88b2]
Open vSwitch CI 44741c
    Python 3.9 changed the architecture naming in suffix used for binary
Open vSwitch CI 44741c
    extensions.
Open vSwitch CI 44741c
    Use python3-config --extension-suffix in order to figure out the correct
Open vSwitch CI 44741c
    extension suffix used for binary extensions.
Open vSwitch CI 44741c
    
Open vSwitch CI 44741c
    This is not, currently, an issue on RHEL8, but it'll be an issue on
Open vSwitch CI 44741c
    RHEL9 and it's an issue on Fedora Rawhide.
Open vSwitch CI 44741c
387d36
387d36
* Tue Nov 17 2020 Timothy Redaelli <tredaelli@redhat.com> - 2.13.0-72
Open vSwitch CI 44741c
- redhat: Enable ipsec support [RH git: 2c7306b51f] (#1782141)
Open vSwitch CI 44741c
    Resolves: #1782141
Open vSwitch CI 44741c
387d36
e3b3b7
* Mon Nov 16 2020 Open vSwitch CI <ovs-team@redhat.com> - 2.13.0-71
Open vSwitch CI 44741c
- Merging upstream branch-2.13 [RH git: 2aae181525]
Open vSwitch CI 44741c
    Commit list:
Open vSwitch CI 44741c
    abe7fe4486 ovsdb-idl: Return correct seqno from ovsdb_idl_db_set_condition().
Open vSwitch CI 44741c
    03c12fe076 ovsdb-idl: Fix *_is_new() IDL functions.
Open vSwitch CI 44741c
    1b73731eef ovsdb-idl.at: Return stream open_block python tests.
Open vSwitch CI 44741c
    b876447179 compat: Fix compile warning.
Open vSwitch CI 44741c
    cb874fa2f2 compat: Remove stale code.
Open vSwitch CI 44741c
    6c5cd45051 tests: Add parse-flow tests for MPLS fields.
Open vSwitch CI 44741c
    fa59781826 ofp-actions: Fix userspace support for mpls_ttl.
Open vSwitch CI 44741c
    cdf2cf98e3 python: Don't raise an Exception on failure to connect via SSL.
Open vSwitch CI 44741c
    032fd056fe lldp: correctly increase discarded count
Open vSwitch CI 44741c
    f051229561 lldp: increase statsTLVsUnrecognizedTotal on unknown TLV
Open vSwitch CI 44741c
    12ffc6118e lldp: fix a buffer overflow when handling management address TLV
Open vSwitch CI 44741c
    46b5101de0 lldp: Fix size of PEEK_DISCARD_UINT32()
Open vSwitch CI 44741c
    364d371c58 lldp: validate a bit more received LLDP frames
Open vSwitch CI 44741c
    3a3c52b8a2 sha1: Fix algorithm for data bigger than 512 megabytes.
Open vSwitch CI 44741c
    8ea7e55eb6 odp-util: Fix overflow of nested netlink attributes.
Open vSwitch CI 44741c
e3b3b7
e3b3b7
* Wed Nov 11 2020 Flavio Leitner <fbl@redhat.com> - 2.13.0-70
Open vSwitch CI 44741c
- redhat: Fix conf.db permissions in the spec. [RH git: 46d3617298]
Open vSwitch CI 44741c
    Upstream has removed the read permission from the db file
Open vSwitch CI 44741c
    because it may incur security concerns, for example, IPsec
Open vSwitch CI 44741c
    Pre-shared keys are stored in the db.
Open vSwitch CI 44741c
    
Open vSwitch CI 44741c
    Fixes: 3e581f43a9 ("ovsdb: Remove read permission of *.db from others.")
Open vSwitch CI 44741c
    Signed-off-by: Flavio Leitner <fbl@redhat.com>
Open vSwitch CI 44741c
e3b3b7
e3b3b7
* Wed Nov 11 2020 Flavio Leitner <fbl@redhat.com> - 2.13.0-69
Open vSwitch CI 44741c
- Merging d43d10e10c netdev-offload-dpdk: Preserve HW statistics.. [RH git: a779495d03]
Open vSwitch CI 44741c
    Commit list:
Open vSwitch CI 44741c
    d43d10e10c netdev-offload-dpdk: Preserve HW statistics for modified flows.
Open vSwitch CI 44741c
    3e581f43a9 ovsdb: Remove read permission of *.db from others.
Open vSwitch CI 44741c
    1440833435 raft: Make backlog thresholds configurable.
Open vSwitch CI 44741c
    efc59be2ea raft: Set threshold on backlog for raft connections.
Open vSwitch CI 44741c
e3b3b7
e3b3b7
* Mon Nov 09 2020 Flavio Leitner <fbl@redhat.com> - 2.13.0-68
Open vSwitch CI 44741c
- Merging dc5b4e8f69 ovs-bugtool: Fix crash when enable --ovs. [RH git: de7f5508d7]
Open vSwitch CI 44741c
    Commit list:
Open vSwitch CI 44741c
    dc5b4e8f69 ovs-bugtool: Fix crash when enable --ovs.
Open vSwitch CI 44741c
e3b3b7
e3b3b7
* Thu Nov 05 2020 Ilya Maximets <i.maximets@redhat.com> - 2.13.0-67
Open vSwitch CI 44741c
- Merging upstream branch-2.13 [RH git: 03753de14f]
Open vSwitch CI 44741c
    Commit list:
Open vSwitch CI 44741c
    07049d5b66 bugtool: Fix for Python3.
Open vSwitch CI 44741c
    625a6f0f0e raft: Avoid having more than one snapshot in-flight.
Open vSwitch CI 44741c
    fc7a644a73 ovsdb-server: Reclaim heap memory after compaction.
Open vSwitch CI 44741c
    49453540d9 raft: Add log length to the memory report.
Open vSwitch CI 44741c
e3b3b7
e3b3b7
* Wed Nov 04 2020 Ilya Maximets <i.maximets@redhat.com> - 2.13.0-66
Open vSwitch CI 44741c
- Merging upstream branch-2.13 [RH git: 373b7e9f51]
Open vSwitch CI 44741c
    Commit list:
Open vSwitch CI 44741c
    fd29479f04 raft: Report jsonrpc backlog in kilobytes.
Open vSwitch CI 44741c
    7865bc49d3 ovsdb: Add raft memory usage to memory report.
Open vSwitch CI 44741c
e3b3b7
e3b3b7
* Tue Oct 27 2020 Open vSwitch CI <ovs-team@redhat.com> - 2.13.0-65
Open vSwitch CI 44741c
- Merging upstream branch-2.13 [RH git: f9a054c1b5]
Open vSwitch CI 44741c
    Commit list:
Open vSwitch CI 44741c
    7a69ccf7e4 raft: Avoid annoying debug logs if raft is connected.
Open vSwitch CI 44741c
    3a8897322f raft: Fix error leak on failure while saving snapshot.
Open vSwitch CI 44741c
e3b3b7
e3b3b7
* Sat Oct 24 2020 Open vSwitch CI <ovs-team@redhat.com> - 2.13.0-64
Open vSwitch CI 44741c
- Merging upstream branch-2.13 [RH git: 73eb33dcf1]
Open vSwitch CI 44741c
    Commit list:
Open vSwitch CI 44741c
    9bd5bf4c3a netdev-tc-offloads: Don't delete ufid mapping if fail to delete filter
Open vSwitch CI 44741c
e3b3b7
e3b3b7
* Wed Oct 21 2020 Open vSwitch CI <ovs-team@redhat.com> - 2.13.0-63
Open vSwitch CI 44741c
- Merging upstream branch-2.13 [RH git: 6f80f8c230]
Open vSwitch CI 44741c
    Commit list:
Open vSwitch CI 44741c
    df3ecbbb6b travis: Fix kernel download retry.
Open vSwitch CI 44741c
    1c9e73f922 Revert "travis: Disable check for array of flexible structures in sparse."
Open vSwitch CI 44741c
    1557ce2673 ofp-ed-props: Fix using uninitialized padding for NSH encap actions.
Open vSwitch CI 44741c
e3b3b7
e3b3b7
* Wed Oct 21 2020 Timothy Redaelli <tredaelli@redhat.com> - 2.13.0-62
Open vSwitch CI 44741c
- redhat: Add conflicts for older versioned packages [RH git: b1f563c738] (#1886836)
Open vSwitch CI 44741c
    Resolves: #1886836
Open vSwitch CI 44741c
e3b3b7
e3b3b7
* Fri Oct 09 2020 Open vSwitch CI <ovs-team@redhat.com> - 2.13.0-61
Open vSwitch CI 44741c
- Merging upstream branch-2.13 [RH git: fa57a21817]
Open vSwitch CI 44741c
    Commit list:
Open vSwitch CI 44741c
    75fbada49b travis: Disable check for array of flexible structures in sparse.
Open vSwitch CI 44741c
    12c43c2e64 ovsdb-idl.at: Queue for termination all OVSDB IDL pids.
Open vSwitch CI 44741c
    61e6f03cc3 system-userspace-packet-type-aware.at: Wait for ip address updates.
Open vSwitch CI 44741c
    6d30b86168 dpif-netdev: Fix typo in copyright header.
Open vSwitch CI 44741c
    9400845f88 docs: Add flow control on i40e issue
Open vSwitch CI 44741c
e3b3b7
344ad0
* Wed Sep 16 2020 Open vSwitch CI <ovs-team@redhat.com> - 2.13.0-60
Open vSwitch CI 44741c
- Merging upstream branch-2.13 [RH git: 38d21cf4eb]
Open vSwitch CI 44741c
    Commit list:
Open vSwitch CI 44741c
    3c2b1915d2 ipsec: Fix Strongswan configuration syntax.
Open vSwitch CI 44741c
    610dfdc63d cirrus: Use FreeBSD 11.4.
Open vSwitch CI 44741c
    0cb432954a selinux: Add missing permissions for ovs-kmod-ctl.
Open vSwitch CI 44741c
    9a6d26ea30 netdev-dpdk: Don't set rx mq mode for net_virtio.
Open vSwitch CI 44741c
    183be08223 rhel: Fix reload of OVS_USER_ID on startup.
Open vSwitch CI 44741c
    90443bc5c6 classifier: Fix use of uninitialized value.
Open vSwitch CI 44741c
    c38ebe8164 userspace-tso: Document the minimum kernel version.
Open vSwitch CI 44741c
    faf6651357 rhel: Fix logrotate group when dpdk is enabled.
Open vSwitch CI 44741c
344ad0
344ad0
* Thu Sep 10 2020 Open vSwitch CI <ovs-team@redhat.com> - 2.13.0-59
Open vSwitch CI 44741c
- Merging upstream branch-2.13 [RH git: 4fbcdeb187]
Open vSwitch CI 44741c
    Commit list:
Open vSwitch CI 44741c
    4d6846d4d8 ovsdb-idl.at: Wait all servers to join the cluster.
Open vSwitch CI 44741c
344ad0
344ad0
* Thu Aug 27 2020 Open vSwitch CI <ovs-team@redhat.com> - 2.13.0-58
Open vSwitch CI 44741c
- Merging upstream branch-2.13 [RH git: d5817ddabf]
Open vSwitch CI 44741c
    Commit list:
Open vSwitch CI 44741c
    ace73aa122 travis: Merge matrix entries.
Open vSwitch CI 44741c
    9eedff62fe ovs-dpctl-top: Skip "eth()" element.
Open vSwitch CI 44741c
    9903c42973 meta-flow: fix a typo in "MPLS Bottom of Stack Field" paragraph.
Open vSwitch CI 44741c
    7f1b52086b python: Fixup python shebangs to python3.
Open vSwitch CI 44741c
    5d1e1c161a test-conntrack: Fix conntrack benchmark by clearing conntrack metadata.
Open vSwitch CI 44741c
344ad0
4b3b86
* Wed Aug 26 2020 Open vSwitch CI <ovs-team@redhat.com> - 2.13.0-57
Open vSwitch CI 44741c
- Merging upstream branch-2.13 [RH git: 2fe3a06bff]
Open vSwitch CI 44741c
    Commit list:
Open vSwitch CI 44741c
    14c5912a7b travis: Test build of debian packages.
Open vSwitch CI 44741c
    823bea7797 debian: Fix broken build after some man pages became generated from RST
Open vSwitch CI 44741c
    895fc18393 debian: Add python3-sphinx to ovs build dependencies
Open vSwitch CI 44741c
    b0e8532d01 debian: Fix package dependencies
Open vSwitch CI 44741c
    0427918d89 connmgr: Support changing openflow versions without restarting.
Open vSwitch CI 44741c
    d02892966c ovs-monitor-ipsec: Convert Python2 code to Python3.
Open vSwitch CI 44741c
    8b3fcc65a0 netdev-offload-dpdk: Fix for broken ethernet matching HWOL for XL710NIC.
Open vSwitch CI 44741c
4b3b86
4b3b86
* Tue Aug 18 2020 Flavio Leitner <fbl@redhat.com> - 2.13.0-56
Open vSwitch CI 44741c
- dpdk: Updated configs to 19.11.3 [RH git: 4e4acaf40a]
Open vSwitch CI 44741c
4b3b86
4b3b86
* Tue Aug 18 2020 Flavio Leitner <fbl@redhat.com> - 2.13.0-55
Open vSwitch CI 44741c
- Merging 798524b5e3 version: 19.11.3 [RH git: 64c883ec66] (#1868709)
Open vSwitch CI 44741c
    Commit list:
Open vSwitch CI 44741c
    798524b5e3 version: 19.11.3
Open vSwitch CI 44741c
    1e5167d97f mem: mark pages as not accessed when freeing memory
Open vSwitch CI 44741c
    4153891ad2 net/mlx5: fix packet length assert in MPRQ
Open vSwitch CI 44741c
    8bec239cff buildtools: get static mlx dependencies for meson
Open vSwitch CI 44741c
    3196e264f7 net/mlx5: fix build with separate glue lib for dlopen
Open vSwitch CI 44741c
    f9fde3f8a9 doc: fix reference in ABI guide
Open vSwitch CI 44741c
    d455442cac Revert "common/qat: fix GEN3 marketing name"
Open vSwitch CI 44741c
    d764b2cd1f test/crypto: fix statistics case
Open vSwitch CI 44741c
    b965554c17 eal/ppc: fix bool type after altivec include
Open vSwitch CI 44741c
    9f090f7c97 net/hns3: replace memory barrier with data dependency order
Open vSwitch CI 44741c
    05f23c1a24 net/hns3: add free threshold in Rx
Open vSwitch CI 44741c
    22ae47b85b net/hns3: remove one IO barrier in Rx
Open vSwitch CI 44741c
    7669265b7f net/hns3: reduce judgements of free Tx ring space
Open vSwitch CI 44741c
    4341cd6f0c net/hns3: remove unnecessary assignments in Tx
Open vSwitch CI 44741c
    008d6625ed net/mlx5: fix RSS key copy to TIR context
Open vSwitch CI 44741c
    987ef3cd66 net/ena/base: fix testing for supported hash function
Open vSwitch CI 44741c
    5072ef83e7 net/hns3: fix MSI-X interrupt during initialization
Open vSwitch CI 44741c
    6fdabde3d9 net/hns3: fix Rx interrupt after reset
Open vSwitch CI 44741c
    eb23edc7c2 net/hns3: fix Tx interrupt when enabling Rx interrupt
Open vSwitch CI 44741c
    3db4e6aabb net/hns3: fix RSS indirection table configuration
Open vSwitch CI 44741c
    7cfc979bc9 net/hns3: support different numbers of Rx and Tx queues
Open vSwitch CI 44741c
    f16148907b net/hns3: support Rx interrupt
Open vSwitch CI 44741c
    a4f8b13c12 doc: add NASM installation steps
Open vSwitch CI 44741c
    43e4f20638 doc: fix API index
Open vSwitch CI 44741c
    106dddaf87 doc: prefer https when pointing to dpdk.org
Open vSwitch CI 44741c
    130830b165 doc: fix typo in contributors guide
Open vSwitch CI 44741c
    e9aeb99c93 doc: fix typo in contributors guide
Open vSwitch CI 44741c
    029c527ef4 examples/ip_pipeline: remove check of null response
Open vSwitch CI 44741c
    1b2d70662c examples/kni: fix crash during MTU set
Open vSwitch CI 44741c
    d9da460ee3 net/ixgbe: check driver type in MACsec API
Open vSwitch CI 44741c
    33189eecd0 net/i40e: fix flow director enabling
Open vSwitch CI 44741c
    a6c3bc7236 net/ice: fix setting L2TAG
Open vSwitch CI 44741c
    a46186d063 net/iavf: fix setting L2TAG
Open vSwitch CI 44741c
    b7a08ea7cd net/i40e: fix setting L2TAG
Open vSwitch CI 44741c
    696a40bd94 net/sfc/base: fix manual filter delete in EF10
Open vSwitch CI 44741c
    bea8e15b59 net/hinic: fix TSO
Open vSwitch CI 44741c
    c4d7293707 net/octeontx2: fix buffer size assignment
Open vSwitch CI 44741c
    586faf5a4f net/bnxt: fix Rx ring producer index
Open vSwitch CI 44741c
    1df20ac457 cryptodev: fix SHA-1 digest enum comment
Open vSwitch CI 44741c
    86809db310 doc: fix build with doxygen 1.8.18
Open vSwitch CI 44741c
    121f752786 examples/vm_power: drop Unix path limit redefinition
Open vSwitch CI 44741c
    ba5df75ed5 examples/vm_power: fix build with -fno-common
Open vSwitch CI 44741c
    4d1fd43b3a net/mvpp2: fix build with gcc 10
Open vSwitch CI 44741c
    1c2eaf9a98 vhost: fix zero-copy server mode
Open vSwitch CI 44741c
    3ddb8f1d07 net/i40e: fix queue related exception handling
Open vSwitch CI 44741c
    69516f9e3f net/ice: fix RSS for GTPU
Open vSwitch CI 44741c
    f956486556 net/i40e: fix wild pointer
Open vSwitch CI 44741c
    3af3834731 examples/kni: fix MTU change to setup Tx queue
Open vSwitch CI 44741c
    4b369799c7 fix same typo in multiple places
Open vSwitch CI 44741c
    c85044909a mempool/dpaa2: install missing header with meson
Open vSwitch CI 44741c
    fd2cc33835 kvargs: fix strcmp helper documentation
Open vSwitch CI 44741c
    0b45ef6e39 doc: fix typos in ABI policy
Open vSwitch CI 44741c
    a7413810b9 pci: reject negative values in PCI id
Open vSwitch CI 44741c
    c4d58cd40c pci: accept 32-bit domain numbers
Open vSwitch CI 44741c
    7b732e25df net/ice/base: update copyright
Open vSwitch CI 44741c
    0491724e4a common/iavf: update copyright
Open vSwitch CI 44741c
    75f2750b43 net/i40e/base: update copyright
Open vSwitch CI 44741c
    3c6d1a0269 net/ixgbe/base: update copyright
Open vSwitch CI 44741c
    7c36f2ea8b app/testpmd: fix DCB set
Open vSwitch CI 44741c
    070a7b832d common/mlx5: fix netlink buffer allocation from stack
Open vSwitch CI 44741c
    8fecf8ad1d net/mlx5: fix doorbell bitmap management offsets
Open vSwitch CI 44741c
    fc047c800b net/i40e: fix queue region in RSS flow
Open vSwitch CI 44741c
    099b9e280c net/bnxt: fix storing MAC address twice
Open vSwitch CI 44741c
    ba15f6288e net/bnxt: fix using RSS config struct
Open vSwitch CI 44741c
    2109b14aa9 net/bnxt: fix error log for command timeout
Open vSwitch CI 44741c
    bbcbd194d8 net/qede: fix port reconfiguration
Open vSwitch CI 44741c
    f9630f56a4 net/virtio: fix unexpected event after reconnect
Open vSwitch CI 44741c
    c651ee6999 vhost: handle mbuf allocation failure
Open vSwitch CI 44741c
    1e2a3beb12 net/hinic: fix Tx mbuf length while copying
Open vSwitch CI 44741c
    b191e32975 net/hinic: fix queues resource free
Open vSwitch CI 44741c
    733bc3f639 net/vmxnet3: handle bad host framing
Open vSwitch CI 44741c
    a15ee3e4a7 net/mlx5: fix VLAN flow action with wildcard VLAN item
Open vSwitch CI 44741c
    4de7d8bc21 net/qede: fix link state configuration
Open vSwitch CI 44741c
    f98d3de913 net/ixgbe: fix statistics in flow control mode
Open vSwitch CI 44741c
    22f701a5d4 common/mlx5: fix umem buffer alignment
Open vSwitch CI 44741c
    348a2c5a9a doc: fix multicast filter feature announcement
Open vSwitch CI 44741c
    fc962b01c7 net/e1000: fix port hotplug for multi-process
Open vSwitch CI 44741c
    2e33e6b144 doc: fix build issue in ABI guide
Open vSwitch CI 44741c
    da5586fcbe eal: fix C++17 compilation
Open vSwitch CI 44741c
    2d2ba1fb00 doc: fix default symbol binding in ABI guide
Open vSwitch CI 44741c
    ef254d821e doc: fix LTO config option
Open vSwitch CI 44741c
    f40d9a3cbb build: disable gcc 10 zero-length-bounds warning
Open vSwitch CI 44741c
    b02c7838a0 crypto/caam_jr: fix IRQ functions return type
Open vSwitch CI 44741c
    199d2c49a6 crypto/caam_jr: fix check of file descriptors
Open vSwitch CI 44741c
    053c7ff9b5 app/eventdev: check Tx adapter service ID
Open vSwitch CI 44741c
    a23ef1c188 event/dsw: fix enqueue burst return value
Open vSwitch CI 44741c
    32b5e80df1 crypto/qat: support plain SHA1..SHA512 hashes
Open vSwitch CI 44741c
    507cda6e23 examples: remove extra new line after link duplex
Open vSwitch CI 44741c
    83e7cafc27 app: remove extra new line after link duplex
Open vSwitch CI 44741c
    40a2233e78 net/mlx5: fix Tx queue release debug log timing
Open vSwitch CI 44741c
    ead66a3fb9 net/mlx4: fix drop queue error handling
Open vSwitch CI 44741c
    46cd8f27b1 net/mlx5: fix meter color register consideration
Open vSwitch CI 44741c
    77ca941f9d net/mlx5: fix matching for UDP tunnels with Verbs
Open vSwitch CI 44741c
    23e2c36fa1 net/mlx5: fix match on empty VLAN item in DV mode
Open vSwitch CI 44741c
    425b3ccd2d net/ring: fix device pointer on allocation
Open vSwitch CI 44741c
    39abdde91a net/ice: fix variable initialization
Open vSwitch CI 44741c
    8ec53ab745 Revert "net/bnxt: fix number of TQM ring"
Open vSwitch CI 44741c
    ee4518a2de Revert "net/bnxt: fix TQM ring context memory size"
Open vSwitch CI 44741c
    53038c4760 net/ixgbe: fix link state timing on fiber ports
Open vSwitch CI 44741c
    61706cf3f2 bus/fslmc: fix size of qman fq descriptor
Open vSwitch CI 44741c
    eeaa4c42b3 net/dpaa2: fix congestion ID for multiple traffic classes
Open vSwitch CI 44741c
    a71e30e6b0 net/dpaa2: fix 10G port negotiation
Open vSwitch CI 44741c
    ef6d112d7d bus/fslmc: fix dereferencing null pointer
Open vSwitch CI 44741c
    f83c2ba6ea app/testpmd: fix memory failure handling for i40e DDP
Open vSwitch CI 44741c
    e428b51c18 net/bnxt: fix FW version query
Open vSwitch CI 44741c
    dafdf58799 net/virtio: fix crash when device reconnecting
Open vSwitch CI 44741c
    abe65fce86 net/bnxt: fix TQM ring context memory size
Open vSwitch CI 44741c
    426e8b5253 net/bnxt: fix number of TQM ring
Open vSwitch CI 44741c
    2befb2f470 net/tap: fix crash in flow destroy
Open vSwitch CI 44741c
    82e2269d01 net/ice: fix crash in switch filter
Open vSwitch CI 44741c
    2e1e12f6a8 net/ice: support mark only action for flow director
Open vSwitch CI 44741c
    f05c433b44 net/ixgbe: fix link status synchronization on BSD
Open vSwitch CI 44741c
    b639786c5f net/iavf: fix link speed
Open vSwitch CI 44741c
    6c8f2aef2f net/bnxt: fix possible stack smashing
Open vSwitch CI 44741c
    1a476dbabd net/netvsc: do not configure RSS if disabled
Open vSwitch CI 44741c
    f815b93c27 net/netvsc: do RSS across Rx queue only
Open vSwitch CI 44741c
    bb0fd68c99 bus/vmbus: fix comment spelling
Open vSwitch CI 44741c
    4fe11771a2 net/netvsc: fix comment spelling
Open vSwitch CI 44741c
    024a568578 app/testpmd: fix statistics after reset
Open vSwitch CI 44741c
    556ae6bd83 net/failsafe: fix fd leak
Open vSwitch CI 44741c
    47bd1f0ad2 ipsec: check SAD lookup error
Open vSwitch CI 44741c
    7b842acdfa drivers/crypto: disable gcc 10 no-common errors
Open vSwitch CI 44741c
    b64337ffa3 examples/fips_validation: fix parsing of algorithms
Open vSwitch CI 44741c
    b168483089 crypto/kasumi: fix extern declaration
Open vSwitch CI 44741c
    0665fb6e09 crypto/qat: fix cipher descriptor for ZUC and SNOW
Open vSwitch CI 44741c
    de299dec14 app/crypto-perf: fix display of sample test vector
Open vSwitch CI 44741c
    9b91b991b6 crypto/ccp: fix fd leak on probe failure
Open vSwitch CI 44741c
    6e0bdc2ba1 bbdev: fix doxygen comments
Open vSwitch CI 44741c
    abc111ae3d test/flow_classify: enable multi-sockets system
Open vSwitch CI 44741c
    a009c7667f event/octeontx2: fix build for O1 optimization
Open vSwitch CI 44741c
    6fc3588de0 net/ena: fix build for O1 optimization
Open vSwitch CI 44741c
    c6f6f3d8e1 mempool/octeontx2: fix build for gcc O1 optimization
Open vSwitch CI 44741c
    2cb0536157 examples/eventdev: fix crash on exit
Open vSwitch CI 44741c
    fd554a1f8f mem: fix overflow on allocation
Open vSwitch CI 44741c
    f0ac3aa2d2 examples/l2fwd-keepalive: fix mbuf pool size
Open vSwitch CI 44741c
    deb055888f remove references to private PCI probe function
Open vSwitch CI 44741c
    d8aeeb8cfb service: remove rte prefix from static functions
Open vSwitch CI 44741c
    99303c675d service: fix identification of service running on other lcore
Open vSwitch CI 44741c
    c4bcf57075 service: fix race condition for MT unsafe service
Open vSwitch CI 44741c
    c4c9531648 mk: fix static linkage of mlx dependency
Open vSwitch CI 44741c
    d104eb2c03 common/octeontx: fix gcc 9.1 ABI break
Open vSwitch CI 44741c
    9022ffe003 event/dsw: avoid reusing previously recorded events
Open vSwitch CI 44741c
    85c1aae896 eventdev: fix probe and remove for secondary process
Open vSwitch CI 44741c
    a309eafc89 event/octeontx2: fix queue removal from Rx adapter
Open vSwitch CI 44741c
    46b7943fda net/mlx5: fix gcc 10 enum-conversion warning
Open vSwitch CI 44741c
    7e01ad84bf net/mlx5: fix VLAN ID check
Open vSwitch CI 44741c
    4fdea813e5 net/mlx5: fix assert in modify converting
Open vSwitch CI 44741c
    831152d0d9 net/mlx5: fix RSS enablement
Open vSwitch CI 44741c
    ea6b087b9b net/octeontx: fix dangling pointer on init failure
Open vSwitch CI 44741c
    ee263a1371 net/hns3: fix return value when clearing statistics
Open vSwitch CI 44741c
    827eb6ca97 net/hns3: fix VLAN PVID when configuring device
Open vSwitch CI 44741c
    6686131671 net/softnic: fix resource leak for pipeline
Open vSwitch CI 44741c
    60dfeffc23 net/softnic: fix memory leak for thread
Open vSwitch CI 44741c
    e399ff6427 net/sfc/base: fix build when EVB is enabled
Open vSwitch CI 44741c
    5862e3fe62 net/sfc/base: use simpler EF10 family run-time checks
Open vSwitch CI 44741c
    68409f9a6c net/sfc/base: use simpler EF10 family conditional check
Open vSwitch CI 44741c
    ecd69bfb76 net/mlx5: fix actions validation on root table
Open vSwitch CI 44741c
    58ca518c24 net/mlx5: fix assert in dynamic metadata handling
Open vSwitch CI 44741c
    a6ae060e39 vhost: prevent zero-copy with incompatible client mode
Open vSwitch CI 44741c
    5099fb8d59 vhost: fix peer close check
Open vSwitch CI 44741c
    fd7ba64cb4 net/mlx5: fix assert in doorbell lookup
Open vSwitch CI 44741c
    d6db84d0b1 net/i40e: fix flush of flow director filter
Open vSwitch CI 44741c
    a42e979217 doc: add i40e limitation for flow director
Open vSwitch CI 44741c
    74095b0ca6 net/i40e: fix flow director for ARP packets
Open vSwitch CI 44741c
    fe42bb4b74 net/bnxt: fix max ring count
Open vSwitch CI 44741c
    a131ab7d0f eal/ppc: fix build with gcc 9.3
Open vSwitch CI 44741c
    2acc78a0a1 kvargs: fix invalid token parsing on FreeBSD
Open vSwitch CI 44741c
    df17bcb43b eal/x86: ignore gcc 10 stringop-overflow warnings
Open vSwitch CI 44741c
    274dec7548 examples/ipsec-gw: fix gcc 10 maybe-uninitialized warning
Open vSwitch CI 44741c
    ea0fb3e5a5 net/avp: fix gcc 10 maybe-uninitialized warning
Open vSwitch CI 44741c
    daa2cd115f eal: fix typo in endian conversion macros
Open vSwitch CI 44741c
    9ef2246962 doc: fix log level example in Linux guide
Open vSwitch CI 44741c
    aecc7782a6 app/testpmd: add parsing for QinQ VLAN headers
Open vSwitch CI 44741c
    26467e800b net/bnxt: fix VNIC Rx queue count on VNIC free
Open vSwitch CI 44741c
    61c8f03fd4 net/bnxt: fix memory leak during queue restart
Open vSwitch CI 44741c
    e09bf2672d bus/pci: fix UIO resource access from secondary process
Open vSwitch CI 44741c
    35348ca71e usertools: check for pci.ids in /usr/share/misc
Open vSwitch CI 44741c
    a8e6e27b00 app: fix usage help of options separated by dashes
Open vSwitch CI 44741c
    0d7e4fbf2d fix various typos found by Lintian
Open vSwitch CI 44741c
    ccc676944f timer: protect initialization with lock
Open vSwitch CI 44741c
    6be8fba616 eal: fix comments spelling
Open vSwitch CI 44741c
    32688549a0 lpm6: fix comments spelling
Open vSwitch CI 44741c
    eee7a4f089 lpm6: fix size of tbl8 group
Open vSwitch CI 44741c
    8426cebb49 mempool: remove inline functions from export list
Open vSwitch CI 44741c
    632fec749f security: fix crash at accessing non-implemented ops
Open vSwitch CI 44741c
    0407d17dae net/bnxt: fix VLAN add when port is stopped
Open vSwitch CI 44741c
    a62880c4d4 net/bnxt: fix port start failure handling
Open vSwitch CI 44741c
    6cc939165f net/bnxt: use true/false for bool types
Open vSwitch CI 44741c
    886085974e net/bnxt: fix HWRM command during FW reset
Open vSwitch CI 44741c
    c1b7cb6792 net/iavf: fix stats query error code
Open vSwitch CI 44741c
    ca2ecc15f2 net/ixgbe: fix link status after port reset
Open vSwitch CI 44741c
    9a673fc544 net/ixgbe: fix resource leak after thread exits normally
Open vSwitch CI 44741c
    4c84ef15a7 net/mlx5: improve logging of MPRQ selection
Open vSwitch CI 44741c
    f0a019c950 net/mlx5: set dynamic flow metadata in Rx queues
Open vSwitch CI 44741c
    bf10f18c64 net/mlx5: fix header modify action validation
Open vSwitch CI 44741c
    da5c4ff51b net/mlx5: fix crash when releasing meter table
Open vSwitch CI 44741c
    a9018074d1 common/mlx5: fix build with rdma-core 21
Open vSwitch CI 44741c
    461a2ba67a net/i40e: fix flow director initialisation
Open vSwitch CI 44741c
    ac051be918 net/tap: fix queues fd check before close
Open vSwitch CI 44741c
    4c587687f7 net/virtio-user: fix devargs parsing
Open vSwitch CI 44741c
    74a51ef091 vhost: fix shadowed descriptors not flushed
Open vSwitch CI 44741c
    2f48b05305 vhost: fix shadow update
Open vSwitch CI 44741c
    d28299df0a net/tap: fix unexpected link handler
Open vSwitch CI 44741c
    8e90f78a02 net/tap: fix fd leak on creation failure
Open vSwitch CI 44741c
    2523e877dc net/tap: fix file close on remove
Open vSwitch CI 44741c
    2b74a885aa net/tap: fix check for mbuf number of segment
Open vSwitch CI 44741c
    2fe4af64f9 net/tap: fix mbuf and mem leak during queue release
Open vSwitch CI 44741c
    908866e6fc net/tap: fix mbuf double free when writev fails
Open vSwitch CI 44741c
    ab9701159d net/mlx5: fix validation of push VLAN without full mask
Open vSwitch CI 44741c
    d2f4d1ae3d net/mlx5: fix push VLAN action to use item info
Open vSwitch CI 44741c
    1603ade39c net/enic: fix flow action reordering
Open vSwitch CI 44741c
    d3c99e41b1 net/mlx5: fix jump table leak
Open vSwitch CI 44741c
    652a21028a net/mlx5: fix meter suffix table leak
Open vSwitch CI 44741c
    afca8bc661 net/mlx5: add multi-segment packets in MPRQ mode
Open vSwitch CI 44741c
    bbdd1a9c79 net/mlx5: enable MPRQ multi-stride operations
Open vSwitch CI 44741c
    a1b3dc84bc net/mlx5: add device parameter for MPRQ stride size
Open vSwitch CI 44741c
    31d1b373d5 net/i40e: relax barrier in Tx for NEON
Open vSwitch CI 44741c
    85897fd567 net/octeontx2: disable unnecessary error interrupts
Open vSwitch CI 44741c
    6075a1ee65 net/octeontx2: enable error and RAS interrupt in configure
Open vSwitch CI 44741c
    fd2f1973f4 net/mlx5: use open/read/close for ib stats query
Open vSwitch CI 44741c
    624db5a0ab net/mlx4: fix build with -fno-common
Open vSwitch CI 44741c
    b3e01cd3e4 common/mlx5: fix build with -fno-common
Open vSwitch CI 44741c
    be0d36b087 net/hns3: fix VLAN filter when setting promisucous mode
Open vSwitch CI 44741c
    c6f7d75949 net/hns3: fix default VLAN filter configuration for PF
Open vSwitch CI 44741c
    0bd1d3b49c net/hns3: fix RSS key length
Open vSwitch CI 44741c
    c4e9d7e10c net/hns3: add RSS hash offload to capabilities
Open vSwitch CI 44741c
    50daf2acc9 net/hns3: clear residual flow rules on init
Open vSwitch CI 44741c
    1ff55a18be vhost: make IOTLB cache name unique among processes
Open vSwitch CI 44741c
    c0c67a2dac vhost: remove unused variable
Open vSwitch CI 44741c
    871773f3ac net/virtio: fix outdated comment
Open vSwitch CI 44741c
    4f5f084c7f net/vhost: fix potential memory leak on close
Open vSwitch CI 44741c
    b35cbd50b9 vhost: fix packed ring zero-copy
Open vSwitch CI 44741c
    e624761604 vhost/crypto: add missing user protocol flag
Open vSwitch CI 44741c
    11d9847039 net/hinic/base: fix PF firmware hot-active problem
Open vSwitch CI 44741c
    f662af80b1 net/null: remove redundant check
Open vSwitch CI 44741c
    bfc5290bc8 net/null: fix secondary burst function selection
Open vSwitch CI 44741c
    670758fe8b net/pfe: fix double free of MAC address
Open vSwitch CI 44741c
    175f707d92 app/testpmd: fix PPPoE flow command
Open vSwitch CI 44741c
    03527bd393 net/mlx5: fix counter container usage
Open vSwitch CI 44741c
    2c0c0e4820 net/ena: set IO ring size to valid value
Open vSwitch CI 44741c
    59acd7de4c net/ena/base: fix indentation of multiple defines
Open vSwitch CI 44741c
    3c4bf79460 net/ena/base: fix indentation in CQ polling
Open vSwitch CI 44741c
    3c6ec30057 net/ena/base: fix documentation of functions
Open vSwitch CI 44741c
    c6730185e0 net/ena/base: prevent allocation of zero sized memory
Open vSwitch CI 44741c
    d5cfa58c05 net/ena/base: make allocation macros thread-safe
Open vSwitch CI 44741c
    af84a4f278 net/ice/base: remove unused code in switch rule
Open vSwitch CI 44741c
    5cfef294de net/ice: fix RSS advanced rule
Open vSwitch CI 44741c
    46825a9e59 net/nfp: fix dangling pointer on probe failure
Open vSwitch CI 44741c
    d027444df5 net/nfp: fix log format specifiers
Open vSwitch CI 44741c
    61347b53bb examples/vmdq: fix RSS configuration
Open vSwitch CI 44741c
    267e255ef4 ethdev: fix build when vtune profiling is on
Open vSwitch CI 44741c
    c6f822199a net/memif: fix resource leak
Open vSwitch CI 44741c
    4f880a2089 net/netvsc: avoid possible live lock
Open vSwitch CI 44741c
    9f54fa3e2b net/netvsc: handle Tx completions based on burst size
Open vSwitch CI 44741c
    62ec946eec net/netvsc: remove process event optimization
Open vSwitch CI 44741c
    81441b4e4f net/netvsc: fix memory free on device close
Open vSwitch CI 44741c
    42916635b3 net/netvsc: split send buffers from Tx descriptors
Open vSwitch CI 44741c
    244193073d net/netvsc: handle Rx packets during multi-channel setup
Open vSwitch CI 44741c
    cc1f006253 net/netvsc: propagate descriptor limits from VF
Open vSwitch CI 44741c
    39e690ab3b net/ice: fix input set of VLAN item
Open vSwitch CI 44741c
    175dc210ad net/ice: add action number check for switch
Open vSwitch CI 44741c
    1b23b24565 net/ice: change default tunnel type
Open vSwitch CI 44741c
    8e8fdd68f7 net/octeontx2: fix device configuration sequence
Open vSwitch CI 44741c
    272fcab063 net/octeontx: fix meson build for disabled drivers
Open vSwitch CI 44741c
    d50174f38a net/tap: remove unused assert
Open vSwitch CI 44741c
    f50974db04 net/ice/base: check memory pointer before copying
Open vSwitch CI 44741c
    3e51abed66 net/ice/base: fix binary order for GTPU filter
Open vSwitch CI 44741c
    7ba59c1fd4 net/mlx5: fix imissed counter overflow
Open vSwitch CI 44741c
    e7c5383a09 net/thunderx: use dynamic log type
Open vSwitch CI 44741c
    3e0d3b1204 net/dpaa: use dynamic log type
Open vSwitch CI 44741c
    516f5f9136 net/bnxt: do not use PMD log type
Open vSwitch CI 44741c
    45284045c5 net/pfe: do not use PMD log type
Open vSwitch CI 44741c
    64ca12ff65 net/tap: do not use PMD log type
Open vSwitch CI 44741c
    0bf29e36c3 net/virtio: do not use PMD log type
Open vSwitch CI 44741c
    80e04ea6ae net/mvneta: do not use PMD log type
Open vSwitch CI 44741c
    1b70d8acd0 examples/vmdq: fix output of pools/queues
Open vSwitch CI 44741c
    d9a7bf74e1 net/mlx5: fix zero value validation for metadata
Open vSwitch CI 44741c
    5e3859176e net/mlx5: fix call to modify action without init item
Open vSwitch CI 44741c
    24f6ab6d31 net/mlx5: update VLAN and encap actions validation
Open vSwitch CI 44741c
    2491443dce net/mlx5: fix metadata for compressed Rx CQEs
Open vSwitch CI 44741c
    c469619b7a net/mlx5: fix validation of VXLAN/VXLAN-GPE specs
Open vSwitch CI 44741c
    4493efb719 net/ixgbe: fix link status inconsistencies
Open vSwitch CI 44741c
    117ecae920 net/ice/base: fix MAC write command
Open vSwitch CI 44741c
    d57cbe48b2 net/ice/base: minor fixes
Open vSwitch CI 44741c
    b97902938a net/ice/base: read PSM clock frequency from register
Open vSwitch CI 44741c
    d1cd22be97 net/ice/base: fix uninitialized stack variables
Open vSwitch CI 44741c
    8081044a6f net/hns3: fix return value of setting VLAN offload
Open vSwitch CI 44741c
    2717e6ab25 net/hns3: fix mailbox opcode data type
Open vSwitch CI 44741c
    70b22c9ed2 net/hns3: fix configuring RSS hash when rules are flushed
Open vSwitch CI 44741c
    7953227c19 net/ipn3ke: use control thread to check link status
Open vSwitch CI 44741c
    d57282791c net/hinic/base: fix port start during FW hot update
Open vSwitch CI 44741c
    4710da6ef5 net/hinic: fix LRO
Open vSwitch CI 44741c
    7caa43cc22 net/hns3: fix status after repeated resets
Open vSwitch CI 44741c
    3f9c9bdcb5 net/hns3: fix configuring illegal VLAN PVID
Open vSwitch CI 44741c
    b6c05b0781 net/hns3: fix crash when flushing RSS flow rules with FLR
Open vSwitch CI 44741c
    1cd4ab6cf4 net/hns3: fix default error code of command interface
Open vSwitch CI 44741c
    e9248b23b3 net/hns3: fix packets offload features flags in Rx
Open vSwitch CI 44741c
    ebad6ac59a test: remove redundant macro
Open vSwitch CI 44741c
    b54822ff2f security: fix session counter
Open vSwitch CI 44741c
    477f8e08d3 security: fix return types in documentation
Open vSwitch CI 44741c
    4fa404e280 security: fix verification of parameters
Open vSwitch CI 44741c
    48bb740ce1 crypto/openssl: fix out-of-place encryption
Open vSwitch CI 44741c
    8d5349e781 test/crypto: fix flag check
Open vSwitch CI 44741c
    9aa6caeb5a drivers/crypto: fix log type variables for -fno-common
Open vSwitch CI 44741c
    46a37b23ba cryptodev: add asymmetric session-less feature name
Open vSwitch CI 44741c
    efd0dea9c8 drivers: fix log type variables for -fno-common
Open vSwitch CI 44741c
    2ef9870118 vfio: fix use after free with multiprocess
Open vSwitch CI 44741c
    5732151922 vfio: fix race condition with sysfs
Open vSwitch CI 44741c
    952892aa67 eal: fix PRNG init with HPET enabled
Open vSwitch CI 44741c
    8eefb8787a doc: fix matrix CSS for recent sphinx
Open vSwitch CI 44741c
    da57576513 log: fix level picked with globbing on type register
Open vSwitch CI 44741c
    bd5e2ef80a ipsec: fix build dependency on hash lib
Open vSwitch CI 44741c
    c4d52beff8 doc: fix sphinx compatibility
Open vSwitch CI 44741c
    b0843e5671 event/dsw: remove unnecessary read barrier
Open vSwitch CI 44741c
    09a714399a event/dsw: remove redundant control ring poll
Open vSwitch CI 44741c
    b9b72b8815 crypto/nitrox: fix oversized device name
Open vSwitch CI 44741c
    b878b432b7 crypto/nitrox: fix CSR register address generation
Open vSwitch CI 44741c
    3b841d16dc baseband/turbo_sw: fix exposed LLR decimals assumption
Open vSwitch CI 44741c
    2193048d87 test/ipsec: fix crash in session destroy
Open vSwitch CI 44741c
    152fadd540 common/qat: fix GEN3 marketing name
Open vSwitch CI 44741c
    196993b705 cryptodev: fix missing device id range checking
Open vSwitch CI 44741c
    ca31f0aee2 fib: fix headers for C++ support
Open vSwitch CI 44741c
    1c51807a35 ci: fix telemetry dependency in Travis
Open vSwitch CI 44741c
    39adba3b55 bus/pci: fix devargs on probing again
Open vSwitch CI 44741c
    c285902e7b kvargs: fix buffer overflow when parsing list
Open vSwitch CI 44741c
    bbf0c2d983 test/kvargs: fix invalid cases check
Open vSwitch CI 44741c
    bcdd4476cd test/kvargs: fix to consider empty elements as valid
Open vSwitch CI 44741c
    9aebba7e3d mem: preallocate VA space in no-huge mode
Open vSwitch CI 44741c
    46cd0c98bb eal/freebsd: fix queuing duplicate alarm callbacks
Open vSwitch CI 44741c
    7ad8cd364e test: skip some subtests in no-huge mode
Open vSwitch CI 44741c
    796af72c2d test: load drivers when required
Open vSwitch CI 44741c
    7c8ab0ae70 devtools: fix symbol map change check
Open vSwitch CI 44741c
    4710904861 contigmem: cleanup properly when load fails
Open vSwitch CI 44741c
    6e0c764098 net/mlx5: reduce Tx completion index memory loads
Open vSwitch CI 44741c
    307876a747 net/mlx5: fix CVLAN tag set in IP item translation
Open vSwitch CI 44741c
    7ad364893c net/hinic: allocate IO memory with socket id
Open vSwitch CI 44741c
    75457cff3f net/mlx5: fix zero metadata action
Open vSwitch CI 44741c
    8ea2ea8fe4 net/sfc/base: handle manual and auto filter clashes in EF10
Open vSwitch CI 44741c
    c6ae74f068 net/sfc/base: refactor filter lookup loop in EF10
Open vSwitch CI 44741c
    9e496b76ab net/sfc/base: reject automatic filter creation by users
Open vSwitch CI 44741c
    0e4497208a net/sfc/base: reduce filter priorities to implemented only
Open vSwitch CI 44741c
    c239286b98 net/sfc: set priority of created filters to manual
Open vSwitch CI 44741c
    8771074d95 net/sfc: fix promiscuous and allmulticast toggles errors
Open vSwitch CI 44741c
    6c1634ec93 ethdev: fix spelling
Open vSwitch CI 44741c
    7aa0060a2a net/hns3: fix promiscuous mode for PF
Open vSwitch CI 44741c
    32f349234b net/hinic: fix repeating cable log and length check
Open vSwitch CI 44741c
    d16cceef30 net/hinic: fix snprintf length of cable info
Open vSwitch CI 44741c
    d40bcdfb59 net/memif: fix init when already connected
Open vSwitch CI 44741c
    ba2322fb9a build: support MinGW-w64 with Meson
Open vSwitch CI 44741c
    5cdff30419 net/mlx5: fix mask used for IPv6 item validation
Open vSwitch CI 44741c
    7ce629f7f2 net/ice: remove bulk alloc option
Open vSwitch CI 44741c
    a42ef6f777 net/sfc: fix Rx queue start failure path
Open vSwitch CI 44741c
    251cb7e722 net/sfc: fix initialization error path
Open vSwitch CI 44741c
    5f0378bb2e net/vmxnet3: fix RSS setting on v4
Open vSwitch CI 44741c
    556cdccab2 net/sfc: fix reported promiscuous/multicast mode
Open vSwitch CI 44741c
    194ca60cde doc: fix number of failsafe sub-devices
Open vSwitch CI 44741c
    adf15e37f2 net/ice: remove unnecessary variable
Open vSwitch CI 44741c
    2847184082 net/enetc: fix Rx lock-up
Open vSwitch CI 44741c
    aec781c6b1 net/ice: fix hash flow crash
Open vSwitch CI 44741c
    2ce2096092 net/i40e: fix X722 performance
Open vSwitch CI 44741c
    64a38788d1 net/mlx5: fix VLAN PCP item calculation
Open vSwitch CI 44741c
    3e387d591e net/i40e: relax barrier in Tx
Open vSwitch CI 44741c
    2550666028 net/octeontx2: fix link information for loopback port
Open vSwitch CI 44741c
    c2e90f337d build: fix linker warnings with clang on Windows
Open vSwitch CI 44741c
    3262e4181c pci: fix build on ppc
Open vSwitch CI 44741c
    5a99c0d994 pci: fix build on FreeBSD
Open vSwitch CI 44741c
    027e022a18 pci: remove unneeded includes in public header file
Open vSwitch CI 44741c
    9ca664d8be telemetry: fix port stats retrieval
Open vSwitch CI 44741c
    c20055f471 service: fix crash on exit
Open vSwitch CI 44741c
    d0e456e9b1 mem: mark pages as not accessed when reserving VA
Open vSwitch CI 44741c
    bcf4069ff2 eal/arm64: fix precise TSC
Open vSwitch CI 44741c
    40a7c85881 eal: fix log message print for regex
Open vSwitch CI 44741c
    2a46dc5951 drivers/crypto: fix build with make 4.3
Open vSwitch CI 44741c
    3425ff8896 drivers: add crypto as dependency for event drivers
Open vSwitch CI 44741c
    25fe1c8b05 examples/qos_sched: fix build with gcc 10
Open vSwitch CI 44741c
    4de659fdc0 examples/eventdev: fix build with gcc 10
Open vSwitch CI 44741c
    84119ecce2 examples/vhost_blk: fix build with gcc 10
Open vSwitch CI 44741c
    5fb297ba3d app/pipeline: fix build with gcc 10
Open vSwitch CI 44741c
    ef348e22a0 test: fix build with gcc 10
Open vSwitch CI 44741c
    295ba7d0c3 crypto/octeontx2: fix build with gcc 10
Open vSwitch CI 44741c
    
Open vSwitch CI 44741c
    Resolves: #1868709
Open vSwitch CI 44741c
4b3b86
4b3b86
* Thu Aug 13 2020 Open vSwitch CI <ovs-team@redhat.com> - 2.13.0-54
Open vSwitch CI 44741c
- Merging upstream branch-2.13 [RH git: 5dddb2d4f8]
Open vSwitch CI 44741c
    Commit list:
Open vSwitch CI 44741c
    0047ca3a02 acinclude: Fix build with kernels with prandom* moved to prandom.h.
Open vSwitch CI 44741c
    8a72db60ad faq: Mention Linux kernel versions supported by 2.13.x.
Open vSwitch CI 44741c
    114ff63e3d Documentation: Fix kernel support matrix
Open vSwitch CI 44741c
4b3b86
4b3b86
* Mon Aug 10 2020 Open vSwitch CI <ovs-team@redhat.com> - 2.13.0-53
Open vSwitch CI 44741c
- Merging upstream branch-2.13 [RH git: bb436c2999]
Open vSwitch CI 44741c
    Commit list:
Open vSwitch CI 44741c
    184a58e8b8 ovsdb-server: Replace in-memory DB contents at raft install_snapshot.
Open vSwitch CI 44741c
    727bb3440d Prepare for 2.13.2.
Open vSwitch CI 44741c
    714caaf571 Set release date for 2.13.1.
Open vSwitch CI 44741c
    ac51dcac87 odp-util: Clear padding in the nd_extension.
Open vSwitch CI 44741c
    eeef00da2f datapath-windows: Update flow key in SET action
Open vSwitch CI 44741c
    37606fb5ca odp-util: Fix clearing match mask if set action is partially unnecessary.
Open vSwitch CI 44741c
    5ad46c9a4d debian: Fixed openvswitch-test package dependency.
Open vSwitch CI 44741c
    b3a9dc6e5e dpctl: Fix memory leak in dpctl_dump_flows()
Open vSwitch CI 44741c
    cce57c5e0e ovs-router: Fix flushing of local routes.
Open vSwitch CI 44741c
    8d0b409fcc acinclude: Remove libmnl for MLX5 PMD.
Open vSwitch CI 44741c
    217ac490ac dpif-netdev: Avoid deadlock with offloading during PMD thread deletion.
Open vSwitch CI 44741c
4b3b86
4b3b86
* Mon Aug 10 2020 Dumitru Ceara <dceara@redhat.com> - 2.13.0-52
Open vSwitch CI 44741c
- ovsdb-server: Replace in-memory DB contents at raft install_snapshot. [RH git: 9f646ec051] (#1867185)
Open vSwitch CI 44741c
    Every time a follower has to install a snapshot received from the
Open vSwitch CI 44741c
    leader, it should also replace the data in memory. Right now this only
Open vSwitch CI 44741c
    happens when snapshots are installed that also change the schema.
Open vSwitch CI 44741c
    
Open vSwitch CI 44741c
    This can lead to inconsistent DB data on follower nodes and the snapshot
Open vSwitch CI 44741c
    may fail to get applied.
Open vSwitch CI 44741c
    
Open vSwitch CI 44741c
    Fixes: bda1f6b60588 ("ovsdb-server: Don't disconnect clients after raft install_snapshot.")
Open vSwitch CI 44741c
    Acked-by: Han Zhou <hzhou@ovn.org>
Open vSwitch CI 44741c
    Signed-off-by: Dumitru Ceara <dceara@redhat.com>
Open vSwitch CI 44741c
    Signed-off-by: Ilya Maximets <i.maximets@ovn.org>
Open vSwitch CI 44741c
    (cherry picked from commit 184a58e8b892231b44479b612bdfe2529bb04363)
Open vSwitch CI 44741c
    
Open vSwitch CI 44741c
    Resolves: #1867185
Open vSwitch CI 44741c
4b3b86
4b3b86
* Sat Aug 08 2020 Flavio Leitner <fbl@redhat.com> - 2.13.0-51
Open vSwitch CI 44741c
- redhat: Add support to custom RPM releases. [RH git: 7eb5b56344]
Open vSwitch CI 44741c
    This commit allows the developer to specify a custom release
Open vSwitch CI 44741c
    string to be appended to package NVR.
Open vSwitch CI 44741c
    
Open vSwitch CI 44741c
    If the custom release is 'bz123456', the final release would
Open vSwitch CI 44741c
    look like -Y.bz123456.X where Y is the number of changes
Open vSwitch CI 44741c
    until the branch was created, and X is the number of changes
Open vSwitch CI 44741c
    after that.
Open vSwitch CI 44741c
4b3b86
4b3b86
* Sat Aug 08 2020 Flavio Leitner <fbl@redhat.com> - 2.13.0-50
Open vSwitch CI 44741c
- pkgtool: Use OVS static version in package NVR. [RH git: a0b572aaa1]
Open vSwitch CI 44741c
    The package NVR must coincide with the tarball version.
Open vSwitch CI 44741c
4b3b86
4b3b86
* Thu Jul 30 2020 Timothy Redaelli <tredaelli@redhat.com> - 2.13.0-49
Open vSwitch CI 44741c
- odp-util: Fix clearing match mask if set action is partially unnecessary. [RH git: 6d85fea8b4] (#1862153)
Open vSwitch CI 44741c
    While committing set() actions, commit() could wildcard all the fields
Open vSwitch CI 44741c
    that are same in match key and in the set action.  This leads to
Open vSwitch CI 44741c
    situation where mask after commit could actually contain less bits
Open vSwitch CI 44741c
    than it was before.  And if set action was partially committed, all
Open vSwitch CI 44741c
    the fields that were the same will be cleared out from the matching key
Open vSwitch CI 44741c
    resulting in the incorrect (too wide) flow.
Open vSwitch CI 44741c
    
Open vSwitch CI 44741c
    For example, for the flow that matches on both src and dst mac
Open vSwitch CI 44741c
    addresses, if the dst mac is the same and only src should be changed
Open vSwitch CI 44741c
    by the set() action, destination address will be wildcarded in the
Open vSwitch CI 44741c
    match key and will never be matched, i.e. flows with any destination
Open vSwitch CI 44741c
    mac will match, which is not correct.
Open vSwitch CI 44741c
    
Open vSwitch CI 44741c
    Setting OF rule:
Open vSwitch CI 44741c
    
Open vSwitch CI 44741c
     in_port=1,dl_src=50:54:00:00:00:09 actions=mod_dl_dst(50:54:00:00:00:0a),output(2)
Open vSwitch CI 44741c
    
Open vSwitch CI 44741c
    Sending following packets on port 1:
Open vSwitch CI 44741c
    
Open vSwitch CI 44741c
      1. eth(src=50:54:00:00:00:09,dst=50:54:00:00:00:0a),eth_type(0x0800)
Open vSwitch CI 44741c
      2. eth(src=50:54:00:00:00:09,dst=50:54:00:00:00:0c),eth_type(0x0800)
Open vSwitch CI 44741c
      3. eth(src=50:54:00:00:00:0b,dst=50:54:00:00:00:0c),eth_type(0x0800)
Open vSwitch CI 44741c
    
Open vSwitch CI 44741c
    Resulted datapath flows:
Open vSwitch CI 44741c
      eth(dst=50:54:00:00:00:0c),<...>, actions:set(eth(dst=50:54:00:00:00:0a)),2
Open vSwitch CI 44741c
      eth(src=50:54:00:00:00:09,dst=50:54:00:00:00:0a),<...>, actions:2
Open vSwitch CI 44741c
    
Open vSwitch CI 44741c
    The first flow  doesn't have any match on source MAC address and the
Open vSwitch CI 44741c
    third packet successfully matched on it while it must be dropped.
Open vSwitch CI 44741c
    
Open vSwitch CI 44741c
    Fix that by updating the match mask with only the new bits set by
Open vSwitch CI 44741c
    commit(), but keeping those that were cleared (OR operation).
Open vSwitch CI 44741c
    
Open vSwitch CI 44741c
    With fix applied, resulted correct flows are:
Open vSwitch CI 44741c
      eth(src=50:54:00:00:00:09,dst=50:54:00:00:00:0a),<...>, actions:2
Open vSwitch CI 44741c
      eth(src=50:54:00:00:00:09,dst=50:54:00:00:00:0c),<...>,
Open vSwitch CI 44741c
                                        actions:set(eth(dst=50:54:00:00:00:0a)),2
Open vSwitch CI 44741c
      eth(src=50:54:00:00:00:0b),<...>, actions:drop
Open vSwitch CI 44741c
    
Open vSwitch CI 44741c
    The code before commit dbf4a92800d0 was not able to reduce the mask,
Open vSwitch CI 44741c
    it was only possible to expand it to exact match, so it was OK to
Open vSwitch CI 44741c
    update original matching mask with the new value in all cases.
Open vSwitch CI 44741c
    
Open vSwitch CI 44741c
    Fixes: dbf4a92800d0 ("odp-util: Do not rewrite fields with the same values as matched")
Open vSwitch CI 44741c
    Reported-at: https://bugzilla.redhat.com/show_bug.cgi?id=1854376
Open vSwitch CI 44741c
    Acked-by: Eli Britstein <elibr@mellanox.com>
Open vSwitch CI 44741c
    Tested-by: Adrián Moreno <amorenoz@redhat.com>
Open vSwitch CI 44741c
    Signed-off-by: Ilya Maximets <i.maximets@ovn.org>
Open vSwitch CI 44741c
    (cherry picked from commit 37606fb5ca76aef478a51d407aaa06caf7fb9376)
Open vSwitch CI 44741c
    
Open vSwitch CI 44741c
    Resolves: #1862153
Open vSwitch CI 44741c
4b3b86
4b3b86
* Thu Jul 16 2020 Flavio Leitner <fbl@redhat.com> - 2.13.0-48
Open vSwitch CI 44741c
- redhat: Clean old changelog entries. [RH git: 6cf8d909e8]
Open vSwitch CI 44741c
    Fix the changelog shift caused by use of static references
Open vSwitch CI 44741c
    and remove the old entries not relevant to the new tarball.
Open vSwitch CI 44741c
    
Open vSwitch CI 44741c
    Fixes: 90ac9bd6aa ("redhat: Use static references.")
Open vSwitch CI 44741c
4b3b86
4b3b86
* Thu Jul 16 2020 Flavio Leitner <fbl@redhat.com> - 2.13.0-47
Open vSwitch CI 44741c
- redhat: Update the documentation. [RH git: c9571d2dad]
Open vSwitch CI 44741c
4b3b86
4b3b86
* Thu Jul 16 2020 Flavio Leitner <fbl@redhat.com> - 2.13.0-46
Open vSwitch CI 44741c
- redhat: Add merge script. [RH git: 752c59ba74]
Open vSwitch CI 44741c
    This script helps to provide a standard commit log.
Open vSwitch CI 44741c
4b3b86
4b3b86
* Thu Jul 16 2020 Flavio Leitner <fbl@redhat.com> - 2.13.0-45
Open vSwitch CI 44741c
- redhat: Use static references. [RH git: f1025c1515]
Open vSwitch CI 44741c
    Add static references because there could be patches after SHA_REF
Open vSwitch CI 44741c
    not available in newer tarballs. Therefore, it is only possible to
Open vSwitch CI 44741c
    update the references if all previous patches are applied in the new
Open vSwitch CI 44741c
    references.
Open vSwitch CI 44741c
4b3b86
4b3b86
* Wed Jul 15 2020 Flavio Leitner <fbl@redhat.com> - 2.13.0-44
Open vSwitch CI 44741c
- Update DPDK configs to v19.11.2. [RH git: 98e6e9823b]
Open vSwitch CI 44741c
4b3b86
4b3b86
* Wed Jul 15 2020 Flavio Leitner <fbl@redhat.com> - 2.13.0-43
Open vSwitch CI 44741c
- Merge DPDK tag 'v19.11.2' into fast-datapath-rhel-8 [RH git: 755e86c61a]
Open vSwitch CI 44741c
4b3b86
4b3b86
* Wed Jul 15 2020 Flavio Leitner <fbl@redhat.com> - 2.13.0-42
Open vSwitch CI 44741c
- Merging upstream branch-2.13 to fast-datapath-rhel-8 [RH git: 735b3f94c2]
Open vSwitch CI 44741c
    Commit list:
Open vSwitch CI 44741c
    bef407fa7f dpdk: Use DPDK 19.11.2 release.
Open vSwitch CI 44741c
    53e0568753 dpif-netdev: Return error code when no mark available.
Open vSwitch CI 44741c
    99a4564348 dpif-netdev: Add check mark to avoid ovs-vswitchd crash.
Open vSwitch CI 44741c
    22c6148a9a netdev-offload-dpdk: Fix Ethernet matching for type only.
Open vSwitch CI 44741c
    9747d5649b dpif-netdev: Don't use zero flow mark.
Open vSwitch CI 44741c
    39cc59dc91 netdev-linux: Fix broken build on Ubuntu 14.04
Open vSwitch CI 44741c
    ac92cdbc4d odp-execute: Fix length checking while executing check_pkt_len action.
Open vSwitch CI 44741c
    08ad9f6483 odp-util.c: Fix dp_hash execution with slowpath actions.
Open vSwitch CI 44741c
    5351651d37 ctags: Include new annotations to ctags ignore list.
Open vSwitch CI 44741c
    d5484cf697 lib/tc: only update the stats for non-empty counter
Open vSwitch CI 44741c
    998475d79f datapath-windows, conntrack: Fix conntrack new state
Open vSwitch CI 44741c
    6dbbf0771e bridge: Fix null dereference on ct_timeout_policy record
Open vSwitch CI 44741c
    3e5991a75e rhel: Fix syntax error when matching version.
Open vSwitch CI 44741c
    59cedd3b35 rhel: Support RHEL 7.8 kernel module rpm build.
Open vSwitch CI 44741c
    78ac2896d1 dpif-netlink: Fix Windows incompatibility when setting new feature
Open vSwitch CI 44741c
    51e9479da6 ovsdb-idl: Avoid inconsistent IDL state with OVSDB_MONITOR_V3.
Open vSwitch CI 44741c
    8ba057d345 ovs-rcu: Avoid flushing callbacks during postponing.
Open vSwitch CI 44741c
    b24ff56441 raft: Avoid sending equal snapshots.
Open vSwitch CI 44741c
    a33880c6e9 ovsdb: Fix timeout type for wait operation.
Open vSwitch CI 44741c
    7077328846 classifier: Prevent tries vs n_tries race leading to NULL dereference.
Open vSwitch CI 44741c
    a29fe0d482 ovsdb-server: Fix schema leak while reading db.
Open vSwitch CI 44741c
    1bb5be5138 compat: Backport ipv6_stub change
Open vSwitch CI 44741c
    71acf83c33 netdev-offload-tc: Re-fetch block ID after probing.
Open vSwitch CI 44741c
    23e3ae7158 netdev-linux: Update LAG in all cases.
Open vSwitch CI 44741c
    85fe081852 ofproto: Fix statistics of removed flow.
Open vSwitch CI 44741c
    6bd9ddc829 metaflow: Fix maskable conntrack orig tuple fields
Open vSwitch CI 44741c
    1600e0040c raft: Disable RAFT jsonrpc inactivity probe.
Open vSwitch CI 44741c
    168beb87ca raft: Fix leak of the incomplete command.
Open vSwitch CI 44741c
    da9dc791de compat: Fix ipv6_dst_lookup build error
Open vSwitch CI 44741c
    a09e22dbdd system-traffic: Check frozen state handling with TLV map change
Open vSwitch CI 44741c
    b267889057 tun_metadata: Fix coredump caused by use-after-free bug
Open vSwitch CI 44741c
    d323c5398f cirrus: Force pkg update on FreeBSD.
Open vSwitch CI 44741c
    62cede43ee Revert "ovsdb-idl: Avoid sending redundant conditional monitoring updates"
Open vSwitch CI 44741c
    b52877a483 dpif-netdev: Force port reconfiguration to change dynamic_txqs.
Open vSwitch CI 44741c
    dc389fd319 netdev-offload-tc: Flush rules on ingress block when init tc flow api
Open vSwitch CI 44741c
    e2f6393592 conntrack: Reset ct_state when entering a new zone.
Open vSwitch CI 44741c
    314bd235c1 ofp-actions: Fix memory leak.
Open vSwitch CI 44741c
    1f12a91cf9 ofproto-dpif-xlate: Fix recirculation when in_port is OFPP_CONTROLLER.
Open vSwitch CI 44741c
    8315f3cc98 conntrack: Fix NULL pointer dereference.
Open vSwitch CI 44741c
    89c85b997c dpif-netlink: avoid netlink modify flow put op failed after tc modify flow put op failed.
Open vSwitch CI 44741c
    49db27d213 dpif-netdev: Enter quiescent state after each offloading operation.
Open vSwitch CI 44741c
    bf2dcbfe5c pvector: Use acquire-release semantics for size.
Open vSwitch CI 44741c
    443f8e2575 tc: Fix nat port range when offloading ct action
Open vSwitch CI 44741c
    d69d4c0537 travis: Disable sindex build in sparse.
Open vSwitch CI 44741c
    25a7e5547f raft: Fix the problem of stuck in candidate role forever.
Open vSwitch CI 44741c
    877618fc83 raft: Fix next_index in install_snapshot reply handling.
Open vSwitch CI 44741c
    3ae90e1899 raft: Avoid busy loop during leader election.
Open vSwitch CI 44741c
    adc64ab057 raft: Fix raft_is_connected() when there is no leader yet.
Open vSwitch CI 44741c
    f0c8b44c58 ovsdb-server: Don't disconnect clients after raft install_snapshot.
Open vSwitch CI 44741c
    78c8011f58 raft-rpc: Fix message format.
Open vSwitch CI 44741c
    f0de491257 ovs-dpctl-top: python3 compatibility
Open vSwitch CI 44741c
    00dd014519 dpif-netdev.at: Fix partial offloading test cases failure.
Open vSwitch CI 44741c
    6f86b10549 userspace TSO: SCTP checksum offload optional.
Open vSwitch CI 44741c
    b837d1fdc4 userspace TSO: Include UDP checksum offload.
Open vSwitch CI 44741c
    ad550ebc36 netdev-dpdk: vhost: disable unsupported offload features.
Open vSwitch CI 44741c
    3f83220418 docs: Update conntrack established state description
Open vSwitch CI 44741c
    dd0293c8b5 conntrack: Fix TCP conntrack state
Open vSwitch CI 44741c
    0aefc0eb8e docs: Update DPDK version table
Open vSwitch CI 44741c
    d33cc044f3 Prepare for 2.13.1.
Open vSwitch CI 44741c
4b3b86
4b3b86
* Sun Jul 12 2020 Flavio Leitner <fbl@redhat.com> - 2.13.0-41
Open vSwitch CI 44741c
- redhat: Rename OVSCI job name. [RH git: a61f1d1095]
Open vSwitch CI 44741c
    The OVSCI job's name has been renamed to follow a standard.
Open vSwitch CI 44741c
4b3b86
4b3b86
* Wed Jul 08 2020 Timothy Redaelli <tredaelli@redhat.com> - 2.13.0-40
Open vSwitch CI 44741c
- redhat: pkgtool: use diff instead of format-patch [RH git: da2129ac82]
Open vSwitch CI 44741c
4b3b86
a93e80
* Thu Jun 25 2020 Timothy Redaelli <tredaelli@redhat.com> - 2.13.0-39
Open vSwitch CI 44741c
- bus/pci: fix VF memory access [RH git: 2b22bcd9ad] (#1851169)
Open vSwitch CI 44741c
    To fix CVE-2020-12888, the linux vfio-pci module will invalidate mmaps
Open vSwitch CI 44741c
    and block MMIO access on disabled memory, it will send a SIGBUS to the
Open vSwitch CI 44741c
    application:
Open vSwitch CI 44741c
    https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=abafbc551fdd
Open vSwitch CI 44741c
    
Open vSwitch CI 44741c
    When the application opens the vfio PCI device, the vfio-pci module will
Open vSwitch CI 44741c
    enable the bus memory space through PCI read/write access. According to
Open vSwitch CI 44741c
    the PCIe specification, the 'Memory Space Enable' is always zero for VF:
Open vSwitch CI 44741c
    
Open vSwitch CI 44741c
                 Table 9-13 Command Register Changes
Open vSwitch CI 44741c
    
Open vSwitch CI 44741c
    Bit Location | PF and VF Register Differences | PF         | VF
Open vSwitch CI 44741c
                 | From Base                      | Attributes | Attributes
Open vSwitch CI 44741c
    -------------+--------------------------------+------------+-----------
Open vSwitch CI 44741c
                 | Memory Space Enable - Does not |            |
Open vSwitch CI 44741c
                 | apply to VFs. Must be hardwired|  Base      |  0b
Open vSwitch CI 44741c
         1       | to 0b for VFs. VF Memory Space |            |
Open vSwitch CI 44741c
                 | is controlled by the VF MSE bit|            |
Open vSwitch CI 44741c
                 | in the VF Control register.    |            |
Open vSwitch CI 44741c
    -------------+--------------------------------+------------+-----------
Open vSwitch CI 44741c
    
Open vSwitch CI 44741c
    Afterwards the vfio-pci will initialize its own virtual PCI config space
Open vSwitch CI 44741c
    data ('vconfig') by reading the VF's physical PCI config space, then the
Open vSwitch CI 44741c
    'Memory Space Enable' bit in vconfig will always be 0b value. This will
Open vSwitch CI 44741c
    make the vfio-pci treat the BAR memory space as disabled, and the SIGBUS
Open vSwitch CI 44741c
    will be triggered if access these BARs.
Open vSwitch CI 44741c
    
Open vSwitch CI 44741c
    By investigation, the VF PCI device *passthrough* into the Guest OS by
Open vSwitch CI 44741c
    QEMU has the 'Memory Space Enable' with 1b value. That's because every
Open vSwitch CI 44741c
    PCI driver will start to enable the memory space, and this action will
Open vSwitch CI 44741c
    be hooked by vfio-pci virtual PCI read/write to set the 'Memory Space
Open vSwitch CI 44741c
    Enable' in vconfig space to 1b. So VF runs in guest OS has 'Mem+', but
Open vSwitch CI 44741c
    VF runs in host OS has 'Mem-'.
Open vSwitch CI 44741c
    
Open vSwitch CI 44741c
    Align with PCI working mode in Guest/QEMU/Host, in DPDK, enable the PCI
Open vSwitch CI 44741c
    bus memory space explicitly to avoid access on disabled memory.
Open vSwitch CI 44741c
    
Open vSwitch CI 44741c
    Fixes: 33604c31354a ("vfio: refactor PCI BAR mapping")
Open vSwitch CI 44741c
    Cc: stable@dpdk.org
Open vSwitch CI 44741c
    
Open vSwitch CI 44741c
    Signed-off-by: Haiyue Wang <haiyue.wang@intel.com>
Open vSwitch CI 44741c
    Acked-by: Anatoly Burakov <anatoly.burakov@intel.com>
Open vSwitch CI 44741c
    Tested-by: Harman Kalra <hkalra@marvell.com>
Open vSwitch CI 44741c
    Tested-by: David Marchand <david.marchand@redhat.com>
Open vSwitch CI 44741c
    Tested-by: Thierry Martin <thierry.martin.public@gmail.com>
Open vSwitch CI 44741c
    (cherry picked from commit 54f3fb127d9c265a5724d193e5c7c6db29fb4150)
Open vSwitch CI 44741c
    
Open vSwitch CI 44741c
    Resolves: #1851169
Open vSwitch CI 44741c
a93e80
a93e80
* Fri Jun 05 2020 Ilya Maximets <i.maximets@redhat.com> - 2.13.0-38
Open vSwitch CI 44741c
- raft: Avoid sending equal snapshots. [RH git: 3168eba559] (#1834838)
Open vSwitch CI 44741c
    [ upstream commit 8c2c503bdb0da1ce6044a53d462f905fd4f8acf5 ]
Open vSwitch CI 44741c
    
Open vSwitch CI 44741c
    Snapshots are huge.  In some cases we could receive several outdated
Open vSwitch CI 44741c
    append replies from the remote server.  This could happen in high
Open vSwitch CI 44741c
    scale cases if the remote server is overloaded and not able to process
Open vSwitch CI 44741c
    all the raft requests in time.  As an action to each outdated append
Open vSwitch CI 44741c
    reply we're sending full database snapshot.  While remote server is
Open vSwitch CI 44741c
    already overloaded those snapshots will stuck in jsonrpc backlog for
Open vSwitch CI 44741c
    a long time making it grow up to few GB.  Since remote server wasn't
Open vSwitch CI 44741c
    able to timely process incoming messages it will likely not able to
Open vSwitch CI 44741c
    process snapshots leading to the same situation with low chances to
Open vSwitch CI 44741c
    recover.  Remote server will likely stuck in 'candidate' state, other
Open vSwitch CI 44741c
    servers will grow their memory consumption due to growing jsonrpc
Open vSwitch CI 44741c
    backlogs:
Open vSwitch CI 44741c
    
Open vSwitch CI 44741c
    jsonrpc|INFO|excessive sending backlog, jsonrpc: ssl:192.16.0.3:6644,
Open vSwitch CI 44741c
                 num of msgs: 3795, backlog: 8838994624.
Open vSwitch CI 44741c
    
Open vSwitch CI 44741c
    This patch is trying to avoid that situation by avoiding sending of
Open vSwitch CI 44741c
    equal snapshot install requests.  This helps maintain reasonable memory
Open vSwitch CI 44741c
    consumption and allows the cluster to recover on a larger scale.
Open vSwitch CI 44741c
    
Open vSwitch CI 44741c
    Acked-by: Han Zhou <hzhou@ovn.org>
Open vSwitch CI 44741c
    Signed-off-by: Ilya Maximets <i.maximets@ovn.org>
Open vSwitch CI 44741c
    
Open vSwitch CI 44741c
    Related: #1834838
Open vSwitch CI 44741c
    Signed-off-by: Ilya Maximets <i.maximets@redhat.com>
Open vSwitch CI 44741c
a93e80
a93e80
* Fri Jun 05 2020 Ilya Maximets <i.maximets@redhat.com> - 2.13.0-37
Open vSwitch CI 44741c
- ovsdb-server: Fix schema leak while reading db. [RH git: 92a1e56c8a] (#1834838)
Open vSwitch CI 44741c
    [ upstream commit 16e3a80cf646f6c53d22ef98599d5aecb8310414 ]
Open vSwitch CI 44741c
    
Open vSwitch CI 44741c
    parse_txn() function doesn't always take ownership of the 'schema'
Open vSwitch CI 44741c
    passed.  So, if the schema of the clustered db has same version as the
Open vSwitch CI 44741c
    one that already in use, parse_txn() will not use it, resulting with a
Open vSwitch CI 44741c
    memory leak:
Open vSwitch CI 44741c
    
Open vSwitch CI 44741c
     7,827 (56 direct, 7,771 indirect) bytes in 1 blocks are definitely lost
Open vSwitch CI 44741c
        at 0x483BB1A: calloc (vg_replace_malloc.c:762)
Open vSwitch CI 44741c
        by 0x44AD02: xcalloc (util.c:121)
Open vSwitch CI 44741c
        by 0x40E70E: ovsdb_schema_create (ovsdb.c:41)
Open vSwitch CI 44741c
        by 0x40EA6D: ovsdb_schema_from_json (ovsdb.c:217)
Open vSwitch CI 44741c
        by 0x415EDD: ovsdb_storage_read (storage.c:280)
Open vSwitch CI 44741c
        by 0x408968: read_db (ovsdb-server.c:607)
Open vSwitch CI 44741c
        by 0x40733D: main_loop (ovsdb-server.c:227)
Open vSwitch CI 44741c
        by 0x40733D: main (ovsdb-server.c:469)
Open vSwitch CI 44741c
    
Open vSwitch CI 44741c
    While we could put ovsdb_schema_destroy() in a few places inside
Open vSwitch CI 44741c
    'parse_txn()', from the users' point of view it seems better to have a
Open vSwitch CI 44741c
    constant argument and just clone the 'schema' if needed.  The caller
Open vSwitch CI 44741c
    will be responsible for destroying the 'schema' it owns.
Open vSwitch CI 44741c
    
Open vSwitch CI 44741c
    Fixes: 1b1d2e6daa56 ("ovsdb: Introduce experimental support for clustered databases.")
Open vSwitch CI 44741c
    Acked-by: Han Zhou <hzhou@ovn.org>
Open vSwitch CI 44741c
    Signed-off-by: Ilya Maximets <i.maximets@ovn.org>
Open vSwitch CI 44741c
    
Open vSwitch CI 44741c
    Related: #1834838
Open vSwitch CI 44741c
    Signed-off-by: Ilya Maximets <i.maximets@redhat.com>
Open vSwitch CI 44741c
a93e80
a93e80
* Fri Jun 05 2020 Ilya Maximets <i.maximets@redhat.com> - 2.13.0-36
Open vSwitch CI 44741c
- ovsdb: Add raft memory usage to memory report. [RH git: fb32a78921] (#1834838)
Open vSwitch CI 44741c
    [ upstream commit 3423cd97f88fe6a8de8b649d79fe6ac83bce94d1 ]
Open vSwitch CI 44741c
    
Open vSwitch CI 44741c
    Memory reports could be found in logs or by calling 'memory/show'
Open vSwitch CI 44741c
    appctl command.  For ovsdb-server it includes information about db
Open vSwitch CI 44741c
    cells, monitor connections with their backlog size, etc.  But it
Open vSwitch CI 44741c
    doesn't contain any information about memory consumed by raft.
Open vSwitch CI 44741c
    Backlogs of raft connections could be insanely large because of
Open vSwitch CI 44741c
    snapshot installation requests that simply contains the whole database.
Open vSwitch CI 44741c
    In not that healthy clusters where one of ovsdb servers is not able to
Open vSwitch CI 44741c
    timely handle all the incoming raft traffic, backlog on a sender's side
Open vSwitch CI 44741c
    could cause significant memory consumption issues.
Open vSwitch CI 44741c
    
Open vSwitch CI 44741c
    Adding new 'raft-connections' and 'raft-backlog' counters to the
Open vSwitch CI 44741c
    memory report to better track such conditions.
Open vSwitch CI 44741c
    
Open vSwitch CI 44741c
    Acked-by: Han Zhou <hzhou@ovn.org>
Open vSwitch CI 44741c
    Signed-off-by: Ilya Maximets <i.maximets@ovn.org>
Open vSwitch CI 44741c
    
Open vSwitch CI 44741c
    Related: #1834838
Open vSwitch CI 44741c
    Signed-off-by: Ilya Maximets <i.maximets@redhat.com>
Open vSwitch CI 44741c
a93e80
a93e80
* Tue Jun 02 2020 Aaron Conole <aconole@redhat.com> - 2.13.0-35
Open vSwitch CI 44741c
- netdev-offload-tc: Re-fetch block ID after probing. [RH git: d14e39f81b]
Open vSwitch CI 44741c
    It's possible that block_id could changes after the probe for block
Open vSwitch CI 44741c
    support.  Therefore, fetch the block_id again after the probe.
Open vSwitch CI 44741c
    
Open vSwitch CI 44741c
    Fixes: edc2055a2bf7 ("netdev-offload-tc: Flush rules on ingress block when init tc flow api")
Open vSwitch CI 44741c
    Cc: Dmytro Linkin <dmitrolin@mellanox.com>
Open vSwitch CI 44741c
    Acked-by: Roi Dayan <roid@mellanox.com>
Open vSwitch CI 44741c
    Co-authored-by: Marcelo Leitner <mleitner@redhat.com>
Open vSwitch CI 44741c
    Signed-off-by: Marcelo Leitner <mleitner@redhat.com>
Open vSwitch CI 44741c
    Signed-off-by: Aaron Conole <aconole@redhat.com>
Open vSwitch CI 44741c
    Signed-off-by: Ilya Maximets <i.maximets@ovn.org>
Open vSwitch CI 44741c
a93e80
a93e80
* Tue Jun 02 2020 Aaron Conole <aconole@redhat.com> - 2.13.0-34
Open vSwitch CI 44741c
- netdev-linux: Update LAG in all cases. [RH git: 8b15547574]
Open vSwitch CI 44741c
    In some cases, when processing a netlink change event, it's possible for
Open vSwitch CI 44741c
    an alternate part of OvS (like the IPv6 endpoint processing) to hold an
Open vSwitch CI 44741c
    active netdev interface.  This creates a race-condition, where sometimes
Open vSwitch CI 44741c
    the OvS change processing will take the normal path.  This doesn't work
Open vSwitch CI 44741c
    because the netdev device object won't actually be enslaved to the
Open vSwitch CI 44741c
    ovs-system (for instance, a linux bond) and ingress qdisc entries will
Open vSwitch CI 44741c
    be missing.
Open vSwitch CI 44741c
    
Open vSwitch CI 44741c
    To address this, we update the LAG information in ALL cases where
Open vSwitch CI 44741c
    LAG information could come in.
Open vSwitch CI 44741c
    
Open vSwitch CI 44741c
    Fixes: d22f8927c3c9 ("netdev-linux: monitor and offload LAG slaves to TC")
Open vSwitch CI 44741c
    Cc: Marcelo Leitner <mleitner@redhat.com>
Open vSwitch CI 44741c
    Cc: John Hurley <john.hurley@netronome.com>
Open vSwitch CI 44741c
    Acked-by: Roi Dayan <roid@mellanox.com>
Open vSwitch CI 44741c
    Signed-off-by: Aaron Conole <aconole@redhat.com>
Open vSwitch CI 44741c
    Signed-off-by: Ilya Maximets <i.maximets@ovn.org>
Open vSwitch CI 44741c
a93e80
a93e80
* Wed May 20 2020 Timothy Redaelli <tredaelli@redhat.com> - 2.13.0-33
Open vSwitch CI 44741c
- vhost: fix potential fd leak [RH git: a9e6e35814]
Open vSwitch CI 44741c
    Vhost will create temporary file when receiving VHOST_USER_GET_INFLIGHT_FD
Open vSwitch CI 44741c
    message. Malicious guest can send endless this message to drain out the
Open vSwitch CI 44741c
    resource of host.
Open vSwitch CI 44741c
    
Open vSwitch CI 44741c
    When receiving VHOST_USER_GET_INFLIGHT_FD message repeatedly, closing the
Open vSwitch CI 44741c
    file created during the last handling of this message.
Open vSwitch CI 44741c
    
Open vSwitch CI 44741c
    Fixes: d87f1a1cb7b666550 ("vhost: support inflight info sharing")
Open vSwitch CI 44741c
    Cc: stable@dpdk.org
Open vSwitch CI 44741c
    
Open vSwitch CI 44741c
    This issue has been assigned CVE-2020-10726
Open vSwitch CI 44741c
    
Open vSwitch CI 44741c
    Signed-off-by: Xuan Ding <xuan.ding@intel.com>
Open vSwitch CI 44741c
    Signed-off-by: Xiaolong Ye <xiaolong.ye@intel.com>
Open vSwitch CI 44741c
    Reviewed-by: Maxime Coquelin <maxime.coquelin@redhat.com>
Open vSwitch CI 44741c
a93e80
a93e80
* Wed May 20 2020 Timothy Redaelli <tredaelli@redhat.com> - 2.13.0-32
Open vSwitch CI 44741c
- vhost: fix potential memory space leak [RH git: b39bac1377]
Open vSwitch CI 44741c
    A malicious container which has direct access to the vhost-user socket
Open vSwitch CI 44741c
    can keep sending VHOST_USER_GET_INFLIGHT_FD messages which may cause
Open vSwitch CI 44741c
    leaking resources until resulting a DOS. Fix it by unmapping the
Open vSwitch CI 44741c
    dev->inflight_info->addr before assigning new mapped addr to it.
Open vSwitch CI 44741c
    
Open vSwitch CI 44741c
    Fixes: d87f1a1cb7b6 ("vhost: support inflight info sharing")
Open vSwitch CI 44741c
    Cc: stable@dpdk.org
Open vSwitch CI 44741c
    
Open vSwitch CI 44741c
    This issue has been assigned CVE-2020-10726
Open vSwitch CI 44741c
    
Open vSwitch CI 44741c
    Signed-off-by: Xiaolong Ye <xiaolong.ye@intel.com>
Open vSwitch CI 44741c
    Reviewed-by: Maxime Coquelin <maxime.coquelin@redhat.com>
Open vSwitch CI 44741c
a93e80
a93e80
* Wed May 20 2020 Timothy Redaelli <tredaelli@redhat.com> - 2.13.0-31
Open vSwitch CI 44741c
- vhost: fix translated address not checked [RH git: 7da9061642]
Open vSwitch CI 44741c
    Malicious guest can construct desc with invalid address and zero buffer
Open vSwitch CI 44741c
    length. That will request vhost to check both translated address and
Open vSwitch CI 44741c
    translated data length. This patch will add missed address check.
Open vSwitch CI 44741c
    
Open vSwitch CI 44741c
    Fixes: 75ed51697820 ("vhost: add packed ring batch dequeue")
Open vSwitch CI 44741c
    Fixes: ef861692c398 ("vhost: add packed ring batch enqueue")
Open vSwitch CI 44741c
    Cc: stable@dpdk.org
Open vSwitch CI 44741c
    
Open vSwitch CI 44741c
    This issue has been assigned CVE-2020-10725
Open vSwitch CI 44741c
    
Open vSwitch CI 44741c
    Signed-off-by: Marvin Liu <yong.liu@intel.com>
Open vSwitch CI 44741c
    Reviewed-by: Maxime Coquelin <maxime.coquelin@redhat.com>
Open vSwitch CI 44741c
a93e80
a93e80
* Wed May 20 2020 Timothy Redaelli <tredaelli@redhat.com> - 2.13.0-30
Open vSwitch CI 44741c
- vhost: fix vring index check [RH git: 7c4cfd12e3]
Open vSwitch CI 44741c
    vhost_user_check_and_alloc_queue_pair() is used to extract
Open vSwitch CI 44741c
    a vring index from a payload. This function validates the
Open vSwitch CI 44741c
    index and is called early on in when performing message
Open vSwitch CI 44741c
    handling. Most message handlers depend on it correctly
Open vSwitch CI 44741c
    validating the vring index.
Open vSwitch CI 44741c
    
Open vSwitch CI 44741c
    Depending on the message type the vring index is in
Open vSwitch CI 44741c
    different parts of the payload. The function contains a
Open vSwitch CI 44741c
    switch/case for each type and copies the index. This is
Open vSwitch CI 44741c
    stored in a uint16. This index is then validated. Depending
Open vSwitch CI 44741c
    on the message, the source index is an unsigned int. If
Open vSwitch CI 44741c
    integer truncation occurs (uint->uint16) the top 16 bits
Open vSwitch CI 44741c
    of the index are never validated.
Open vSwitch CI 44741c
    
Open vSwitch CI 44741c
    When they are used later on  (e.g. in
Open vSwitch CI 44741c
    vhost_user_set_vring_num() or vhost_user_set_vring_addr())
Open vSwitch CI 44741c
    it can lead to out of bound indexing. The out of bound
Open vSwitch CI 44741c
    indexed data gets written to, and hence this can cause
Open vSwitch CI 44741c
    memory corruption.
Open vSwitch CI 44741c
    
Open vSwitch CI 44741c
    This patch fixes this vulnerability by declaring vring
Open vSwitch CI 44741c
    index as an unsigned int in
Open vSwitch CI 44741c
    vhost_user_check_and_alloc_queue_pair().
Open vSwitch CI 44741c
    
Open vSwitch CI 44741c
    Fixes: 160cbc815b41 ("vhost: remove a hack on queue allocation")
Open vSwitch CI 44741c
    Cc: stable@dpdk.org
Open vSwitch CI 44741c
    
Open vSwitch CI 44741c
    This issue has been assigned CVE-2020-10723
Open vSwitch CI 44741c
    
Open vSwitch CI 44741c
    Reported-by: Ilja Van Sprundel <ivansprundel@ioactive.com>
Open vSwitch CI 44741c
    Signed-off-by: Maxime Coquelin <maxime.coquelin@redhat.com>
Open vSwitch CI 44741c
    Reviewed-by: Xiaolong Ye <xiaolong.ye@intel.com>
Open vSwitch CI 44741c
    Reviewed-by: Ilja Van Sprundel <ivansprundel@ioactive.com>
Open vSwitch CI 44741c
a93e80
a93e80
* Wed May 20 2020 Timothy Redaelli <tredaelli@redhat.com> - 2.13.0-29
Open vSwitch CI 44741c
- vhost: check log mmap offset and size overflow [RH git: 517d8488dc]
Open vSwitch CI 44741c
    vhost_user_set_log_base() is a message handler that is
Open vSwitch CI 44741c
    called to handle the VHOST_USER_SET_LOG_BASE message.
Open vSwitch CI 44741c
    Its payload contains a 64 bit size and offset. Both are
Open vSwitch CI 44741c
    added up and used as a size when calling mmap().
Open vSwitch CI 44741c
    
Open vSwitch CI 44741c
    There is no integer overflow check. If an integer overflow
Open vSwitch CI 44741c
    occurs a smaller memory map would be created than
Open vSwitch CI 44741c
    requested. Since the returned mapping is mapped as writable
Open vSwitch CI 44741c
    and used for logging, a memory corruption could occur.
Open vSwitch CI 44741c
    
Open vSwitch CI 44741c
    Fixes: fbc4d248b198 ("vhost: fix offset while mmaping log base address")
Open vSwitch CI 44741c
    Cc: stable@dpdk.org
Open vSwitch CI 44741c
    
Open vSwitch CI 44741c
    This issue has been assigned CVE-2020-10722
Open vSwitch CI 44741c
    
Open vSwitch CI 44741c
    Reported-by: Ilja Van Sprundel <ivansprundel@ioactive.com>
Open vSwitch CI 44741c
    Signed-off-by: Maxime Coquelin <maxime.coquelin@redhat.com>
Open vSwitch CI 44741c
    Reviewed-by: Xiaolong Ye <xiaolong.ye@intel.com>
Open vSwitch CI 44741c
    Reviewed-by: Ilja Van Sprundel <ivansprundel@ioactive.com>
Open vSwitch CI 44741c
a93e80
a93e80
* Fri May 15 2020 Dumitru Ceara <dceara@redhat.com> - 2.13.0-28
Open vSwitch CI 44741c
- raft: Disable RAFT jsonrpc inactivity probe. [RH git: 3d9b529afb] (#1836308)
Open vSwitch CI 44741c
    [ upstream commit 1600e0040caded7eaa9b1f41926f9619d8e0ec8d ]
Open vSwitch CI 44741c
    
Open vSwitch CI 44741c
    With the scale test of 640 nodes k8s cluster, raft DB nodes' jsonrpc
Open vSwitch CI 44741c
    session got closed due to the timeout of default 5 seconds probe.
Open vSwitch CI 44741c
    It will cause disturbance of the raft cluster. Since we already have
Open vSwitch CI 44741c
    the heartbeat for RAFT, just disable the probe between the servers
Open vSwitch CI 44741c
    to avoid the unnecessary jsonrpc inactivity probe.
Open vSwitch CI 44741c
    
Open vSwitch CI 44741c
    Acked-by: Han Zhou <hzhou@ovn.org>
Open vSwitch CI 44741c
    Signed-off-by: Zhen Wang <zhewang@nvidia.com>
Open vSwitch CI 44741c
    Signed-off-by: Ilya Maximets <i.maximets@ovn.org>
Open vSwitch CI 44741c
    
Open vSwitch CI 44741c
    Resolves: #1836308
Open vSwitch CI 44741c
    Signed-off-by: Dumitru Ceara <dceara@redhat.com>
Open vSwitch CI 44741c
a93e80
a93e80
* Fri May 15 2020 Dumitru Ceara <dceara@redhat.com> - 2.13.0-27
Open vSwitch CI 44741c
- raft: Fix leak of the incomplete command. [RH git: 5c38ccd52f] (#1836307)
Open vSwitch CI 44741c
    [ upstream commit 168beb87ca63056e8896b09a60031565b7b60728 ]
Open vSwitch CI 44741c
    
Open vSwitch CI 44741c
    Function raft_command_initiate() returns correctly referenced command
Open vSwitch CI 44741c
    instance.  'n_ref' equals 1 for complete commands and 2 for incomplete
Open vSwitch CI 44741c
    commands because one more reference is in raft->commands list.
Open vSwitch CI 44741c
    raft_handle_execute_command_request__() leaks the reference by not
Open vSwitch CI 44741c
    returning pointer anywhere and not unreferencing incomplete commands.
Open vSwitch CI 44741c
    
Open vSwitch CI 44741c
     792 bytes in 11 blocks are definitely lost in loss record 258 of 262
Open vSwitch CI 44741c
        at 0x483BB1A: calloc (vg_replace_malloc.c:762)
Open vSwitch CI 44741c
        by 0x44BA32: xcalloc (util.c:121)
Open vSwitch CI 44741c
        by 0x422E5F: raft_command_create_incomplete (raft.c:2038)
Open vSwitch CI 44741c
        by 0x422E5F: raft_command_initiate (raft.c:2061)
Open vSwitch CI 44741c
        by 0x428651: raft_handle_execute_command_request__ (raft.c:4161)
Open vSwitch CI 44741c
        by 0x428651: raft_handle_execute_command_request (raft.c:4177)
Open vSwitch CI 44741c
        by 0x428651: raft_handle_rpc (raft.c:4230)
Open vSwitch CI 44741c
        by 0x428651: raft_conn_run (raft.c:1445)
Open vSwitch CI 44741c
        by 0x428DEA: raft_run (raft.c:1803)
Open vSwitch CI 44741c
        by 0x407392: main_loop (ovsdb-server.c:226)
Open vSwitch CI 44741c
        by 0x407392: main (ovsdb-server.c:469)
Open vSwitch CI 44741c
    
Open vSwitch CI 44741c
    Fixes: 1b1d2e6daa56 ("ovsdb: Introduce experimental support for clustered databases.")
Open vSwitch CI 44741c
    Signed-off-by: Ilya Maximets <i.maximets@ovn.org>
Open vSwitch CI 44741c
    Acked-by: Han Zhou <hzhou@ovn.org>
Open vSwitch CI 44741c
    Signed-off-by: William Tu <u9012063@gmail.com>
Open vSwitch CI 44741c
    
Open vSwitch CI 44741c
    Resolves: #1836307
Open vSwitch CI 44741c
    Signed-off-by: Dumitru Ceara <dceara@redhat.com>
Open vSwitch CI 44741c
a93e80
a93e80
* Fri May 15 2020 Dumitru Ceara <dceara@redhat.com> - 2.13.0-26
Open vSwitch CI 44741c
- raft: Fix the problem of stuck in candidate role forever. [RH git: 9c76350e27] (#1836305)
Open vSwitch CI 44741c
    [ upstream commit 25a7e5547f1e107db0f032ad269f447c57401531 ]
Open vSwitch CI 44741c
    
Open vSwitch CI 44741c
    Sometimes a server can stay in candidate role forever, even if the server
Open vSwitch CI 44741c
    already see the new leader and handles append-requests normally. However,
Open vSwitch CI 44741c
    because of the wrong role, it appears as disconnected from cluster and
Open vSwitch CI 44741c
    so the clients are disconnected.
Open vSwitch CI 44741c
    
Open vSwitch CI 44741c
    This problem happens when 2 servers become candidates in the same
Open vSwitch CI 44741c
    term, and one of them is elected as leader in that term. It can be
Open vSwitch CI 44741c
    reproduced by the test cases added in this patch.
Open vSwitch CI 44741c
    
Open vSwitch CI 44741c
    The root cause is that the current implementation only changes role to
Open vSwitch CI 44741c
    follower when a bigger term is observed (in raft_receive_term__()).
Open vSwitch CI 44741c
    According to the RAFT paper, if another candidate becomes leader with
Open vSwitch CI 44741c
    the same term, the candidate should change to follower.
Open vSwitch CI 44741c
    
Open vSwitch CI 44741c
    This patch fixes it by changing the role to follower when leader
Open vSwitch CI 44741c
    is being updated in raft_update_leader().
Open vSwitch CI 44741c
    
Open vSwitch CI 44741c
    Signed-off-by: Han Zhou <hzhou@ovn.org>
Open vSwitch CI 44741c
    Signed-off-by: Ben Pfaff <blp@ovn.org>
Open vSwitch CI 44741c
    
Open vSwitch CI 44741c
    Resolves: #1836305
Open vSwitch CI 44741c
    Signed-off-by: Dumitru Ceara <dceara@redhat.com>
Open vSwitch CI 44741c
a93e80
a93e80
* Fri May 15 2020 Dumitru Ceara <dceara@redhat.com> - 2.13.0-25
Open vSwitch CI 44741c
- raft: Fix next_index in install_snapshot reply handling. [RH git: cc3d026992] (#1836305)
Open vSwitch CI 44741c
    [ upstream commit 877618fc833273d1e29e012b5e925d51cba80ff5 ]
Open vSwitch CI 44741c
    
Open vSwitch CI 44741c
    When a leader handles install_snapshot reply, the next_index for
Open vSwitch CI 44741c
    the follower should be log_start instead of log_end, because there
Open vSwitch CI 44741c
    can be new entries added in leader's log after initiating the
Open vSwitch CI 44741c
    install_snapshot procedure.  Also, it should send all the accumulated
Open vSwitch CI 44741c
    entries to follower in the following append-request message, instead
Open vSwitch CI 44741c
    of sending 0 entries, to speed up the converge.
Open vSwitch CI 44741c
    
Open vSwitch CI 44741c
    Without this fix, there is no functional problem, but it takes
Open vSwitch CI 44741c
    uncessary extra rounds of append-requests responsed with "inconsistency"
Open vSwitch CI 44741c
    by follower, although finally will be converged.
Open vSwitch CI 44741c
    
Open vSwitch CI 44741c
    Signed-off-by: Han Zhou <hzhou@ovn.org>
Open vSwitch CI 44741c
    Signed-off-by: Ben Pfaff <blp@ovn.org>
Open vSwitch CI 44741c
    
Open vSwitch CI 44741c
    Resolves: #1836305
Open vSwitch CI 44741c
    Signed-off-by: Dumitru Ceara <dceara@redhat.com>
Open vSwitch CI 44741c
a93e80
a93e80
* Fri May 15 2020 Dumitru Ceara <dceara@redhat.com> - 2.13.0-24
Open vSwitch CI 44741c
- raft: Avoid busy loop during leader election. [RH git: 053b78c8d6] (#1836305)
Open vSwitch CI 44741c
    [ upstream commit 3ae90e1899c5a05148ea1870d9bb4ac3c05e3a19 ]
Open vSwitch CI 44741c
    
Open vSwitch CI 44741c
    When a server doesn't see a leader yet, e.g. during leader re-election,
Open vSwitch CI 44741c
    if a transaction comes from a client, it will cause 100% CPU busy loop.
Open vSwitch CI 44741c
    With debug log enabled it is like:
Open vSwitch CI 44741c
    
Open vSwitch CI 44741c
    2020-02-28T04:04:35.631Z|00059|poll_loop|DBG|wakeup due to 0-ms timeout at ../ovsdb/trigger.c:164
Open vSwitch CI 44741c
    2020-02-28T04:04:35.631Z|00062|poll_loop|DBG|wakeup due to 0-ms timeout at ../ovsdb/trigger.c:164
Open vSwitch CI 44741c
    2020-02-28T04:04:35.631Z|00065|poll_loop|DBG|wakeup due to 0-ms timeout at ../ovsdb/trigger.c:164
Open vSwitch CI 44741c
    2020-02-28T04:04:35.631Z|00068|poll_loop|DBG|wakeup due to 0-ms timeout at ../ovsdb/trigger.c:164
Open vSwitch CI 44741c
    2020-02-28T04:04:35.631Z|00071|poll_loop|DBG|wakeup due to 0-ms timeout at ../ovsdb/trigger.c:164
Open vSwitch CI 44741c
    2020-02-28T04:04:35.631Z|00074|poll_loop|DBG|wakeup due to 0-ms timeout at ../ovsdb/trigger.c:164
Open vSwitch CI 44741c
    2020-02-28T04:04:35.631Z|00077|poll_loop|DBG|wakeup due to 0-ms timeout at ../ovsdb/trigger.c:164
Open vSwitch CI 44741c
    ...
Open vSwitch CI 44741c
    
Open vSwitch CI 44741c
    The problem is that in ovsdb_trigger_try(), all cluster errors are treated
Open vSwitch CI 44741c
    as temporary error and retry immediately. This patch fixes it by introducing
Open vSwitch CI 44741c
    'run_triggers_now', which tells if a retry is needed immediately. When the
Open vSwitch CI 44741c
    cluster error is with detail 'not leader', we don't immediately retry, but
Open vSwitch CI 44741c
    will wait for the next poll event to trigger the retry. When 'not leader'
Open vSwitch CI 44741c
    status changes, there must be a event, i.e. raft RPC that changes the
Open vSwitch CI 44741c
    status, so the trigger is guaranteed to be triggered, without busy loop.
Open vSwitch CI 44741c
    
Open vSwitch CI 44741c
    Signed-off-by: Han Zhou <hzhou@ovn.org>
Open vSwitch CI 44741c
    Signed-off-by: Ben Pfaff <blp@ovn.org>
Open vSwitch CI 44741c
    
Open vSwitch CI 44741c
    Resolves: #1836305
Open vSwitch CI 44741c
    Signed-off-by: Dumitru Ceara <dceara@redhat.com>
Open vSwitch CI 44741c
a93e80
a93e80
* Fri May 15 2020 Dumitru Ceara <dceara@redhat.com> - 2.13.0-23
Open vSwitch CI 44741c
- raft: Fix raft_is_connected() when there is no leader yet. [RH git: e732012d7b] (#1836305)
Open vSwitch CI 44741c
    [ upstream commit adc64ab057345f7004c44bf92363b9adda862134 ]
Open vSwitch CI 44741c
    
Open vSwitch CI 44741c
    If there is never a leader known by the current server, it's status
Open vSwitch CI 44741c
    should be "disconnected" to the cluster. Without this patch, when
Open vSwitch CI 44741c
    a server in cluster is restarted, before it successfully connecting
Open vSwitch CI 44741c
    back to the cluster it will appear as connected, which is wrong.
Open vSwitch CI 44741c
    
Open vSwitch CI 44741c
    Signed-off-by: Han Zhou <hzhou@ovn.org>
Open vSwitch CI 44741c
    Signed-off-by: Ben Pfaff <blp@ovn.org>
Open vSwitch CI 44741c
    
Open vSwitch CI 44741c
    Resolves: #1836305
Open vSwitch CI 44741c
    Signed-off-by: Dumitru Ceara <dceara@redhat.com>
Open vSwitch CI 44741c
a93e80
a93e80
* Fri May 15 2020 Dumitru Ceara <dceara@redhat.com> - 2.13.0-22
Open vSwitch CI 44741c
- ovsdb-server: Don't disconnect clients after raft install_snapshot. [RH git: 8ff30dfee6] (#1836305)
Open vSwitch CI 44741c
    [ upstream commit f0c8b44c5832c36989fad78927407fc14e64ce46 ]
Open vSwitch CI 44741c
    
Open vSwitch CI 44741c
    When "schema" field is found in read_db(), there can be two cases:
Open vSwitch CI 44741c
    1. There is a schema change in clustered DB and the "schema" is the new one.
Open vSwitch CI 44741c
    2. There is a install_snapshot RPC happened, which caused log compaction on the
Open vSwitch CI 44741c
    server and the next log is just the snapshot, which always constains "schema"
Open vSwitch CI 44741c
    field, even though the schema hasn't been changed.
Open vSwitch CI 44741c
    
Open vSwitch CI 44741c
    The current implementation doesn't handle case 2), and always assume the schema
Open vSwitch CI 44741c
    is changed hence disconnect all clients of the server. It can cause stability
Open vSwitch CI 44741c
    problem when there are big number of clients connected when this happens in
Open vSwitch CI 44741c
    a large scale environment.
Open vSwitch CI 44741c
    
Open vSwitch CI 44741c
    Signed-off-by: Han Zhou <hzhou@ovn.org>
Open vSwitch CI 44741c
    Signed-off-by: Ben Pfaff <blp@ovn.org>
Open vSwitch CI 44741c
    
Open vSwitch CI 44741c
    Resolves: #1836305
Open vSwitch CI 44741c
    Signed-off-by: Dumitru Ceara <dceara@redhat.com>
Open vSwitch CI 44741c
a93e80
a93e80
* Fri May 15 2020 Dumitru Ceara <dceara@redhat.com> - 2.13.0-21
Open vSwitch CI 44741c
- raft-rpc: Fix message format. [RH git: 914d885061] (#1836305)
Open vSwitch CI 44741c
    [ upstream commit 78c8011f58daec41ec97440f2e42795699322742 ]
Open vSwitch CI 44741c
    
Open vSwitch CI 44741c
    Signed-off-by: Han Zhou <hzhou@ovn.org>
Open vSwitch CI 44741c
    Signed-off-by: Ben Pfaff <blp@ovn.org>
Open vSwitch CI 44741c
    
Open vSwitch CI 44741c
    Resolves: #1836305
Open vSwitch CI 44741c
    Signed-off-by: Dumitru Ceara <dceara@redhat.com>
Open vSwitch CI 44741c
a93e80
a93e80
* Wed Apr 22 2020 Timothy Redaelli <tredaelli@redhat.com> - 2.13.0-20
Open vSwitch CI 44741c
- redhat: pkgtool: Use the oldest sha1 [RH git: 4c657a79de]
Open vSwitch CI 44741c
    Doing git merge from a branch to another branch the tag:C0FF3E commit is
Open vSwitch CI 44741c
    repeated, but the correct one is the oldest one.
Open vSwitch CI 44741c
a93e80
a93e80
* Mon Apr 20 2020 Timothy Redaelli <tredaelli@redhat.com> - 2.13.0-19
Open vSwitch CI 44741c
- Fix building locally on Fedora 32+ [RH git: d1c89e4d99]
Open vSwitch CI 44741c
a93e80
a93e80
* Thu Apr 16 2020 Timothy Redaelli <tredaelli@redhat.com> - 2.13.0-18
Open vSwitch CI 44741c
- Set -fcommon in DPDK CFLAGS [RH git: f8a379e95e]
Open vSwitch CI 44741c
    This is needed to build on Fedora 32+
Open vSwitch CI 44741c
a93e80
a93e80
* Thu Apr 16 2020 Timothy Redaelli <tredaelli@redhat.com> - 2.13.0-17
Open vSwitch CI 44741c
- Update DPDK config files for 19.11.1 [RH git: d771330907]
Open vSwitch CI 44741c
a93e80
a93e80
* Thu Apr 16 2020 Timothy Redaelli <tredaelli@redhat.com> - 2.13.0-16
Open vSwitch CI 44741c
- Merge tag 'v19.11.1' into fast-datapath-rhel-8 [RH git: 0b3abfb0e6]
Open vSwitch CI 44741c
    dpdk-19.11.1
Open vSwitch CI 44741c
a93e80
a93e80
* Tue Apr 14 2020 Timothy Redaelli <tredaelli@redhat.com> - 2.13.0-15
Open vSwitch CI 44741c
- bugtool: Fix for Python3. [RH git: 71f25b7920] (#1809241)
Open vSwitch CI 44741c
    Currently ovs-bugtool tool doesn't start on Python 3.
Open vSwitch CI 44741c
    This commit fixes ovs-bugtool to make it works on Python 3.
Open vSwitch CI 44741c
    
Open vSwitch CI 44741c
    Replaced StringIO.StringIO with io.BytesIO since the script is
Open vSwitch CI 44741c
    processing binary data.
Open vSwitch CI 44741c
    
Open vSwitch CI 44741c
    Reported-at: https://bugzilla.redhat.com/1809241
Open vSwitch CI 44741c
    Reported-by: Flavio Leitner <fbl@sysclose.org>
Open vSwitch CI 44741c
    Signed-off-by: Timothy Redaelli <tredaelli@redhat.com>
Open vSwitch CI 44741c
    Co-authored-by: William Tu <u9012063@gmail.com>
Open vSwitch CI 44741c
    Signed-off-by: William Tu <u9012063@gmail.com>
Open vSwitch CI 44741c
    (cherry picked from commit 9e6c00bca9af29031d0e160d33174b7ae99b9244)
Open vSwitch CI 44741c
a93e80
a93e80
* Tue Apr 07 2020 Flavio Leitner <fbl@redhat.com> - 2.13.0-14
Open vSwitch CI 44741c
- redhat: Skip NVR check only if building rhel-8 on rhel-7. [RH git: 2b9f32bef2]
Open vSwitch CI 44741c
a93e80
a93e80
* Mon Apr 06 2020 Flavio Leitner <fbl@redhat.com> - 2.13.0-13
Open vSwitch CI 44741c
- redhat: rh-dgit-brew: Skip NVR check in RHEL-7. [RH git: 6280d8d29f]
Open vSwitch CI 44741c
    The RPM in RHEL-7 can't parse Supplements tag in the SPEC to get
Open vSwitch CI 44741c
    the package NVR. The NVR is used to check if brew is already done.
Open vSwitch CI 44741c
    
Open vSwitch CI 44741c
    error: line 241: Unknown tag: Supplements: (openvswitch2.13 and network-scripts)
Open vSwitch CI 44741c
    error: query of specfile openvswitch2.13.spec failed, can't parse
Open vSwitch CI 44741c
    
Open vSwitch CI 44741c
    Use --skip-nvr-check to work around the issue.
Open vSwitch CI 44741c
a93e80
a93e80
* Mon Apr 06 2020 Flavio Leitner <fbl@redhat.com> - 2.13.0-12
Open vSwitch CI 44741c
- redhat: pkgtool: Use BZ id from reported-at tag. [RH git: 3ee7ec51b6]
Open vSwitch CI 44741c
    Some upstream commits might contain the Reported-at tag
Open vSwitch CI 44741c
    pointing to Red Hat bugzilla. In that case, use the BZ id
Open vSwitch CI 44741c
    in the package's changelog.
Open vSwitch CI 44741c
    
Open vSwitch CI 44741c
    Signed-off-by: Flavio Leitner <fbl@redhat.com>
Open vSwitch CI 44741c
a93e80
a93e80
* Fri Mar 27 2020 Flavio Leitner <fbl@redhat.com> - 2.13.0-11
Open vSwitch CI 44741c
- redhat: ovsci: Schedule the CI job while brew is building. [RH git: 1551e1e70e]
Open vSwitch CI 44741c
    The CI will wait for the brew build to complete and this helps
Open vSwitch CI 44741c
    to have a single place to monitor and also to record in the
Open vSwitch CI 44741c
    CI log the brew build.
Open vSwitch CI 44741c
a93e80
a93e80
* Tue Mar 24 2020 Flavio Leitner <fbl@redhat.com> - 2.13.0-10
Open vSwitch CI 44741c
- redhat: ovsci: Use the correct job name and params. [RH git: 220f32afb2]
Open vSwitch CI 44741c
    Jenkins needs to support different use-cases so fix the
Open vSwitch CI 44741c
    parameters to be uniform and the job name to allow multiple
Open vSwitch CI 44741c
    triggers (formal and non-formal releases processes).
Open vSwitch CI 44741c
    
Open vSwitch CI 44741c
    Signed-off-by: Flavio Leitner <fbl@redhat.com>
Open vSwitch CI 44741c
a93e80
a93e80
* Mon Mar 23 2020 Timothy Redaelli <tredaelli@redhat.com> - 2.13.0-9
Open vSwitch CI 44741c
- Add compatibility with RHEL7 git [RH git: 3492995783]
Open vSwitch CI 44741c
a93e80
a93e80
* Mon Mar 23 2020 Timothy Redaelli <tredaelli@redhat.com> - 2.13.0-8
Open vSwitch CI 44741c
- Use the date in UTC [RH git: b53bdb16b8]
Open vSwitch CI 44741c
    In order to avoid changing date in changelog cast the date in UTC
Open vSwitch CI 44741c
a93e80
a93e80
* Mon Mar 23 2020 Numan Siddique <nusiddiq@redhat.com> - 2.13.0-7
Open vSwitch CI 44741c
- ofproto-dpif-xlate: Fix recirculation when in_port is OFPP_CONTROLLER. [RH git: 4ee0f6af9e] (#1775160)
Open vSwitch CI 44741c
    [ upstream commit c5a910dd92ecbad24f86b4c59b4ff8105b5149fd ]
Open vSwitch CI 44741c
    
Open vSwitch CI 44741c
    Recirculation usually requires finding the pre-recirculation input port.
Open vSwitch CI 44741c
    Packets sent by the controller, with in_port of OFPP_CONTROLLER or
Open vSwitch CI 44741c
    OFPP_NONE, do not have a real input port data structure, only a port
Open vSwitch CI 44741c
    number.  The code in xlate_lookup_ofproto_() mishandled this case,
Open vSwitch CI 44741c
    failing to return the ofproto data structure.  This commit fixes the
Open vSwitch CI 44741c
    problem and adds a test to guard against regression.
Open vSwitch CI 44741c
    
Open vSwitch CI 44741c
    Reported-by: Numan Siddique <numans@ovn.org>
Open vSwitch CI 44741c
    Reported-at: https://mail.openvswitch.org/pipermail/ovs-dev/2020-March/368642.html
Open vSwitch CI 44741c
    Tested-by: Numan Siddique <numans@ovn.org>
Open vSwitch CI 44741c
    Acked-by: Numan Siddique <numans@ovn.org>
Open vSwitch CI 44741c
    Signed-off-by: Ben Pfaff <blp@ovn.org>
Open vSwitch CI 44741c
    
Open vSwitch CI 44741c
    Resolves: #1775160
Open vSwitch CI 44741c
    Signed-off-by: Numan Siddique <nusiddiq@redhat.com>
Open vSwitch CI 44741c
a93e80
a93e80
* Wed Mar 11 2020 Timothy Redaelli <tredaelli@redhat.com> - 2.13.0-6
Open vSwitch CI 44741c
- vhost: fix packed virtqueue ready condition [RH git: 0b4e7827b8] (#1812620)
Open vSwitch CI 44741c
    [ upstream commit c5a910dd92ecbad24f86b4c59b4ff8105b5149fd ]
Open vSwitch CI 44741c
    
Open vSwitch CI 44741c
    Consider a virtqueue ready when, apart from the descriptor area,
Open vSwitch CI 44741c
    both event suppression areas have been mapped.
Open vSwitch CI 44741c
    
Open vSwitch CI 44741c
    Fixes: 2d1541e2b6b3 ("vhost: add vring address setup for packed queues")
Open vSwitch CI 44741c
    
Open vSwitch CI 44741c
    Signed-off-by: Adrian Moreno <amorenoz@redhat.com>
Open vSwitch CI 44741c
    Reviewed-by: Tiwei Bie <tiwei.bie@intel.com>
Open vSwitch CI 44741c
    
Open vSwitch CI 44741c
    Resolves: #1812620
Open vSwitch CI 44741c
a93e80
a93e80
* Thu Feb 27 2020 Timothy Redaelli <tredaelli@redhat.com> - 2.13.0-5
Open vSwitch CI 44741c
- redhat: permit make to fail when pkgtool --gen{spec,patches} exist badly [RH git: 61807f941e]
Open vSwitch CI 44741c
a93e80
a93e80
* Tue Feb 25 2020 Timothy Redaelli <tredaelli@redhat.com> - 2.13.0-4
Open vSwitch CI 44741c
- vhost: protect log address translation in IOTLB update [RH git: 0d4370404f] (#1806599)
Open vSwitch CI 44741c
    [ upstream commit 4f37df14c405b754b5e971c75f4f67f4bb5bfdde ]
Open vSwitch CI 44741c
    
Open vSwitch CI 44741c
    Currently, the log address translation only  happens in the vhost-user's
Open vSwitch CI 44741c
    translate_ring_addresses(). However, the IOTLB update handler is not
Open vSwitch CI 44741c
    checking if it was mapped to re-trigger that translation.
Open vSwitch CI 44741c
    
Open vSwitch CI 44741c
    Since the log address mapping could fail, check it on iotlb updates.
Open vSwitch CI 44741c
    Also, check it on vring_translate() so we do not dirty pages if the
Open vSwitch CI 44741c
    logging address is not yet ready.
Open vSwitch CI 44741c
    
Open vSwitch CI 44741c
    Additionally, properly protect the accesses to the iotlb structures.
Open vSwitch CI 44741c
    
Open vSwitch CI 44741c
    Fixes: fbda9f145927 ("vhost: translate incoming log address to GPA")
Open vSwitch CI 44741c
    
Open vSwitch CI 44741c
    Signed-off-by: Adrian Moreno <amorenoz@redhat.com>
Open vSwitch CI 44741c
    Reviewed-by: Maxime Coquelin <maxime.coquelin@redhat.com>
Open vSwitch CI 44741c
    
Open vSwitch CI 44741c
    Resolves: #1806599
Open vSwitch CI 44741c
    Signed-off-by: Maxime Coquelin <maxime.coquelin@redhat.com>
Open vSwitch CI 44741c
a93e80