Open vSwitch CI fe1a04
# Copyright (C) 2009, 2010, 2013, 2014 Nicira Networks, Inc.
Open vSwitch CI fe1a04
#
Open vSwitch CI fe1a04
# Copying and distribution of this file, with or without modification,
Open vSwitch CI fe1a04
# are permitted in any medium without royalty provided the copyright
Open vSwitch CI fe1a04
# notice and this notice are preserved.  This file is offered as-is,
Open vSwitch CI fe1a04
# without warranty of any kind.
Open vSwitch CI fe1a04
#
Open vSwitch CI fe1a04
# If tests have to be skipped while building, specify the '--without check'
Open vSwitch CI fe1a04
# option. For example:
Open vSwitch CI fe1a04
# rpmbuild -bb --without check rhel/openvswitch-fedora.spec
Open vSwitch CI fe1a04
Open vSwitch CI fe1a04
# This defines the base package name's version.
Open vSwitch CI fe1a04
Open vSwitch CI fe1a04
%define pkgname openvswitch2.15
Open vSwitch CI fe1a04
Open vSwitch CI fe1a04
Open vSwitch CI fe1a04
%if 0%{?commit:1}
Open vSwitch CI fe1a04
%global shortcommit %(c=%{commit}; echo ${c:0:7})
Open vSwitch CI fe1a04
%endif
Open vSwitch CI fe1a04
Open vSwitch CI fe1a04
# Enable PIE, bz#955181
Open vSwitch CI fe1a04
%global _hardened_build 1
Open vSwitch CI fe1a04
Open vSwitch CI fe1a04
# RHEL-7 doesn't define _rundir macro yet
Open vSwitch CI fe1a04
# Fedora 15 onwards uses /run as _rundir
Open vSwitch CI fe1a04
%if 0%{!?_rundir:1}
Open vSwitch CI fe1a04
%define _rundir /run
Open vSwitch CI fe1a04
%endif
Open vSwitch CI fe1a04
Open vSwitch CI fe1a04
# FIXME Test "STP - flush the fdb and mdb when topology changed" fails on s390x
Open vSwitch CI fe1a04
# FIXME 2 tests fails on ppc64le. They will be hopefully fixed before official 2.11
Open vSwitch CI fe1a04
%ifarch %{ix86} x86_64 aarch64
Open vSwitch CI fe1a04
%bcond_without check
Open vSwitch CI fe1a04
%else
Open vSwitch CI fe1a04
%bcond_with check
Open vSwitch CI fe1a04
%endif
Open vSwitch CI fe1a04
# option to run kernel datapath tests, requires building as root!
Open vSwitch CI fe1a04
%bcond_with check_datapath_kernel
Open vSwitch CI fe1a04
# option to build with libcap-ng, needed for running OVS as regular user
Open vSwitch CI fe1a04
%bcond_without libcapng
Open vSwitch CI fe1a04
# option to build with ipsec support
Open vSwitch CI fe1a04
%bcond_without ipsec
Open vSwitch CI fe1a04
Open vSwitch CI fe1a04
# Build python2 (that provides python) and python3 subpackages on Fedora
Open vSwitch CI fe1a04
# Build only python3 (that provides python) subpackage on RHEL8
Open vSwitch CI fe1a04
# Build only python subpackage on RHEL7
Open vSwitch CI fe1a04
%if 0%{?rhel} > 7 || 0%{?fedora}
Open vSwitch CI fe1a04
# On RHEL8 Sphinx is included in buildroot
Open vSwitch CI fe1a04
%global external_sphinx 1
Open vSwitch CI fe1a04
%else
Open vSwitch CI fe1a04
# Don't use external sphinx (RHV doesn't have optional repositories enabled)
Open vSwitch CI fe1a04
%global external_sphinx 0
Open vSwitch CI fe1a04
%endif
Open vSwitch CI fe1a04
Open vSwitch CI fe1a04
Name: %{pkgname}
Open vSwitch CI fe1a04
Summary: Open vSwitch
Open vSwitch CI fe1a04
Group: System Environment/Daemons daemon/database/utilities
Open vSwitch CI fe1a04
URL: http://www.openvswitch.org/
Open vSwitch CI fe1a04
Version: 2.15.0
Open vSwitch CI efc416
Release: 100%{?dist}
Open vSwitch CI fe1a04
Open vSwitch CI fe1a04
# Nearly all of openvswitch is ASL 2.0.  The bugtool is LGPLv2+, and the
Open vSwitch CI fe1a04
# lib/sflow*.[ch] files are SISSL
Open vSwitch CI fe1a04
# datapath/ is GPLv2 (although not built into any of the binary packages)
Open vSwitch CI fe1a04
License: ASL 2.0 and LGPLv2+ and SISSL
Open vSwitch CI fe1a04
Open vSwitch CI fe1a04
%define dpdkver 20.11
Open vSwitch CI fe1a04
%define dpdkdir dpdk
Open vSwitch CI fe1a04
%define dpdksver %(echo %{dpdkver} | cut -d. -f-2)
Open vSwitch CI fe1a04
# NOTE: DPDK does not currently build for s390x
Open vSwitch CI fe1a04
# DPDK on aarch64 is not stable enough to be enabled in FDP
Open vSwitch CI fe1a04
%if 0%{?rhel} > 7 || 0%{?fedora}
Open vSwitch CI fe1a04
%define dpdkarches x86_64 ppc64le
Open vSwitch CI fe1a04
%else
Open vSwitch CI fe1a04
%define dpdkarches
Open vSwitch CI fe1a04
%endif
Open vSwitch CI fe1a04
Open vSwitch CI fe1a04
%if 0%{?commit:1}
Open vSwitch CI fe1a04
Source: https://github.com/openvswitch/ovs/archive/%{commit}.tar.gz#/openvswitch-%{commit}.tar.gz
Open vSwitch CI fe1a04
%else
Open vSwitch CI fe1a04
Source: https://github.com/openvswitch/ovs/archive/v%{version}.tar.gz#/openvswitch-%{version}.tar.gz
Open vSwitch CI fe1a04
%endif
Open vSwitch CI fe1a04
Source10: https://fast.dpdk.org/rel/dpdk-%{dpdkver}.tar.xz
Open vSwitch CI fe1a04
Open vSwitch CI fe1a04
%define docutilsver 0.12
Open vSwitch CI fe1a04
%define pygmentsver 1.4
Open vSwitch CI fe1a04
%define sphinxver   1.2.3
Open vSwitch CI fe1a04
Source100: https://pypi.io/packages/source/d/docutils/docutils-%{docutilsver}.tar.gz
Open vSwitch CI fe1a04
Source101: https://pypi.io/packages/source/P/Pygments/Pygments-%{pygmentsver}.tar.gz
Open vSwitch CI fe1a04
Source102: https://pypi.io/packages/source/S/Sphinx/Sphinx-%{sphinxver}.tar.gz
Open vSwitch CI fe1a04
Open vSwitch CI fe1a04
Patch:     openvswitch-%{version}.patch
Open vSwitch CI fe1a04
Open vSwitch CI fe1a04
# The DPDK is designed to optimize througput of network traffic using, among
Open vSwitch CI fe1a04
# other techniques, carefully crafted assembly instructions.  As such it
Open vSwitch CI fe1a04
# needs extensive work to port it to other architectures.
Open vSwitch CI fe1a04
ExclusiveArch: x86_64 aarch64 ppc64le s390x
Open vSwitch CI fe1a04
Open vSwitch CI fe1a04
# Do not enable this otherwise YUM will break on any upgrade.
Open vSwitch CI fe1a04
# Provides: openvswitch
Open vSwitch CI fe1a04
Conflicts: openvswitch < 2.15
Open vSwitch CI fe1a04
Conflicts: openvswitch-dpdk < 2.15
Open vSwitch CI fe1a04
Conflicts: openvswitch2.10
Open vSwitch CI fe1a04
Conflicts: openvswitch2.11
Open vSwitch CI fe1a04
Conflicts: openvswitch2.12
Open vSwitch CI fe1a04
Conflicts: openvswitch2.13
Open vSwitch CI fe1a04
Conflicts: openvswitch2.14
Open vSwitch CI fe1a04
Open vSwitch CI fe1a04
# FIXME Sphinx is used to generate some manpages, unfortunately, on RHEL, it's
Open vSwitch CI fe1a04
# in the -optional repository and so we can't require it directly since RHV
Open vSwitch CI fe1a04
# doesn't have the -optional repository enabled and so TPS fails
Open vSwitch CI fe1a04
%if %{external_sphinx}
Open vSwitch CI fe1a04
BuildRequires: python3-sphinx
Open vSwitch CI fe1a04
%else
Open vSwitch CI fe1a04
# Sphinx dependencies
Open vSwitch CI fe1a04
BuildRequires: python-devel
Open vSwitch CI fe1a04
BuildRequires: python-setuptools
Open vSwitch CI fe1a04
#BuildRequires: python2-docutils
Open vSwitch CI fe1a04
BuildRequires: python-jinja2
Open vSwitch CI fe1a04
BuildRequires: python-nose
Open vSwitch CI fe1a04
#BuildRequires: python2-pygments
Open vSwitch CI fe1a04
# docutils dependencies
Open vSwitch CI fe1a04
BuildRequires: python-imaging
Open vSwitch CI fe1a04
# pygments dependencies
Open vSwitch CI fe1a04
BuildRequires: python-nose
Open vSwitch CI fe1a04
%endif
Open vSwitch CI fe1a04
Open vSwitch CI fe1a04
BuildRequires: gcc gcc-c++ make
Open vSwitch CI fe1a04
BuildRequires: autoconf automake libtool
Open vSwitch CI fe1a04
BuildRequires: systemd-units openssl openssl-devel
Open vSwitch CI fe1a04
BuildRequires: python3-devel python3-setuptools
Open vSwitch CI fe1a04
BuildRequires: desktop-file-utils
Open vSwitch CI fe1a04
BuildRequires: groff-base graphviz
Open vSwitch CI fe1a04
BuildRequires: unbound-devel
Open vSwitch CI 3307ca
BuildRequires: systemtap-sdt-devel
Open vSwitch CI fe1a04
# make check dependencies
Open vSwitch CI fe1a04
BuildRequires: procps-ng
Open vSwitch CI fe1a04
%if 0%{?rhel} > 7 || 0%{?fedora}
Open vSwitch CI fe1a04
BuildRequires: python3-pyOpenSSL
Open vSwitch CI fe1a04
%endif
Open vSwitch CI fe1a04
%if %{with check_datapath_kernel}
Open vSwitch CI fe1a04
BuildRequires: nmap-ncat
Open vSwitch CI fe1a04
# would be useful but not available in RHEL or EPEL
Open vSwitch CI fe1a04
#BuildRequires: pyftpdlib
Open vSwitch CI fe1a04
%endif
Open vSwitch CI fe1a04
Open vSwitch CI fe1a04
%if %{with libcapng}
Open vSwitch CI fe1a04
BuildRequires: libcap-ng libcap-ng-devel
Open vSwitch CI fe1a04
%endif
Open vSwitch CI fe1a04
Open vSwitch CI fe1a04
%ifarch %{dpdkarches}
Open vSwitch CI fe1a04
BuildRequires: meson
Open vSwitch CI fe1a04
# DPDK driver dependencies
Open vSwitch CI fe1a04
BuildRequires: zlib-devel numactl-devel
Open vSwitch CI fe1a04
%ifarch x86_64
Open vSwitch CI fe1a04
BuildRequires: rdma-core-devel >= 15 libmnl-devel
Open vSwitch CI fe1a04
%endif
Open vSwitch CI fe1a04
Open vSwitch CI fe1a04
# Required by packaging policy for the bundled DPDK
Open vSwitch CI fe1a04
Provides: bundled(dpdk) = %{dpdkver}
Open vSwitch CI fe1a04
%endif
Open vSwitch CI fe1a04
Open vSwitch CI fe1a04
Requires: openssl iproute module-init-tools
Open vSwitch CI fe1a04
#Upstream kernel commit 4f647e0a3c37b8d5086214128614a136064110c3
Open vSwitch CI fe1a04
#Requires: kernel >= 3.15.0-0
Open vSwitch CI fe1a04
Requires: openvswitch-selinux-extra-policy
Open vSwitch CI fe1a04
Open vSwitch CI fe1a04
Requires(pre): shadow-utils
Open vSwitch CI fe1a04
Requires(post): /bin/sed
Open vSwitch CI fe1a04
Requires(post): /usr/sbin/usermod
Open vSwitch CI fe1a04
Requires(post): /usr/sbin/groupadd
Open vSwitch CI fe1a04
Requires(post): systemd-units
Open vSwitch CI fe1a04
Requires(preun): systemd-units
Open vSwitch CI fe1a04
Requires(postun): systemd-units
Open vSwitch CI fe1a04
Obsoletes: openvswitch-controller <= 0:2.1.0-1
Open vSwitch CI fe1a04
Open vSwitch CI fe1a04
%description
Open vSwitch CI fe1a04
Open vSwitch provides standard network bridging functions and
Open vSwitch CI fe1a04
support for the OpenFlow protocol for remote per-flow control of
Open vSwitch CI fe1a04
traffic.
Open vSwitch CI fe1a04
Open vSwitch CI fe1a04
%package -n python3-%{pkgname}
Open vSwitch CI fe1a04
Summary: Open vSwitch python3 bindings
Open vSwitch CI fe1a04
License: ASL 2.0
Open vSwitch CI fe1a04
Requires: %{pkgname} = %{?epoch:%{epoch}:}%{version}-%{release}
Open vSwitch CI fe1a04
Provides: python-%{pkgname} = %{?epoch:%{epoch}:}%{version}-%{release}
Open vSwitch CI fe1a04
Open vSwitch CI fe1a04
%description -n python3-%{pkgname}
Open vSwitch CI fe1a04
Python bindings for the Open vSwitch database
Open vSwitch CI fe1a04
Open vSwitch CI fe1a04
%package test
Open vSwitch CI fe1a04
Summary: Open vSwitch testing utilities
Open vSwitch CI fe1a04
License: ASL 2.0
Open vSwitch CI fe1a04
BuildArch: noarch
Open vSwitch CI fe1a04
Requires: python3-%{pkgname} = %{?epoch:%{epoch}:}%{version}-%{release}
Open vSwitch CI fe1a04
Requires: tcpdump
Open vSwitch CI fe1a04
Open vSwitch CI fe1a04
%description test
Open vSwitch CI fe1a04
Utilities that are useful to diagnose performance and connectivity
Open vSwitch CI fe1a04
issues in Open vSwitch setup.
Open vSwitch CI fe1a04
Open vSwitch CI fe1a04
%package devel
Open vSwitch CI fe1a04
Summary: Open vSwitch OpenFlow development package (library, headers)
Open vSwitch CI fe1a04
License: ASL 2.0
Open vSwitch CI fe1a04
Requires: %{pkgname} = %{?epoch:%{epoch}:}%{version}-%{release}
Open vSwitch CI fe1a04
Open vSwitch CI fe1a04
%description devel
Open vSwitch CI fe1a04
This provides shared library, libopenswitch.so and the openvswitch header
Open vSwitch CI fe1a04
files needed to build an external application.
Open vSwitch CI fe1a04
Open vSwitch CI fe1a04
%if 0%{?rhel} > 7 || 0%{?fedora} > 28
Open vSwitch CI fe1a04
%package -n network-scripts-%{name}
Open vSwitch CI fe1a04
Summary: Open vSwitch legacy network service support
Open vSwitch CI fe1a04
License: ASL 2.0
Open vSwitch CI fe1a04
Requires: network-scripts
Open vSwitch CI fe1a04
Supplements: (%{name} and network-scripts)
Open vSwitch CI fe1a04
Open vSwitch CI fe1a04
%description -n network-scripts-%{name}
Open vSwitch CI fe1a04
This provides the ifup and ifdown scripts for use with the legacy network
Open vSwitch CI fe1a04
service.
Open vSwitch CI fe1a04
%endif
Open vSwitch CI fe1a04
Open vSwitch CI fe1a04
%if %{with ipsec}
Open vSwitch CI fe1a04
%package ipsec
Open vSwitch CI fe1a04
Summary: Open vSwitch IPsec tunneling support
Open vSwitch CI fe1a04
License: ASL 2.0
Open vSwitch CI fe1a04
Requires: python3-%{pkgname} = %{?epoch:%{epoch}:}%{version}-%{release}
Open vSwitch CI fe1a04
Requires: libreswan
Open vSwitch CI fe1a04
Open vSwitch CI fe1a04
%description ipsec
Open vSwitch CI fe1a04
This package provides IPsec tunneling support for OVS tunnels.
Open vSwitch CI fe1a04
%endif
Open vSwitch CI fe1a04
Open vSwitch CI fe1a04
%prep
Open vSwitch CI fe1a04
%if 0%{?commit:1}
Open vSwitch CI fe1a04
%setup -q -n ovs-%{commit} -a 10
Open vSwitch CI fe1a04
%else
Open vSwitch CI fe1a04
%setup -q -n ovs-%{version} -a 10
Open vSwitch CI fe1a04
%endif
Open vSwitch CI fe1a04
%if ! %{external_sphinx}
Open vSwitch CI fe1a04
%if 0%{?commit:1}
Open vSwitch CI fe1a04
%setup -n ovs-%{commit} -q -D -T -a 100 -a 101 -a 102
Open vSwitch CI fe1a04
%else
Open vSwitch CI fe1a04
%setup -n ovs-%{version} -q -D -T -a 100 -a 101 -a 102
Open vSwitch CI fe1a04
%endif
Open vSwitch CI fe1a04
%endif
Open vSwitch CI fe1a04
Open vSwitch CI fe1a04
mv dpdk-*/ %{dpdkdir}/
Open vSwitch CI fe1a04
Open vSwitch CI fe1a04
# FIXME should we propose a way to do that upstream?
Open vSwitch CI fe1a04
sed -ri "/^subdir\('(usertools|app)'\)/d" %{dpdkdir}/meson.build
Open vSwitch CI fe1a04
Open vSwitch CI fe1a04
%patch -p1
Open vSwitch CI fe1a04
Open vSwitch CI fe1a04
%build
Open vSwitch CI fe1a04
# Build Sphinx on RHEL
Open vSwitch CI fe1a04
%if ! %{external_sphinx}
Open vSwitch CI fe1a04
export PYTHONPATH="${PYTHONPATH:+$PYTHONPATH:}%{_builddir}/pytmp/lib/python"
Open vSwitch CI fe1a04
for x in docutils-%{docutilsver} Pygments-%{pygmentsver} Sphinx-%{sphinxver}; do
Open vSwitch CI fe1a04
    pushd "$x"
Open vSwitch CI fe1a04
    python2 setup.py install --home %{_builddir}/pytmp
Open vSwitch CI fe1a04
    popd
Open vSwitch CI fe1a04
done
Open vSwitch CI fe1a04
Open vSwitch CI fe1a04
export PATH="$PATH:%{_builddir}/pytmp/bin"
Open vSwitch CI fe1a04
%endif
Open vSwitch CI fe1a04
Open vSwitch CI fe1a04
./boot.sh
Open vSwitch CI fe1a04
Open vSwitch CI fe1a04
%ifarch %{dpdkarches}    # build dpdk
Open vSwitch CI fe1a04
# Lets build DPDK first
Open vSwitch CI fe1a04
cd %{dpdkdir}
Open vSwitch CI fe1a04
Open vSwitch CI fe1a04
ENABLED_DRIVERS=(
Open vSwitch CI fe1a04
    bus/pci
Open vSwitch CI fe1a04
    bus/vdev
Open vSwitch CI fe1a04
    mempool/ring
Open vSwitch CI fe1a04
    net/failsafe
Open vSwitch CI fe1a04
    net/i40e
Open vSwitch CI fe1a04
    net/ring
Open vSwitch CI fe1a04
    net/vhost
Open vSwitch CI fe1a04
    net/virtio
Open vSwitch CI fe1a04
    net/tap
Open vSwitch CI fe1a04
)
Open vSwitch CI fe1a04
Open vSwitch CI fe1a04
%ifarch x86_64
Open vSwitch CI fe1a04
ENABLED_DRIVERS+=(
Open vSwitch CI fe1a04
    bus/vmbus
Open vSwitch CI fe1a04
    common/iavf
Open vSwitch CI fe1a04
    common/mlx5
Open vSwitch CI fe1a04
    net/bnxt
Open vSwitch CI fe1a04
    net/enic
Open vSwitch CI fe1a04
    net/iavf
Open vSwitch CI fe1a04
    net/ice
Open vSwitch CI fe1a04
    net/mlx4
Open vSwitch CI fe1a04
    net/mlx5
Open vSwitch CI fe1a04
    net/netvsc
Open vSwitch CI fe1a04
    net/nfp
Open vSwitch CI fe1a04
    net/qede
Open vSwitch CI fe1a04
    net/vdev_netvsc
Open vSwitch CI fe1a04
)
Open vSwitch CI fe1a04
%endif
Open vSwitch CI fe1a04
Open vSwitch CI fe1a04
%ifarch aarch64 x86_64
Open vSwitch CI fe1a04
ENABLED_DRIVERS+=(
Open vSwitch CI fe1a04
    net/e1000
Open vSwitch CI fe1a04
    net/ixgbe
Open vSwitch CI fe1a04
)
Open vSwitch CI fe1a04
%endif
Open vSwitch CI fe1a04
Open vSwitch CI fe1a04
# Since upstream doesn't have a way
Open vSwitch CI fe1a04
for driver in drivers/*/*/; do
Open vSwitch CI fe1a04
    driver=${driver#drivers/}
Open vSwitch CI fe1a04
    driver=${driver%/}
Open vSwitch CI fe1a04
    [[ " ${ENABLED_DRIVERS[@]} " == *" $driver "* ]] || \
Open vSwitch CI fe1a04
        disable_drivers="${disable_drivers:+$disable_drivers,}"$driver
Open vSwitch CI fe1a04
done
Open vSwitch CI fe1a04
Open vSwitch CI fe1a04
#CFLAGS="$(echo %{optflags} | sed -e 's:-Wall::g' -e 's:-march=[[:alnum:]]* ::g') -Wformat -fPIC %{_hardening_ldflags}" \
Open vSwitch CI fe1a04
%set_build_flags
Open vSwitch CI fe1a04
%__meson --prefix=%{_builddir}/dpdk-build \
Open vSwitch CI fe1a04
         --buildtype=plain \
Open vSwitch CI fe1a04
         -Ddisable_drivers="$disable_drivers" \
Open vSwitch CI fe1a04
         -Dmachine=default \
Open vSwitch CI d04e6d
         -Dmax_ethports=1024 \
Open vSwitch CI fe1a04
         -Dmax_numa_nodes=8 \
Open vSwitch CI fe1a04
         -Dtests=false \
Open vSwitch CI fe1a04
         %{_vpath_builddir}
Open vSwitch CI fe1a04
%meson_build
Open vSwitch CI fe1a04
%__meson install -C %{_vpath_builddir} --no-rebuild
Open vSwitch CI fe1a04
Open vSwitch CI fe1a04
# FIXME currently with LTO enabled OVS tries to link with both static and shared libraries
Open vSwitch CI fe1a04
rm -v %{_builddir}/dpdk-build/%{_lib}/*.so*
Open vSwitch CI fe1a04
Open vSwitch CI fe1a04
# Generate a list of supported drivers, its hard to tell otherwise.
Open vSwitch CI fe1a04
cat << EOF > README.DPDK-PMDS
Open vSwitch CI fe1a04
DPDK drivers included in this package:
Open vSwitch CI fe1a04
Open vSwitch CI fe1a04
EOF
Open vSwitch CI fe1a04
Open vSwitch CI fe1a04
for f in %{_builddir}/dpdk-build/%{_lib}/librte_net_*.a; do
Open vSwitch CI fe1a04
    basename ${f} | cut -c12- | cut -d. -f1 | tr [:lower:] [:upper:]
Open vSwitch CI fe1a04
done >> README.DPDK-PMDS
Open vSwitch CI fe1a04
Open vSwitch CI fe1a04
cat << EOF >> README.DPDK-PMDS
Open vSwitch CI fe1a04
Open vSwitch CI fe1a04
For further information about the drivers, see
Open vSwitch CI fe1a04
http://dpdk.org/doc/guides-%{dpdksver}/nics/index.html
Open vSwitch CI fe1a04
EOF
Open vSwitch CI fe1a04
Open vSwitch CI fe1a04
cd -
Open vSwitch CI fe1a04
%endif    # build dpdk
Open vSwitch CI fe1a04
Open vSwitch CI fe1a04
# And now for OVS...
Open vSwitch CI fe1a04
mkdir build-shared build-static
Open vSwitch CI fe1a04
pushd build-shared
Open vSwitch CI fe1a04
ln -s ../configure
Open vSwitch CI fe1a04
%configure \
Open vSwitch CI fe1a04
%if %{with libcapng}
Open vSwitch CI fe1a04
        --enable-libcapng \
Open vSwitch CI fe1a04
%else
Open vSwitch CI fe1a04
        --disable-libcapng \
Open vSwitch CI fe1a04
%endif
Open vSwitch CI fe1a04
        --disable-static \
Open vSwitch CI fe1a04
        --enable-shared \
Open vSwitch CI fe1a04
        --enable-ssl \
Open vSwitch CI 3307ca
        --with-pkidir=%{_sharedstatedir}/openvswitch/pki \
Open vSwitch CI 3307ca
        --enable-usdt-probes
Open vSwitch CI fe1a04
make %{?_smp_mflags}
Open vSwitch CI fe1a04
popd
Open vSwitch CI fe1a04
pushd build-static
Open vSwitch CI fe1a04
ln -s ../configure
Open vSwitch CI fe1a04
%ifarch %{dpdkarches}
Open vSwitch CI fe1a04
PKG_CONFIG_PATH=%{_builddir}/dpdk-build/%{_lib}/pkgconfig \
Open vSwitch CI fe1a04
%endif
Open vSwitch CI fe1a04
%configure \
Open vSwitch CI fe1a04
%if %{with libcapng}
Open vSwitch CI fe1a04
        --enable-libcapng \
Open vSwitch CI fe1a04
%else
Open vSwitch CI fe1a04
        --disable-libcapng \
Open vSwitch CI fe1a04
%endif
Open vSwitch CI fe1a04
        --enable-ssl \
Open vSwitch CI fe1a04
%ifarch %{dpdkarches}
Open vSwitch CI fe1a04
        --with-dpdk=static \
Open vSwitch CI fe1a04
%endif
Open vSwitch CI 3307ca
        --with-pkidir=%{_sharedstatedir}/openvswitch/pki \
Open vSwitch CI 3307ca
        --enable-usdt-probes
Open vSwitch CI fe1a04
make %{?_smp_mflags}
Open vSwitch CI fe1a04
popd
Open vSwitch CI fe1a04
Open vSwitch CI fe1a04
/usr/bin/python3 build-aux/dpdkstrip.py \
Open vSwitch CI fe1a04
        --dpdk \
Open vSwitch CI fe1a04
        < rhel/usr_lib_systemd_system_ovs-vswitchd.service.in \
Open vSwitch CI fe1a04
        > rhel/usr_lib_systemd_system_ovs-vswitchd.service
Open vSwitch CI fe1a04
Open vSwitch CI fe1a04
%install
Open vSwitch CI fe1a04
rm -rf $RPM_BUILD_ROOT
Open vSwitch CI fe1a04
make -C build-shared install-libLTLIBRARIES DESTDIR=$RPM_BUILD_ROOT
Open vSwitch CI fe1a04
make -C build-static install DESTDIR=$RPM_BUILD_ROOT
Open vSwitch CI fe1a04
Open vSwitch CI fe1a04
install -d -m 0755 $RPM_BUILD_ROOT%{_rundir}/openvswitch
Open vSwitch CI fe1a04
install -d -m 0750 $RPM_BUILD_ROOT%{_localstatedir}/log/openvswitch
Open vSwitch CI fe1a04
install -d -m 0755 $RPM_BUILD_ROOT%{_sysconfdir}/openvswitch
Open vSwitch CI fe1a04
Open vSwitch CI fe1a04
install -p -D -m 0644 rhel/usr_lib_udev_rules.d_91-vfio.rules \
Open vSwitch CI fe1a04
        $RPM_BUILD_ROOT%{_udevrulesdir}/91-vfio.rules
Open vSwitch CI fe1a04
Open vSwitch CI fe1a04
install -p -D -m 0644 \
Open vSwitch CI fe1a04
        rhel/usr_share_openvswitch_scripts_systemd_sysconfig.template \
Open vSwitch CI fe1a04
        $RPM_BUILD_ROOT/%{_sysconfdir}/sysconfig/openvswitch
Open vSwitch CI fe1a04
Open vSwitch CI fe1a04
for service in openvswitch ovsdb-server ovs-vswitchd \
Open vSwitch CI fe1a04
               ovs-delete-transient-ports; do
Open vSwitch CI fe1a04
        install -p -D -m 0644 \
Open vSwitch CI fe1a04
                        rhel/usr_lib_systemd_system_${service}.service \
Open vSwitch CI fe1a04
                        $RPM_BUILD_ROOT%{_unitdir}/${service}.service
Open vSwitch CI fe1a04
done
Open vSwitch CI fe1a04
Open vSwitch CI fe1a04
%if %{with ipsec}
Open vSwitch CI fe1a04
install -p -D -m 0644 rhel/usr_lib_systemd_system_openvswitch-ipsec.service \
Open vSwitch CI fe1a04
                      $RPM_BUILD_ROOT%{_unitdir}/openvswitch-ipsec.service
Open vSwitch CI fe1a04
%endif
Open vSwitch CI fe1a04
Open vSwitch CI fe1a04
install -m 0755 rhel/etc_init.d_openvswitch \
Open vSwitch CI fe1a04
        $RPM_BUILD_ROOT%{_datadir}/openvswitch/scripts/openvswitch.init
Open vSwitch CI fe1a04
Open vSwitch CI fe1a04
install -p -D -m 0644 rhel/etc_openvswitch_default.conf \
Open vSwitch CI fe1a04
        $RPM_BUILD_ROOT/%{_sysconfdir}/openvswitch/default.conf
Open vSwitch CI fe1a04
Open vSwitch CI fe1a04
install -p -D -m 0644 rhel/etc_logrotate.d_openvswitch \
Open vSwitch CI fe1a04
        $RPM_BUILD_ROOT/%{_sysconfdir}/logrotate.d/openvswitch
Open vSwitch CI fe1a04
Open vSwitch CI fe1a04
install -m 0644 vswitchd/vswitch.ovsschema \
Open vSwitch CI fe1a04
        $RPM_BUILD_ROOT/%{_datadir}/openvswitch/vswitch.ovsschema
Open vSwitch CI fe1a04
Open vSwitch CI fe1a04
install -d -m 0755 $RPM_BUILD_ROOT/%{_sysconfdir}/sysconfig/network-scripts/
Open vSwitch CI fe1a04
install -p -m 0755 rhel/etc_sysconfig_network-scripts_ifdown-ovs \
Open vSwitch CI fe1a04
        $RPM_BUILD_ROOT/%{_sysconfdir}/sysconfig/network-scripts/ifdown-ovs
Open vSwitch CI fe1a04
install -p -m 0755 rhel/etc_sysconfig_network-scripts_ifup-ovs \
Open vSwitch CI fe1a04
        $RPM_BUILD_ROOT/%{_sysconfdir}/sysconfig/network-scripts/ifup-ovs
Open vSwitch CI fe1a04
Open vSwitch CI fe1a04
install -d -m 0755 $RPM_BUILD_ROOT%{python3_sitelib}
Open vSwitch CI fe1a04
cp -a $RPM_BUILD_ROOT/%{_datadir}/openvswitch/python/ovstest \
Open vSwitch CI fe1a04
        $RPM_BUILD_ROOT%{python3_sitelib}
Open vSwitch CI fe1a04
Open vSwitch CI fe1a04
# Build the JSON C extension for the Python lib (#1417738)
Open vSwitch CI fe1a04
pushd python
Open vSwitch CI fe1a04
(
Open vSwitch CI fe1a04
export CPPFLAGS="-I ../include -I ../build-shared/include"
Open vSwitch CI fe1a04
export LDFLAGS="%{__global_ldflags} -L $RPM_BUILD_ROOT%{_libdir}"
Open vSwitch CI fe1a04
%py3_build
Open vSwitch CI fe1a04
%py3_install
Open vSwitch CI fe1a04
[ -f "$RPM_BUILD_ROOT/%{python3_sitearch}/ovs/_json$(python3-config --extension-suffix)" ]
Open vSwitch CI fe1a04
)
Open vSwitch CI fe1a04
popd
Open vSwitch CI fe1a04
Open vSwitch CI fe1a04
rm -rf $RPM_BUILD_ROOT/%{_datadir}/openvswitch/python/
Open vSwitch CI fe1a04
Open vSwitch CI fe1a04
install -d -m 0755 $RPM_BUILD_ROOT/%{_sharedstatedir}/openvswitch
Open vSwitch CI fe1a04
Open vSwitch CI fe1a04
install -d -m 0755 $RPM_BUILD_ROOT%{_prefix}/lib/firewalld/services/
Open vSwitch CI fe1a04
Open vSwitch CI fe1a04
install -p -D -m 0755 \
Open vSwitch CI fe1a04
        rhel/usr_share_openvswitch_scripts_ovs-systemd-reload \
Open vSwitch CI fe1a04
        $RPM_BUILD_ROOT%{_datadir}/openvswitch/scripts/ovs-systemd-reload
Open vSwitch CI fe1a04
Open vSwitch CI fe1a04
touch $RPM_BUILD_ROOT%{_sysconfdir}/openvswitch/conf.db
Open vSwitch CI fe1a04
# The db needs special permission as IPsec Pre-shared keys are stored in it.
Open vSwitch CI fe1a04
chmod 0640 $RPM_BUILD_ROOT%{_sysconfdir}/openvswitch/conf.db
Open vSwitch CI fe1a04
Open vSwitch CI fe1a04
touch $RPM_BUILD_ROOT%{_sysconfdir}/openvswitch/system-id.conf
Open vSwitch CI fe1a04
Open vSwitch CI fe1a04
# remove unpackaged files
Open vSwitch CI fe1a04
rm -f $RPM_BUILD_ROOT/%{_bindir}/ovs-benchmark \
Open vSwitch CI fe1a04
        $RPM_BUILD_ROOT/%{_bindir}/ovs-docker \
Open vSwitch CI fe1a04
        $RPM_BUILD_ROOT/%{_bindir}/ovs-parse-backtrace \
Open vSwitch CI fe1a04
        $RPM_BUILD_ROOT/%{_bindir}/ovs-testcontroller \
Open vSwitch CI fe1a04
        $RPM_BUILD_ROOT/%{_sbindir}/ovs-vlan-bug-workaround \
Open vSwitch CI fe1a04
        $RPM_BUILD_ROOT/%{_mandir}/man1/ovs-benchmark.1* \
Open vSwitch CI fe1a04
        $RPM_BUILD_ROOT/%{_mandir}/man8/ovs-testcontroller.* \
Open vSwitch CI fe1a04
        $RPM_BUILD_ROOT/%{_mandir}/man8/ovs-vlan-bug-workaround.8*
Open vSwitch CI fe1a04
Open vSwitch CI fe1a04
%if ! %{with ipsec}
Open vSwitch CI fe1a04
rm -f $RPM_BUILD_ROOT/%{_datadir}/openvswitch/scripts/ovs-monitor-ipsec
Open vSwitch CI fe1a04
%endif
Open vSwitch CI fe1a04
Open vSwitch CI fe1a04
# remove ovn unpackages files
Open vSwitch CI fe1a04
rm -f $RPM_BUILD_ROOT%{_bindir}/ovn*
Open vSwitch CI fe1a04
rm -f $RPM_BUILD_ROOT%{_mandir}/man1/ovn*
Open vSwitch CI fe1a04
rm -f $RPM_BUILD_ROOT%{_mandir}/man5/ovn*
Open vSwitch CI fe1a04
rm -f $RPM_BUILD_ROOT%{_mandir}/man7/ovn*
Open vSwitch CI fe1a04
rm -f $RPM_BUILD_ROOT%{_mandir}/man8/ovn*
Open vSwitch CI fe1a04
rm -f $RPM_BUILD_ROOT%{_datadir}/openvswitch/ovn*
Open vSwitch CI fe1a04
rm -f $RPM_BUILD_ROOT%{_datadir}/openvswitch/scripts/ovn*
Open vSwitch CI fe1a04
rm -f $RPM_BUILD_ROOT%{_includedir}/ovn/*
Open vSwitch CI fe1a04
Open vSwitch CI fe1a04
%check
Open vSwitch CI fe1a04
%if %{with check}
Open vSwitch CI fe1a04
    pushd build-static
Open vSwitch CI fe1a04
    touch resolv.conf
Open vSwitch CI fe1a04
    export OVS_RESOLV_CONF=$(pwd)/resolv.conf
Open vSwitch CI fe1a04
    if make check TESTSUITEFLAGS='%{_smp_mflags}' ||
Open vSwitch CI fe1a04
       make check TESTSUITEFLAGS='--recheck'; then :;
Open vSwitch CI fe1a04
    else
Open vSwitch CI fe1a04
        cat tests/testsuite.log
Open vSwitch CI fe1a04
        exit 1
Open vSwitch CI fe1a04
    fi
Open vSwitch CI fe1a04
    popd
Open vSwitch CI fe1a04
%endif
Open vSwitch CI fe1a04
%if %{with check_datapath_kernel}
Open vSwitch CI fe1a04
    pushd build-static
Open vSwitch CI fe1a04
    if make check-kernel RECHECK=yes; then :;
Open vSwitch CI fe1a04
    else
Open vSwitch CI fe1a04
        cat tests/system-kmod-testsuite.log
Open vSwitch CI fe1a04
        exit 1
Open vSwitch CI fe1a04
    fi
Open vSwitch CI fe1a04
    popd
Open vSwitch CI fe1a04
%endif
Open vSwitch CI fe1a04
Open vSwitch CI fe1a04
%clean
Open vSwitch CI fe1a04
rm -rf $RPM_BUILD_ROOT
Open vSwitch CI fe1a04
Open vSwitch CI fe1a04
%preun
Open vSwitch CI fe1a04
%if 0%{?systemd_preun:1}
Open vSwitch CI fe1a04
    %systemd_preun openvswitch.service
Open vSwitch CI fe1a04
%else
Open vSwitch CI fe1a04
    if [ $1 -eq 0 ] ; then
Open vSwitch CI fe1a04
    # Package removal, not upgrade
Open vSwitch CI fe1a04
        /bin/systemctl --no-reload disable openvswitch.service >/dev/null 2>&1 || :
Open vSwitch CI fe1a04
        /bin/systemctl stop openvswitch.service >/dev/null 2>&1 || :
Open vSwitch CI fe1a04
    fi
Open vSwitch CI fe1a04
%endif
Open vSwitch CI fe1a04
Open vSwitch CI fe1a04
%pre
Open vSwitch CI fe1a04
getent group openvswitch >/dev/null || groupadd -r openvswitch
Open vSwitch CI fe1a04
getent passwd openvswitch >/dev/null || \
Open vSwitch CI fe1a04
    useradd -r -g openvswitch -d / -s /sbin/nologin \
Open vSwitch CI fe1a04
    -c "Open vSwitch Daemons" openvswitch
Open vSwitch CI fe1a04
Open vSwitch CI fe1a04
%ifarch %{dpdkarches}
Open vSwitch CI fe1a04
    getent group hugetlbfs >/dev/null || groupadd hugetlbfs
Open vSwitch CI fe1a04
    usermod -a -G hugetlbfs openvswitch
Open vSwitch CI fe1a04
%endif
Open vSwitch CI fe1a04
exit 0
Open vSwitch CI fe1a04
Open vSwitch CI fe1a04
%post
Open vSwitch CI fe1a04
if [ $1 -eq 1 ]; then
Open vSwitch CI fe1a04
    sed -i 's:^#OVS_USER_ID=:OVS_USER_ID=:' /etc/sysconfig/openvswitch
Open vSwitch CI fe1a04
Open vSwitch CI fe1a04
%ifarch %{dpdkarches}
Open vSwitch CI fe1a04
    sed -i \
Open vSwitch CI fe1a04
        's@OVS_USER_ID="openvswitch:openvswitch"@OVS_USER_ID="openvswitch:hugetlbfs"@'\
Open vSwitch CI fe1a04
        /etc/sysconfig/openvswitch
Open vSwitch CI fe1a04
%endif
Open vSwitch CI fe1a04
fi
Open vSwitch CI fe1a04
chown -R openvswitch:openvswitch /etc/openvswitch
Open vSwitch CI fe1a04
Open vSwitch CI fe1a04
%if 0%{?systemd_post:1}
Open vSwitch CI fe1a04
    %systemd_post openvswitch.service
Open vSwitch CI fe1a04
%else
Open vSwitch CI fe1a04
    # Package install, not upgrade
Open vSwitch CI fe1a04
    if [ $1 -eq 1 ]; then
Open vSwitch CI fe1a04
        /bin/systemctl daemon-reload >dev/null || :
Open vSwitch CI fe1a04
    fi
Open vSwitch CI fe1a04
%endif
Open vSwitch CI fe1a04
Open vSwitch CI fe1a04
%postun
Open vSwitch CI fe1a04
%if 0%{?systemd_postun:1}
Open vSwitch CI fe1a04
    %systemd_postun openvswitch.service
Open vSwitch CI fe1a04
%else
Open vSwitch CI fe1a04
    /bin/systemctl daemon-reload >/dev/null 2>&1 || :
Open vSwitch CI fe1a04
%endif
Open vSwitch CI fe1a04
Open vSwitch CI fe1a04
%triggerun -- openvswitch < 2.5.0-22.git20160727%{?dist}
Open vSwitch CI fe1a04
# old rpm versions restart the service in postun, but
Open vSwitch CI fe1a04
# due to systemd some preparation is needed.
Open vSwitch CI fe1a04
if systemctl is-active openvswitch >/dev/null 2>&1 ; then
Open vSwitch CI fe1a04
    /usr/share/openvswitch/scripts/ovs-ctl stop >/dev/null 2>&1 || :
Open vSwitch CI fe1a04
    systemctl daemon-reload >/dev/null 2>&1 || :
Open vSwitch CI fe1a04
    systemctl stop openvswitch ovsdb-server ovs-vswitchd >/dev/null 2>&1 || :
Open vSwitch CI fe1a04
    systemctl start openvswitch >/dev/null 2>&1 || :
Open vSwitch CI fe1a04
fi
Open vSwitch CI fe1a04
exit 0
Open vSwitch CI fe1a04
Open vSwitch CI fe1a04
%files -n python3-%{pkgname}
Open vSwitch CI fe1a04
%{python3_sitearch}/ovs
Open vSwitch CI fe1a04
%{python3_sitearch}/ovs-*.egg-info
Open vSwitch CI fe1a04
%doc LICENSE
Open vSwitch CI fe1a04
Open vSwitch CI fe1a04
%files test
Open vSwitch CI fe1a04
%{_bindir}/ovs-pcap
Open vSwitch CI fe1a04
%{_bindir}/ovs-tcpdump
Open vSwitch CI fe1a04
%{_bindir}/ovs-tcpundump
Open vSwitch CI fe1a04
%{_mandir}/man1/ovs-pcap.1*
Open vSwitch CI fe1a04
%{_mandir}/man8/ovs-tcpdump.8*
Open vSwitch CI fe1a04
%{_mandir}/man1/ovs-tcpundump.1*
Open vSwitch CI fe1a04
%{_bindir}/ovs-test
Open vSwitch CI fe1a04
%{_bindir}/ovs-vlan-test
Open vSwitch CI fe1a04
%{_bindir}/ovs-l3ping
Open vSwitch CI fe1a04
%{_mandir}/man8/ovs-test.8*
Open vSwitch CI fe1a04
%{_mandir}/man8/ovs-vlan-test.8*
Open vSwitch CI fe1a04
%{_mandir}/man8/ovs-l3ping.8*
Open vSwitch CI fe1a04
%{python3_sitelib}/ovstest
Open vSwitch CI fe1a04
Open vSwitch CI fe1a04
%files devel
Open vSwitch CI fe1a04
%{_libdir}/*.so
Open vSwitch CI fe1a04
%{_libdir}/pkgconfig/*.pc
Open vSwitch CI fe1a04
%{_includedir}/openvswitch/*
Open vSwitch CI fe1a04
%{_includedir}/openflow/*
Open vSwitch CI fe1a04
%exclude %{_libdir}/*.a
Open vSwitch CI fe1a04
%exclude %{_libdir}/*.la
Open vSwitch CI fe1a04
Open vSwitch CI fe1a04
%if 0%{?rhel} > 7 || 0%{?fedora} > 28
Open vSwitch CI fe1a04
%files -n network-scripts-%{name}
Open vSwitch CI fe1a04
%{_sysconfdir}/sysconfig/network-scripts/ifup-ovs
Open vSwitch CI fe1a04
%{_sysconfdir}/sysconfig/network-scripts/ifdown-ovs
Open vSwitch CI fe1a04
%endif
Open vSwitch CI fe1a04
Open vSwitch CI fe1a04
%files
Open vSwitch CI fe1a04
%defattr(-,openvswitch,openvswitch)
Open vSwitch CI fe1a04
%dir %{_sysconfdir}/openvswitch
Open vSwitch CI fe1a04
%{_sysconfdir}/openvswitch/default.conf
Open vSwitch CI fe1a04
%config %ghost %verify(not owner group md5 size mtime) %{_sysconfdir}/openvswitch/conf.db
Open vSwitch CI fe1a04
%ghost %attr(0600,-,-) %verify(not owner group md5 size mtime) %{_sysconfdir}/openvswitch/.conf.db.~lock~
Open vSwitch CI fe1a04
%config %ghost %{_sysconfdir}/openvswitch/system-id.conf
Open vSwitch CI fe1a04
%defattr(-,root,root)
Open vSwitch CI fe1a04
%config(noreplace) %verify(not md5 size mtime) %{_sysconfdir}/sysconfig/openvswitch
Open vSwitch CI fe1a04
%{_sysconfdir}/bash_completion.d/ovs-appctl-bashcomp.bash
Open vSwitch CI fe1a04
%{_sysconfdir}/bash_completion.d/ovs-vsctl-bashcomp.bash
Open vSwitch CI fe1a04
%config(noreplace) %{_sysconfdir}/logrotate.d/openvswitch
Open vSwitch CI fe1a04
%{_unitdir}/openvswitch.service
Open vSwitch CI fe1a04
%{_unitdir}/ovsdb-server.service
Open vSwitch CI fe1a04
%{_unitdir}/ovs-vswitchd.service
Open vSwitch CI fe1a04
%{_unitdir}/ovs-delete-transient-ports.service
Open vSwitch CI fe1a04
%{_datadir}/openvswitch/scripts/openvswitch.init
Open vSwitch CI fe1a04
%{_datadir}/openvswitch/scripts/ovs-check-dead-ifs
Open vSwitch CI fe1a04
%{_datadir}/openvswitch/scripts/ovs-lib
Open vSwitch CI fe1a04
%{_datadir}/openvswitch/scripts/ovs-save
Open vSwitch CI fe1a04
%{_datadir}/openvswitch/scripts/ovs-vtep
Open vSwitch CI fe1a04
%{_datadir}/openvswitch/scripts/ovs-ctl
Open vSwitch CI fe1a04
%{_datadir}/openvswitch/scripts/ovs-kmod-ctl
Open vSwitch CI fe1a04
%{_datadir}/openvswitch/scripts/ovs-systemd-reload
Open vSwitch CI fe1a04
%config %{_datadir}/openvswitch/vswitch.ovsschema
Open vSwitch CI fe1a04
%config %{_datadir}/openvswitch/vtep.ovsschema
Open vSwitch CI fe1a04
%{_bindir}/ovs-appctl
Open vSwitch CI fe1a04
%{_bindir}/ovs-dpctl
Open vSwitch CI fe1a04
%{_bindir}/ovs-ofctl
Open vSwitch CI fe1a04
%{_bindir}/ovs-vsctl
Open vSwitch CI fe1a04
%{_bindir}/ovsdb-client
Open vSwitch CI fe1a04
%{_bindir}/ovsdb-tool
Open vSwitch CI fe1a04
%{_bindir}/ovs-pki
Open vSwitch CI fe1a04
%{_bindir}/vtep-ctl
Open vSwitch CI fe1a04
%{_libdir}/*.so.*
Open vSwitch CI fe1a04
%{_sbindir}/ovs-vswitchd
Open vSwitch CI fe1a04
%{_sbindir}/ovsdb-server
Open vSwitch CI fe1a04
%{_mandir}/man1/ovsdb-client.1*
Open vSwitch CI fe1a04
%{_mandir}/man1/ovsdb-server.1*
Open vSwitch CI fe1a04
%{_mandir}/man1/ovsdb-tool.1*
Open vSwitch CI fe1a04
%{_mandir}/man5/ovsdb.5*
Open vSwitch CI fe1a04
%{_mandir}/man5/ovsdb-server.5.*
Open vSwitch CI fe1a04
%{_mandir}/man5/ovs-vswitchd.conf.db.5*
Open vSwitch CI fe1a04
%{_mandir}/man5/vtep.5*
Open vSwitch CI fe1a04
%{_mandir}/man7/ovsdb-server.7*
Open vSwitch CI fe1a04
%{_mandir}/man7/ovsdb.7*
Open vSwitch CI fe1a04
%{_mandir}/man7/ovs-actions.7*
Open vSwitch CI fe1a04
%{_mandir}/man7/ovs-fields.7*
Open vSwitch CI fe1a04
%{_mandir}/man8/vtep-ctl.8*
Open vSwitch CI fe1a04
%{_mandir}/man8/ovs-appctl.8*
Open vSwitch CI fe1a04
%{_mandir}/man8/ovs-ctl.8*
Open vSwitch CI fe1a04
%{_mandir}/man8/ovs-dpctl.8*
Open vSwitch CI fe1a04
%{_mandir}/man8/ovs-kmod-ctl.8.*
Open vSwitch CI fe1a04
%{_mandir}/man8/ovs-ofctl.8*
Open vSwitch CI fe1a04
%{_mandir}/man8/ovs-pki.8*
Open vSwitch CI fe1a04
%{_mandir}/man8/ovs-vsctl.8*
Open vSwitch CI fe1a04
%{_mandir}/man8/ovs-vswitchd.8*
Open vSwitch CI fe1a04
%{_mandir}/man8/ovs-parse-backtrace.8*
Open vSwitch CI fe1a04
%{_udevrulesdir}/91-vfio.rules
Open vSwitch CI fe1a04
%doc LICENSE NOTICE README.rst NEWS rhel/README.RHEL.rst
Open vSwitch CI fe1a04
%ifarch %{dpdkarches}
Open vSwitch CI fe1a04
%doc %{dpdkdir}/README.DPDK-PMDS
Open vSwitch CI 666c40
%attr(750,openvswitch,hugetlbfs) %verify(not owner group) /var/log/openvswitch
Open vSwitch CI 666c40
%else
Open vSwitch CI 666c40
%attr(750,openvswitch,openvswitch) %verify(not owner group) /var/log/openvswitch
Open vSwitch CI fe1a04
%endif
Open vSwitch CI fe1a04
/var/lib/openvswitch
Open vSwitch CI fe1a04
%ghost %attr(755,root,root) %verify(not owner group) %{_rundir}/openvswitch
Open vSwitch CI fe1a04
%{_datadir}/openvswitch/bugtool-plugins/
Open vSwitch CI fe1a04
%{_datadir}/openvswitch/scripts/ovs-bugtool-*
Open vSwitch CI fe1a04
%{_bindir}/ovs-dpctl-top
Open vSwitch CI fe1a04
%{_sbindir}/ovs-bugtool
Open vSwitch CI fe1a04
%{_mandir}/man8/ovs-dpctl-top.8*
Open vSwitch CI fe1a04
%{_mandir}/man8/ovs-bugtool.8*
Open vSwitch CI fe1a04
%if (0%{?rhel} && 0%{?rhel} <= 7) || (0%{?fedora} && 0%{?fedora} < 29)
Open vSwitch CI fe1a04
%{_sysconfdir}/sysconfig/network-scripts/ifup-ovs
Open vSwitch CI fe1a04
%{_sysconfdir}/sysconfig/network-scripts/ifdown-ovs
Open vSwitch CI fe1a04
%endif
Open vSwitch CI fe1a04
Open vSwitch CI fe1a04
%if %{with ipsec}
Open vSwitch CI fe1a04
%files ipsec
Open vSwitch CI fe1a04
%{_datadir}/openvswitch/scripts/ovs-monitor-ipsec
Open vSwitch CI fe1a04
%{_unitdir}/openvswitch-ipsec.service
Open vSwitch CI fe1a04
%endif
Open vSwitch CI fe1a04
Open vSwitch CI fe1a04
%changelog
Open vSwitch CI efc416
* Wed May 04 2022 Open vSwitch CI <ovs-ci@redhat.com> - 2.15.0-100
Open vSwitch CI efc416
- Merging upstream branch-2.15 [RH git: 5fb6b64894]
Open vSwitch CI efc416
    Commit list:
Open vSwitch CI efc416
    3d77799747 ofproto-dpif-xlate: Remove mirror assert.
Open vSwitch CI efc416
    ac49e21b6d netdev-dpdk: Fix tx drops statistic for a down netdev.
Open vSwitch CI efc416
Open vSwitch CI efc416
Open vSwitch CI c18ae0
* Thu Apr 28 2022 Timothy Redaelli <tredaelli@redhat.com> - 2.15.0-99
Open vSwitch CI c18ae0
- vhost: fix queue number check when setting inflight FD [RH git: ba1bcead43]
Open vSwitch CI c18ae0
    [ upstream commit 6442c329b9d2ded0f44b27d2016aaba8ba5844c5 ]
Open vSwitch CI c18ae0
    
Open vSwitch CI c18ae0
    In function vhost_user_set_inflight_fd, queue number in inflight
Open vSwitch CI c18ae0
    message is used to access virtqueue. However, queue number could
Open vSwitch CI c18ae0
    be larger than VHOST_MAX_VRING and cause write OOB as this number
Open vSwitch CI c18ae0
    will be used to write inflight info in virtqueue structure. This
Open vSwitch CI c18ae0
    patch checks the queue number to avoid the issue and also make
Open vSwitch CI c18ae0
    sure virtqueues are allocated before setting inflight information.
Open vSwitch CI c18ae0
    
Open vSwitch CI c18ae0
    Fixes: ad0a4ae491fe ("vhost: checkout resubmit inflight information")
Open vSwitch CI c18ae0
    
Open vSwitch CI c18ae0
    Reported-by: Wenxiang Qian <leonwxqian@gmail.com>
Open vSwitch CI c18ae0
    Signed-off-by: Chenbo Xia <chenbo.xia@intel.com>
Open vSwitch CI c18ae0
    Reviewed-by: Maxime Coquelin <maxime.coquelin@redhat.com>
Open vSwitch CI c18ae0
Open vSwitch CI c18ae0
Open vSwitch CI c18ae0
* Thu Apr 28 2022 Timothy Redaelli <tredaelli@redhat.com> - 2.15.0-98
Open vSwitch CI c18ae0
- vhost: fix FD leak with inflight messages [RH git: 9d20e2fe62]
Open vSwitch CI c18ae0
    [ upstream commit af74f7db384ed149fe42b21dbd7975f8a54ef227 ]
Open vSwitch CI c18ae0
    
Open vSwitch CI c18ae0
    Even if unlikely, a buggy vhost-user master might attach fds to inflight
Open vSwitch CI c18ae0
    messages. Add checks like for other types of vhost-user messages.
Open vSwitch CI c18ae0
    
Open vSwitch CI c18ae0
    Fixes: d87f1a1cb7b6 ("vhost: support inflight info sharing")
Open vSwitch CI c18ae0
    
Open vSwitch CI c18ae0
    Signed-off-by: David Marchand <david.marchand@redhat.com>
Open vSwitch CI c18ae0
    Reviewed-by: Maxime Coquelin <maxime.coquelin@redhat.com>
Open vSwitch CI c18ae0
Open vSwitch CI c18ae0
Open vSwitch CI 99b066
* Wed Apr 27 2022 Open vSwitch CI <ovs-ci@redhat.com> - 2.15.0-97
Open vSwitch CI 99b066
- Merging upstream branch-2.15 [RH git: 885e0d0ad5]
Open vSwitch CI 99b066
    Commit list:
Open vSwitch CI 99b066
    cbed56773f ofproto-dpif-xlate: Clear out vlan flow fields while processing native tunnel. (#393566
Open vSwitch CI 99b066
    2060552)
Open vSwitch CI 99b066
Open vSwitch CI 99b066
Open vSwitch CI b0adb3
* Tue Apr 26 2022 Open vSwitch CI <ovs-ci@redhat.com> - 2.15.0-96
Open vSwitch CI b0adb3
- Merging upstream branch-2.15 [RH git: 87fde112ca]
Open vSwitch CI b0adb3
    Commit list:
Open vSwitch CI b0adb3
    09759f9957 ofproto-xlate: Fix crash when forwarding packet between legacy_l3 tunnels.
Open vSwitch CI b0adb3
    dd6e5983a8 system-traffic: Fix fragment reassembly with L3 L4 protocol information.
Open vSwitch CI b0adb3
Open vSwitch CI b0adb3
Open vSwitch CI d04e6d
* Thu Apr 21 2022 Timothy Redaelli <tredaelli@redhat.com> - 2.15.0-95
Open vSwitch CI d04e6d
- Really set RTE_ETH_MAXPORTS to 1024 [RH git: 4c53699c3e]
Open vSwitch CI d04e6d
    Fixes: cbe02d895f52 ("Change RTE_ETH_MAXPORTS to 1024")
Open vSwitch CI d04e6d
Open vSwitch CI d04e6d
Open vSwitch CI 0e884c
* Mon Apr 18 2022 Open vSwitch CI <ovs-ci@redhat.com> - 2.15.0-94
Open vSwitch CI 0e884c
- Merging upstream branch-2.15 [RH git: c55ba17247]
Open vSwitch CI 0e884c
    Commit list:
Open vSwitch CI 0e884c
    3da1b0c456 cirrus: Update FreeBSD versions.
Open vSwitch CI 0e884c
Open vSwitch CI 0e884c
Open vSwitch CI 74cff9
* Fri Apr 08 2022 Open vSwitch CI <ovs-ci@redhat.com> - 2.15.0-93
Open vSwitch CI 74cff9
- Merging upstream branch-2.15 [RH git: c8842bbbf9]
Open vSwitch CI 74cff9
    Commit list:
Open vSwitch CI 74cff9
    27a2daad0e Prepare for 2.15.5.
Open vSwitch CI 74cff9
    c281f01dd3 Set release date for 2.15.4.
Open vSwitch CI 74cff9
Open vSwitch CI 74cff9
Open vSwitch CI 3e3ac0
* Fri Apr 08 2022 Open vSwitch CI <ovs-ci@redhat.com> - 2.15.0-92
Open vSwitch CI 3e3ac0
- Merging upstream branch-2.15 [RH git: 74dde447f6]
Open vSwitch CI 3e3ac0
    Commit list:
Open vSwitch CI 3e3ac0
    d848639d27 NEWS: Highlight libopenvswitch API change caused by UB fixes.
Open vSwitch CI 3e3ac0
Open vSwitch CI 3e3ac0
Open vSwitch CI e92bde
* Wed Apr 06 2022 Open vSwitch CI <ovs-ci@redhat.com> - 2.15.0-91
Open vSwitch CI e92bde
- Merging upstream branch-2.15 [RH git: 09b0ffda32]
Open vSwitch CI e92bde
    Commit list:
Open vSwitch CI e92bde
    3719bdafc4 netdev-offload-tc: Check for ct_state flag combinations that are not offloadable.
Open vSwitch CI e92bde
Open vSwitch CI e92bde
Open vSwitch CI cc2d6d
* Tue Apr 05 2022 Open vSwitch CI <ovs-ci@redhat.com> - 2.15.0-90
Open vSwitch CI cc2d6d
- Merging upstream branch-2.15 [RH git: 9e3e8cde3c]
Open vSwitch CI cc2d6d
    Commit list:
Open vSwitch CI cc2d6d
    80b57ee01f dpif-netdev: Fix dp_netdev_get_pmd() function getting correct core_id.
Open vSwitch CI cc2d6d
    c1bbb1ec6d ofproto-dpif-xlate: Fix NULL pointer dereference in xlate_normal().
Open vSwitch CI cc2d6d
Open vSwitch CI cc2d6d
Open vSwitch CI ee423e
* Wed Mar 30 2022 Open vSwitch CI <ovs-ci@redhat.com> - 2.15.0-89
Open vSwitch CI ee423e
- Merging upstream branch-2.15 [RH git: c42b42c1dc]
Open vSwitch CI ee423e
    Commit list:
Open vSwitch CI ee423e
    beaea86825 sparse: bump recommended version and include headers.
Open vSwitch CI ee423e
    4744b939c1 rculist: use multi-variable helpers for loop macros.
Open vSwitch CI ee423e
    ab4f0e6fd3 hindex: use multi-variable iterators.
Open vSwitch CI ee423e
    b1c7d8a278 cmap: use multi-variable iterators.
Open vSwitch CI ee423e
    fa11ec93e1 hmap: implement UB-safe hmap pop iterator.
Open vSwitch CI ee423e
    5f70b45cd7 hmap: use multi-variable helpers for hmap loops.
Open vSwitch CI ee423e
    2cbb77724e list: use multi-variable helpers for list loops.
Open vSwitch CI ee423e
    e345d7bf2a util: add helpers to overload SAFE macro.
Open vSwitch CI ee423e
    842d7f6814 util: add safe multi-variable iterators.
Open vSwitch CI ee423e
    f1625aa4d3 util: add multi-variable loop iterator macros.
Open vSwitch CI ee423e
Open vSwitch CI ee423e
Open vSwitch CI 476d81
* Wed Mar 30 2022 Open vSwitch CI <ovs-ci@redhat.com> - 2.15.0-88
Open vSwitch CI 476d81
- Merging upstream branch-2.15 [RH git: a03b5c62e4]
Open vSwitch CI 476d81
    Commit list:
Open vSwitch CI 476d81
    0a3867a9a9 ovsdb: raft: Fix inability to read the database with DNS host names. (#2055097)
Open vSwitch CI 476d81
Open vSwitch CI 476d81
Open vSwitch CI 4d2e9e
* Mon Mar 28 2022 Open vSwitch CI <ovs-ci@redhat.com> - 2.15.0-87
Open vSwitch CI 4d2e9e
- Merging upstream branch-2.15 [RH git: bba298f05e]
Open vSwitch CI 4d2e9e
    Commit list:
Open vSwitch CI 4d2e9e
    572ea8e0ef system-traffic.at: Fix flaky DNAT load balancing test.
Open vSwitch CI 4d2e9e
Open vSwitch CI 4d2e9e
Open vSwitch CI 762d62
* Wed Mar 23 2022 Open vSwitch CI <ovs-ci@redhat.com> - 2.15.0-86
Open vSwitch CI 762d62
- Merging upstream branch-2.15 [RH git: 68ea3ca4b4]
Open vSwitch CI 762d62
    Commit list:
Open vSwitch CI 762d62
    25dab05c39 tests: Fix incorrect usage of OVS_WAIT_UNTIL.
Open vSwitch CI 762d62
Open vSwitch CI 762d62
Open vSwitch CI 50b989
* Mon Mar 21 2022 Open vSwitch CI <ovs-ci@redhat.com> - 2.15.0-85
Open vSwitch CI 50b989
- Merging upstream branch-2.15 [RH git: 7b1d494b1f]
Open vSwitch CI 50b989
    Commit list:
Open vSwitch CI 50b989
    c804df6e11 odp-util: Fix output for tc to be equal to kernel.
Open vSwitch CI 50b989
    92207b062a netdev-offload-tc: Fix IP and port ranges in flower returns.
Open vSwitch CI 50b989
    743974a961 netdev-offload-tc: Always include conntrack information to tc.
Open vSwitch CI 50b989
    0ea2fa78e3 netdev-offload-tc: Check for valid netdev ifindex in flow_put.
Open vSwitch CI 50b989
    e832fa9b12 netdev-offload-tc: Set the correct VLAN_VID and VLAN_PCP masks.
Open vSwitch CI 50b989
    7dace029e8 netdev-offload-tc: Add debug logs on tc rule verify failures.
Open vSwitch CI 50b989
    56ee5f7070 tc: Keep header rewrite actions order.
Open vSwitch CI 50b989
Open vSwitch CI 50b989
Open vSwitch CI 5480ec
* Fri Mar 18 2022 Open vSwitch CI <ovs-ci@redhat.com> - 2.15.0-84
Open vSwitch CI 5480ec
- Merging upstream branch-2.15 [RH git: 137641442f]
Open vSwitch CI 5480ec
    Commit list:
Open vSwitch CI 5480ec
    fd8b2511db ofproto-dpif-xlate: Avoid successive ct_clear datapath actions.
Open vSwitch CI 5480ec
Open vSwitch CI 5480ec
Open vSwitch CI 9881e5
* Mon Mar 14 2022 Open vSwitch CI <ovs-ci@redhat.com> - 2.15.0-83
Open vSwitch CI 9881e5
- Merging upstream branch-2.15 [RH git: d2abb6b2f3]
Open vSwitch CI 9881e5
    Commit list:
Open vSwitch CI 9881e5
    45e10d84d7 dpdk: Use DPDK 20.11.4 release
Open vSwitch CI 9881e5
Open vSwitch CI 9881e5
Open vSwitch CI a59cc1
* Fri Mar 11 2022 Open vSwitch CI <ovs-ci@redhat.com> - 2.15.0-82
Open vSwitch CI a59cc1
- Merging upstream branch-2.15 [RH git: 7bb43bfb9f]
Open vSwitch CI a59cc1
    Commit list:
Open vSwitch CI a59cc1
    deeec60597 ofp-prop: Silence the 'may be uninitialized' warning.
Open vSwitch CI a59cc1
    fa26f1f847 ovsdb-cluster.at: Avoid test failures due to different hashing.
Open vSwitch CI a59cc1
Open vSwitch CI a59cc1
Open vSwitch CI f33a89
* Mon Mar 07 2022 Open vSwitch CI <ovs-ci@redhat.com> - 2.15.0-81
Open vSwitch CI f33a89
- Merging upstream branch-2.15 [RH git: a735607890]
Open vSwitch CI f33a89
    Commit list:
Open vSwitch CI f33a89
    8a58897b56 ofproto: Use xlate map for uuid lookups.
Open vSwitch CI f33a89
    c091911e13 ofproto: Add refcount to ofproto to fix ofproto use-after-free.
Open vSwitch CI f33a89
Open vSwitch CI f33a89
Open vSwitch CI 99c6b0
* Sat Mar 05 2022 Open vSwitch CI <ovs-ci@redhat.com> - 2.15.0-80
Open vSwitch CI 99c6b0
- Merging upstream branch-2.15 [RH git: 729a55e204]
Open vSwitch CI 99c6b0
    Commit list:
Open vSwitch CI 99c6b0
    08d77484f6 ofproto-dpif: Trigger revalidation when ipfix config set.
Open vSwitch CI 99c6b0
    bc3b88c8ad system-tso: Skip encap tests when userspace TSO is enabled.
Open vSwitch CI 99c6b0
Open vSwitch CI 99c6b0
Open vSwitch CI 90835e
* Fri Mar 04 2022 Open vSwitch CI <ovs-ci@redhat.com> - 2.15.0-79
Open vSwitch CI 90835e
- Merging upstream branch-2.15 [RH git: 82cbd329f0]
Open vSwitch CI 90835e
    Commit list:
Open vSwitch CI 90835e
    e05105f1e6 tc: Fix stats byte count on fragmented packets.
Open vSwitch CI 90835e
    81aa8c8073 compat: Add gen_stats include to define tc hw stats.
Open vSwitch CI 90835e
Open vSwitch CI 90835e
Open vSwitch CI d62af8
* Tue Mar 01 2022 Timothy Redaelli <tredaelli@redhat.com> - 2.15.0-78
Open vSwitch CI d62af8
- Change RTE_ETH_MAXPORTS to 1024 [RH git: cbe02d895f] (#2048601)
Open vSwitch CI d62af8
    Resolves: #2048601
Open vSwitch CI d62af8
Open vSwitch CI d62af8
Open vSwitch CI aca1ba
* Sat Feb 26 2022 Open vSwitch CI <ovs-ci@redhat.com> - 2.15.0-77
Open vSwitch CI aca1ba
- Merging upstream branch-2.15 [RH git: 50c394233c]
Open vSwitch CI aca1ba
    Commit list:
Open vSwitch CI aca1ba
    b6007add57 ovsdb: raft: Fix inability to join the cluster after interrupted attempt. (#2033514)
Open vSwitch CI aca1ba
    dce48bb003 reconnect: Fix broken inactivity probe if there is no other reason to wake up.
Open vSwitch CI aca1ba
Open vSwitch CI aca1ba
Open vSwitch CI 2d021e
* Thu Feb 24 2022 Open vSwitch CI <ovs-ci@redhat.com> - 2.15.0-76
Open vSwitch CI 2d021e
- Merging upstream branch-2.15 [RH git: 9265101135]
Open vSwitch CI 2d021e
    Commit list:
Open vSwitch CI 2d021e
    115f1543b2 datapath-windows: Fix NXM_OF_IP_TOS issue
Open vSwitch CI 2d021e
Open vSwitch CI 2d021e
Open vSwitch CI a2fe91
* Wed Feb 16 2022 Open vSwitch CI <ovs-ci@redhat.com> - 2.15.0-75
Open vSwitch CI a2fe91
- Merging upstream branch-2.15 [RH git: a01913de4d]
Open vSwitch CI a2fe91
    Commit list:
Open vSwitch CI a2fe91
    8a60afaa00 ovsdb-idl: Fix use-after-free when destroying an IDL loop.
Open vSwitch CI a2fe91
Open vSwitch CI a2fe91
Open vSwitch CI bf8341
* Tue Feb 15 2022 Open vSwitch CI <ovs-ci@redhat.com> - 2.15.0-74
Open vSwitch CI bf8341
- Merging upstream branch-2.15 [RH git: 84306060e6]
Open vSwitch CI bf8341
    Commit list:
Open vSwitch CI bf8341
    9e2af615c1 dpif-netdev-dpcls: Make subtable reprobe thread-safe.
Open vSwitch CI bf8341
Open vSwitch CI bf8341
Open vSwitch CI 871b4d
* Tue Feb 15 2022 Open vSwitch CI <ovs-ci@redhat.com> - 2.15.0-73
Open vSwitch CI 871b4d
- Merging upstream branch-2.15 [RH git: 0b62621839]
Open vSwitch CI 871b4d
    Commit list:
Open vSwitch CI 871b4d
    7691fbe77b dp-packet: Ensure packet base is always non-NULL.
Open vSwitch CI 871b4d
    deb59ba9af bfd: lldp: stp: Fix misaligned packet field access.
Open vSwitch CI 871b4d
    2b2371b3c3 ovsdb-idlc: Avoid accessing member within NULL idl index cursors.
Open vSwitch CI 871b4d
    193c79ca40 stopwatch: Fix buffer underflow when computing percentiles.
Open vSwitch CI 871b4d
Open vSwitch CI 871b4d
Open vSwitch CI 6cf480
* Wed Feb 09 2022 Open vSwitch CI <ovs-ci@redhat.com> - 2.15.0-72
Open vSwitch CI 6cf480
- Merging upstream branch-2.15 [RH git: e478bef7a4]
Open vSwitch CI 6cf480
    Commit list:
Open vSwitch CI 6cf480
    1c050d932b ofproto: Fix ipfix not always sampling on egress. (#2016346)
Open vSwitch CI 6cf480
Open vSwitch CI 6cf480
Open vSwitch CI 79928c
* Wed Feb 09 2022 Open vSwitch CI <ovs-ci@redhat.com> - 2.15.0-71
Open vSwitch CI 79928c
- Merging upstream branch-2.15 [RH git: 87783c67a6]
Open vSwitch CI 79928c
    Commit list:
Open vSwitch CI 79928c
    bfc8902e3f tc: Fix incorrect TC rule for decap+encap datapath flow.
Open vSwitch CI 79928c
Open vSwitch CI 79928c
Open vSwitch CI 78d731
* Fri Feb 04 2022 Open vSwitch CI <ovs-ci@redhat.com> - 2.15.0-70
Open vSwitch CI 78d731
- Merging upstream branch-2.15 [RH git: ed4cf202b5]
Open vSwitch CI 78d731
    Commit list:
Open vSwitch CI 78d731
    38970bf78b odp-util: Fix tunnel key attr for GTP-U.
Open vSwitch CI 78d731
    57456cec36 ovsdb-idl: Only process successful txn in ovsdb_idl_loop_run.
Open vSwitch CI 78d731
Open vSwitch CI 78d731
Open vSwitch CI 7a5fb8
* Wed Feb 02 2022 Open vSwitch CI <ovs-ci@redhat.com> - 2.15.0-69
Open vSwitch CI 7a5fb8
- Merging upstream branch-2.15 [RH git: ffd65899bd]
Open vSwitch CI 7a5fb8
    Commit list:
Open vSwitch CI 7a5fb8
    01f8e5199d ofproto-dpif-upcall: Fix n_revalidators on upcall show.
Open vSwitch CI 7a5fb8
Open vSwitch CI 7a5fb8
Open vSwitch CI 08c150
* Mon Jan 31 2022 Open vSwitch CI <ovs-ci@redhat.com> - 2.15.0-68
Open vSwitch CI 08c150
- Merging upstream branch-2.15 [RH git: df7561a258]
Open vSwitch CI 08c150
    Commit list:
Open vSwitch CI 08c150
    02dd680dc5 ovsdb-idl: ovsdb_idl_loop_destroy must also destroy the committing txn.
Open vSwitch CI 08c150
    b664877079 ovsdb-cs: Clear last_id on reconnect if condition changes in-flight.
Open vSwitch CI 08c150
    dec99de837 ofp-flow: Skip flow reply if it exceeds the maximum message size.
Open vSwitch CI 08c150
    2a92aac033 ovsdb-cs: Fix ignoring of the last id from the initial monitor reply. (#2044624)
Open vSwitch CI 08c150
Open vSwitch CI 08c150
Open vSwitch CI 368a76
* Wed Jan 26 2022 Open vSwitch CI <ovs-ci@redhat.com> - 2.15.0-67
Open vSwitch CI 368a76
- Merging upstream branch-2.15 [RH git: 0ec5c70e5a]
Open vSwitch CI 368a76
    Commit list:
Open vSwitch CI 368a76
    ed5a1bc688 ofproto-dpif: Fix issue with non-reversible actions on a patch ports.
Open vSwitch CI 368a76
Open vSwitch CI 368a76
Open vSwitch CI 3307ca
* Tue Jan 25 2022 Eelco Chaudron <echaudro@redhat.com> - 2.15.0-66
Open vSwitch CI 3307ca
- downstream: Enable usdt probes in build [RH git: 3e2ddcc2da]
Open vSwitch CI 3307ca
    Fixes: BZ1840877
Open vSwitch CI 3307ca
Open vSwitch CI 3307ca
Open vSwitch CI 3307ca
* Tue Jan 25 2022 Eelco Chaudron <echaudro@redhat.com> - 2.15.0-65
Open vSwitch CI 3307ca
- utilities: Add netlink flow operation USDT probes and upcall_cost script. [RH git: 1ef4073913]
Open vSwitch CI 3307ca
    This patch adds a series of NetLink flow operation USDT probes.
Open vSwitch CI 3307ca
    These probes are in turn used in the upcall_cost Python script,
Open vSwitch CI 3307ca
    which in addition of some kernel tracepoints, give an insight into
Open vSwitch CI 3307ca
    the time spent on processing upcall.
Open vSwitch CI 3307ca
    
Open vSwitch CI 3307ca
    Signed-off-by: Eelco Chaudron <echaudro@redhat.com>
Open vSwitch CI 3307ca
    Acked-by: Paolo Valerio <pvalerio@redhat.com>
Open vSwitch CI 3307ca
    Signed-off-by: Ilya Maximets <i.maximets@ovn.org>
Open vSwitch CI 3307ca
Open vSwitch CI 3307ca
Open vSwitch CI 3307ca
* Tue Jan 25 2022 Eelco Chaudron <echaudro@redhat.com> - 2.15.0-64
Open vSwitch CI 3307ca
- utilities: Add upcall USDT probe and associated script. [RH git: f581b3a82c]
Open vSwitch CI 3307ca
    Added the dpif_recv:recv_upcall USDT probe, which is used by the
Open vSwitch CI 3307ca
    included upcall_monitor.py script. This script receives all upcall
Open vSwitch CI 3307ca
    packets sent by the kernel to ovs-vswitchd. By default, it will
Open vSwitch CI 3307ca
    show all  upcall events, which looks something like this:
Open vSwitch CI 3307ca
    
Open vSwitch CI 3307ca
     TIME               CPU  COMM      PID      DPIF_NAME          TYPE PKT_LEN FLOW_KEY_LEN
Open vSwitch CI 3307ca
     5952147.003848809  2    handler4  1381158  system@ovs-system  0    98      132
Open vSwitch CI 3307ca
     5952147.003879643  2    handler4  1381158  system@ovs-system  0    70      160
Open vSwitch CI 3307ca
     5952147.003914924  2    handler4  1381158  system@ovs-system  0    98      152
Open vSwitch CI 3307ca
    
Open vSwitch CI 3307ca
    It can also dump the packet and NetLink content, and if required,
Open vSwitch CI 3307ca
    the packets can also be written to a pcap file.
Open vSwitch CI 3307ca
    
Open vSwitch CI 3307ca
    Signed-off-by: Eelco Chaudron <echaudro@redhat.com>
Open vSwitch CI 3307ca
    Acked-by: Paolo Valerio <pvalerio@redhat.com>
Open vSwitch CI 3307ca
    Signed-off-by: Ilya Maximets <i.maximets@ovn.org>
Open vSwitch CI 3307ca
Open vSwitch CI 3307ca
Open vSwitch CI 3307ca
* Tue Jan 25 2022 Eelco Chaudron <echaudro@redhat.com> - 2.15.0-63
Open vSwitch CI 3307ca
- Documentation: Add USDT documentation and bpftrace example. [RH git: 2a54ac2f9f]
Open vSwitch CI 3307ca
    Add the USDT documentation and a bpftrace example using the
Open vSwitch CI 3307ca
    bridge run USDT probes.
Open vSwitch CI 3307ca
    
Open vSwitch CI 3307ca
    Signed-off-by: Eelco Chaudron <echaudro@redhat.com>
Open vSwitch CI 3307ca
    Acked-by: Paolo Valerio <pvalerio@redhat.com>
Open vSwitch CI 3307ca
    Signed-off-by: Ilya Maximets <i.maximets@ovn.org>
Open vSwitch CI 3307ca
Open vSwitch CI 3307ca
Open vSwitch CI 3307ca
* Tue Jan 25 2022 Eelco Chaudron <echaudro@redhat.com> - 2.15.0-62
Open vSwitch CI 3307ca
- openvswitch: Define the OVS_STATIC_TRACE() macro. [RH git: fa1e850486]
Open vSwitch CI 3307ca
    This patch defines the OVS_STATIC_TRACE() macro, and as an
Open vSwitch CI 3307ca
    example, adds two of them in the bridge run loop.
Open vSwitch CI 3307ca
    
Open vSwitch CI 3307ca
    Signed-off-by: Eelco Chaudron <echaudro@redhat.com>
Open vSwitch CI 3307ca
    Acked-by: Paolo Valerio <pvalerio@redhat.com>
Open vSwitch CI 3307ca
    Signed-off-by: Ilya Maximets <i.maximets@ovn.org>
Open vSwitch CI 3307ca
Open vSwitch CI 3307ca
Open vSwitch CI 3307ca
* Tue Jan 25 2022 Eelco Chaudron <echaudro@redhat.com> - 2.15.0-61
Open vSwitch CI 3307ca
- configure: Add --enable-usdt-probes option to enable USDT probes. [RH git: e1e982a7c1]
Open vSwitch CI 3307ca
    Allow inclusion of User Statically Defined Trace (USDT) probes
Open vSwitch CI 3307ca
    in the OVS binaries using the --enable-usdt-probes option to the
Open vSwitch CI 3307ca
    ./configure script.
Open vSwitch CI 3307ca
    
Open vSwitch CI 3307ca
    Signed-off-by: Eelco Chaudron <echaudro@redhat.com>
Open vSwitch CI 3307ca
    Acked-by: Paolo Valerio <pvalerio@redhat.com>
Open vSwitch CI 3307ca
    Signed-off-by: Ilya Maximets <i.maximets@ovn.org>
Open vSwitch CI 3307ca
Open vSwitch CI 3307ca
Open vSwitch CI cbcd22
* Fri Jan 21 2022 Open vSwitch CI <ovs-ci@redhat.com> - 2.15.0-60
Open vSwitch CI cbcd22
- Merging upstream branch-2.15 [RH git: a70244a272]
Open vSwitch CI cbcd22
    Commit list:
Open vSwitch CI cbcd22
    e59194b606 ovs-monitor-ipsec: Fix generated strongSwan ipsec.conf for IPv6.
Open vSwitch CI cbcd22
Open vSwitch CI cbcd22
Open vSwitch CI aa49c7
* Thu Jan 20 2022 Open vSwitch CI <ovs-ci@redhat.com> - 2.15.0-59
Open vSwitch CI aa49c7
- Merging upstream branch-2.15 [RH git: d17382a24e]
Open vSwitch CI aa49c7
    Commit list:
Open vSwitch CI aa49c7
    2632aeb374 datapath-windows: Pickup Ct tuple as CT lookup key in function OvsCtSetupLookupCtx
Open vSwitch CI aa49c7
Open vSwitch CI aa49c7
Open vSwitch CI 2005a8
* Tue Jan 18 2022 Open vSwitch CI <ovs-ci@redhat.com> - 2.15.0-58
Open vSwitch CI 2005a8
- Merging upstream branch-2.15 [RH git: 14826e19b9]
Open vSwitch CI 2005a8
    Commit list:
Open vSwitch CI 2005a8
    7f978ee372 Documentation: Fix Rx/Tx queue configuration section.
Open vSwitch CI 2005a8
Open vSwitch CI 2005a8
Open vSwitch CI 7070d8
* Mon Jan 17 2022 Open vSwitch CI <ovs-ci@redhat.com> - 2.15.0-57
Open vSwitch CI 7070d8
- Merging upstream branch-2.15 [RH git: 228a38c3dc]
Open vSwitch CI 7070d8
    Commit list:
Open vSwitch CI 7070d8
    a7dc6af0fc ofproto-dpif: Fix memory leak in dpif/show-dp-features appctl.
Open vSwitch CI 7070d8
Open vSwitch CI 7070d8
Open vSwitch CI bdc920
* Sat Dec 18 2021 Open vSwitch CI <ovs-ci@redhat.com> - 2.15.0-56
Open vSwitch CI bdc920
- Merging upstream branch-2.15 [RH git: 9504acc03d]
Open vSwitch CI bdc920
    Commit list:
Open vSwitch CI bdc920
    31288dc725 Prepare for 2.15.4.
Open vSwitch CI bdc920
    e4d2df62e6 Set release date for 2.15.3.
Open vSwitch CI bdc920
    b8baa11416 python: Add cooperative_yield() API method to Idl.
Open vSwitch CI bdc920
    7834abc669 ofproto-dpif-xlate: Snoop ingress packets and update neigh cache if needed.
Open vSwitch CI bdc920
    833c02daab tnl-neigh-cache: Do not refresh the entry while revalidating.
Open vSwitch CI bdc920
    e2182eca88 tnl-neigh-cache: Include expected array sizes in prototypes.
Open vSwitch CI bdc920
    566fe43721 tnl-neigh-cache: Read/write expires atomically.
Open vSwitch CI bdc920
Open vSwitch CI bdc920
Open vSwitch CI aa2f86
* Thu Dec 09 2021 Open vSwitch CI <ovs-ci@redhat.com> - 2.15.0-55
Open vSwitch CI aa2f86
- Merging upstream branch-2.15 [RH git: a1abf356d3]
Open vSwitch CI aa2f86
    Commit list:
Open vSwitch CI aa2f86
    d477f60008 compat: handle NF_REPEAT error on nf_conntrack_in.
Open vSwitch CI aa2f86
Open vSwitch CI aa2f86
Open vSwitch CI ff7ec8
* Mon Dec 06 2021 Open vSwitch CI <ovs-ci@redhat.com> - 2.15.0-54
Open vSwitch CI ff7ec8
- Merging upstream branch-2.15 [RH git: d4f13fd840]
Open vSwitch CI ff7ec8
    Commit list:
Open vSwitch CI ff7ec8
    0590e88387 flow: Consider dataofs when parsing TCP packets.
Open vSwitch CI ff7ec8
    7266042d84 tests/flowgen: Fix packet data endianness.
Open vSwitch CI ff7ec8
    d2e0632dbe ofproto: Fix resource usage explosion due to removal of large number of flows.
Open vSwitch CI ff7ec8
    0a7e66e37f ofproto: Fix resource usage explosion while processing bundled FLOW_MOD.
Open vSwitch CI ff7ec8
    68466efed9 tests/flowgen: Fix length field of 802.2 data link header.
Open vSwitch CI ff7ec8
    2a2185f9e6 ovs-lib: Backup and remove existing DB when joining cluster.
Open vSwitch CI ff7ec8
    fcbc29c6f0 docs/dpdk: Fix install doc.
Open vSwitch CI ff7ec8
    a5d97d4202 ovs-save: Save igmp flows in ofp_parse syntax.
Open vSwitch CI ff7ec8
    1cbd1f0f56 faq: Update OVS/DPDK version table for OVS 2.13/2.14.
Open vSwitch CI ff7ec8
Open vSwitch CI ff7ec8
Open vSwitch CI bcb8ed
* Thu Nov 18 2021 Open vSwitch CI <ovs-ci@redhat.com> - 2.15.0-53
Open vSwitch CI bcb8ed
- Merging upstream branch-2.15 [RH git: 9221a2233d]
Open vSwitch CI bcb8ed
    Commit list:
Open vSwitch CI bcb8ed
    01bc910e57 ofproto-dpif-xlate: Fix check_pkt_larger incomplete translation.
Open vSwitch CI bcb8ed
Open vSwitch CI bcb8ed
Open vSwitch CI edef7e
* Mon Nov 15 2021 Open vSwitch CI <ovs-ci@redhat.com> - 2.15.0-52
Open vSwitch CI edef7e
- Merging upstream branch-2.15 [RH git: 001ae577c6]
Open vSwitch CI edef7e
    Commit list:
Open vSwitch CI edef7e
    08a270dda1 datapath-windows: Reset flow key after Ipv4 fragments are reassembled
Open vSwitch CI edef7e
Open vSwitch CI edef7e
Open vSwitch CI f4eb1f
* Thu Oct 28 2021 Open vSwitch CI <ovs-ci@redhat.com> - 2.15.0-51
Open vSwitch CI f4eb1f
- Merging upstream branch-2.15 [RH git: a134a530c9]
Open vSwitch CI f4eb1f
    Commit list:
Open vSwitch CI f4eb1f
    eca2d50d40 datapath-windows:Reset PseudoChecksum value only for TX direction offload case
Open vSwitch CI f4eb1f
Open vSwitch CI f4eb1f
Open vSwitch CI ea115b
* Wed Oct 27 2021 Open vSwitch CI <ovs-ci@redhat.com> - 2.15.0-50
Open vSwitch CI ea115b
- Merging upstream branch-2.15 [RH git: 16dad85706]
Open vSwitch CI ea115b
    Commit list:
Open vSwitch CI ea115b
    031cf67e09 netdev-offload-tc: Verify the flower rule installed.
Open vSwitch CI ea115b
Open vSwitch CI ea115b
Open vSwitch CI c14c36
* Wed Oct 27 2021 Open vSwitch CI <ovs-ci@redhat.com> - 2.15.0-49
Open vSwitch CI c14c36
- Merging upstream branch-2.15 [RH git: 2502ca29b0]
Open vSwitch CI c14c36
    Commit list:
Open vSwitch CI c14c36
    952e851506 ci: Make linux-prepare trust system installs.
Open vSwitch CI c14c36
Open vSwitch CI c14c36
Open vSwitch CI 86e721
* Mon Oct 25 2021 Open vSwitch CI <ovs-ci@redhat.com> - 2.15.0-48
Open vSwitch CI 86e721
- Merging upstream branch-2.15 [RH git: 7cf784736e]
Open vSwitch CI 86e721
    Commit list:
Open vSwitch CI 86e721
    2cf63851a5 Prepare for 2.15.3.
Open vSwitch CI 86e721
    63f9a7c5d8 Set release date for 2.15.2.
Open vSwitch CI 86e721
Open vSwitch CI 86e721
Open vSwitch CI 4ae2c7
* Tue Oct 19 2021 Open vSwitch CI <ovs-ci@redhat.com> - 2.15.0-47
Open vSwitch CI 4ae2c7
- Merging upstream branch-2.15 [RH git: 01110b9088]
Open vSwitch CI 4ae2c7
    Commit list:
Open vSwitch CI 4ae2c7
    b7d9c491ec datapath-windows: add layers when adding the deferred actions
Open vSwitch CI 4ae2c7
Open vSwitch CI 4ae2c7
Open vSwitch CI 83eab5
* Thu Oct 14 2021 Open vSwitch CI <ovs-ci@redhat.com> - 2.15.0-46
Open vSwitch CI 83eab5
- Merging upstream branch-2.15 [RH git: f8619036c9]
Open vSwitch CI 83eab5
    Commit list:
Open vSwitch CI 83eab5
    3f718857e7 ofproto-dpif-xlate: Fix zone set from non-frozen-metadata fields.
Open vSwitch CI 83eab5
Open vSwitch CI 83eab5
Open vSwitch CI 7a1f11
* Wed Oct 13 2021 Open vSwitch CI <ovs-ci@redhat.com> - 2.15.0-45
Open vSwitch CI 7a1f11
- Merging upstream branch-2.15 [RH git: e273e307d1]
Open vSwitch CI 7a1f11
    Commit list:
Open vSwitch CI 7a1f11
    ea2ca0af16 dpif-netdev: Fix use-after-free on PACKET_OUT of IP fragments.
Open vSwitch CI 7a1f11
    9f964354e3 tunnel-push-pop.at: Mask source port in tunnel header.
Open vSwitch CI 7a1f11
Open vSwitch CI 7a1f11
Open vSwitch CI 009784
* Tue Oct 12 2021 Open vSwitch CI <ovs-ci@redhat.com> - 2.15.0-44
Open vSwitch CI 009784
- Merging upstream branch-2.15 [RH git: 3050e5222d]
Open vSwitch CI 009784
    Commit list:
Open vSwitch CI 009784
    58397f222b dpdk-stub: Change the ERR log to DBG.
Open vSwitch CI 009784
    2a963fc314 python: idl: Avoid sending transactions when the DB is not synced up.
Open vSwitch CI 009784
Open vSwitch CI 009784
Open vSwitch CI 200160
* Tue Oct 12 2021 Open vSwitch CI <ovs-ci@redhat.com> - 2.15.0-43
Open vSwitch CI 200160
- Merging upstream branch-2.15 [RH git: 09e3ab3630]
Open vSwitch CI 200160
    Commit list:
Open vSwitch CI 200160
    9efa2ea619 ipf: release unhandled packets from the batch
Open vSwitch CI 200160
Open vSwitch CI 200160
Open vSwitch CI bb8a0a
* Thu Sep 30 2021 Open vSwitch CI <ovs-ci@redhat.com> - 2.15.0-42
Open vSwitch CI bb8a0a
- Merging upstream branch-2.15 [RH git: 2a86017f3f]
Open vSwitch CI bb8a0a
    Commit list:
Open vSwitch CI bb8a0a
    f8274b78c3 datapath-windows:adjust Offset when processing packet in POP_VLAN action
Open vSwitch CI bb8a0a
Open vSwitch CI bb8a0a
Open vSwitch CI 666c40
* Mon Sep 27 2021 Open vSwitch CI <ovs-ci@redhat.com> - 2.15.0-41
Open vSwitch CI 666c40
- Merging upstream branch-2.15 [RH git: 8f2e30f011]
Open vSwitch CI 666c40
    Commit list:
Open vSwitch CI 666c40
    a2f860aa2e cirrus: Reduce memory requirements for FreeBSD VMs.
Open vSwitch CI 666c40
Open vSwitch CI 666c40
Open vSwitch CI 666c40
* Thu Sep 23 2021 Timothy Redaelli <tredaelli@redhat.com> - 2.15.0-40
Open vSwitch CI 666c40
- redhat: use hugetlbfs group for /var/log/openvswitch when dpdk is enabled [RH git: 5ccf239b51] (#2007290)
Open vSwitch CI 666c40
    Resolves: #2007290
Open vSwitch CI 666c40
Open vSwitch CI 666c40
Open vSwitch CI 87d5da
* Thu Sep 16 2021 Open vSwitch CI <ovs-ci@redhat.com> - 2.15.0-39
Open vSwitch CI 87d5da
- Merging upstream branch-2.15 [RH git: c6bdfa8cc1]
Open vSwitch CI 87d5da
    Commit list:
Open vSwitch CI 87d5da
    7788f15798 netdev-linux: Fix a null pointer dereference in netdev_linux_notify_sock().
Open vSwitch CI 87d5da
    dd32deba6e pcap-file: Fix memory leak in ovs_pcap_open().
Open vSwitch CI 87d5da
    9f2f66c8ea odp-util: Fix a null pointer dereference in odp_flow_format().
Open vSwitch CI 87d5da
    02b0c265c4 odp-util: Fix a null pointer dereference in odp_nsh_key_from_attr__().
Open vSwitch CI 87d5da
    031eff4563 netdev-dpdk: Fix RSS configuration for virtio.
Open vSwitch CI 87d5da
    09cd9570d2 ipf: Fix only nat the first fragment in the reass process.
Open vSwitch CI 87d5da
Open vSwitch CI 87d5da
Open vSwitch CI b3f074
* Wed Sep 15 2021 Timothy Redaelli <tredaelli@redhat.com> - 2.15.0-38
Open vSwitch CI b3f074
- ofproto-dpif-xlate: Avoid successive ct_clear datapath actions. [RH git: f9a9ac7608] (#1941027)
Open vSwitch CI b3f074
    Due to flow lookup optimizations, especially in the resubmit/clone cases,
Open vSwitch CI b3f074
    we might end up with multiple ct_clear actions, which are not necessary.
Open vSwitch CI b3f074
    
Open vSwitch CI b3f074
    This patch only adds the ct_clear action to the datapath if any ct state
Open vSwitch CI b3f074
    is tracked.
Open vSwitch CI b3f074
    
Open vSwitch CI b3f074
    Resolves: #1941027
Open vSwitch CI b3f074
    
Open vSwitch CI b3f074
    Signed-off-by: Eelco Chaudron <echaudro@redhat.com>
Open vSwitch CI b3f074
    Acked-by: Timothy Redaelli <tredaelli@redhat.com>
Open vSwitch CI b3f074
    Signed-off-by: Ilya Maximets <i.maximets@ovn.org>
Open vSwitch CI b3f074
    (cherry picked from commit 355fef6f2ccbcf78797b938421cb4cef9b59af13)
Open vSwitch CI b3f074
Open vSwitch CI b3f074
Open vSwitch CI 6cf6ab
* Wed Sep 08 2021 Open vSwitch CI <ovs-ci@redhat.com> - 2.15.0-37
Open vSwitch CI 6cf6ab
- Merging upstream branch-2.15 [RH git: b36eb7e529]
Open vSwitch CI 6cf6ab
    Commit list:
Open vSwitch CI 6cf6ab
    ef8ca3e190 dpif-netdev: Fix crash when PACKET_OUT is metered.
Open vSwitch CI 6cf6ab
Open vSwitch CI 6cf6ab
Open vSwitch CI 6cf6ab
* Tue Aug 17 2021 Michael Santana <msantana@redhat.com> - 2.15.0-36
Open vSwitch CI 6cf6ab
- Migrate openvswitch to gitlab [RH git: 93147e2cda]
Open vSwitch CI 6cf6ab
    Signed-off-by: Michael Santana <msantana@redhat.com>
Open vSwitch CI 6cf6ab
Open vSwitch CI 6cf6ab
Open vSwitch CI 4c16cd
* Mon Aug 16 2021 Open vSwitch CI <ovs-ci@redhat.com> - 2.15.0-35
Open vSwitch CI 4c16cd
- Merging upstream branch-2.15 [RH git: 11bcf52d03]
Open vSwitch CI 4c16cd
    Commit list:
Open vSwitch CI 4c16cd
    d3ff41d609 tc: Set action flags for tunnel_key release.
Open vSwitch CI 4c16cd
    079a4de723 netlink-socket: Replace error with txn->error when logging nacked transactions.
Open vSwitch CI 4c16cd
    f8cc5aa35c dynamic-string: Fix a crash in ds_clone().
Open vSwitch CI 4c16cd
Open vSwitch CI 4c16cd
Open vSwitch CI 4c16cd
* Mon Aug 16 2021 Michael Santana <msantana@redhat.com> - 2.15.0-34
Open vSwitch CI 4c16cd
- pkgtool: Swap bugzilla id and RH git [RH git: c2e6243d60]
Open vSwitch CI 4c16cd
    Having the bugzilla ID not at the end of the line breakes another script
Open vSwitch CI 4c16cd
    that parses for said ID. This patch fixes that by putting the ID next to
Open vSwitch CI 4c16cd
    the new line
Open vSwitch CI 4c16cd
    
Open vSwitch CI 4c16cd
    Fixes: f6b2db4dd33e ("Make changelog in spec file more informative")
Open vSwitch CI 4c16cd
    Signed-off-by: Michael Santana <msantana@redhat.com>
Open vSwitch CI 4c16cd
Open vSwitch CI 4c16cd
Open vSwitch CI 5fccb7
* Mon Aug 16 2021 Open vSwitch CI <ovs-ci@redhat.com> - 2.15.0-33
Open vSwitch CI 4c16cd
- Merging upstream branch-2.15 [RH git: 08b4ccb1c4]
Open vSwitch CI 5fccb7
    Commit list:
Open vSwitch CI 5fccb7
    64d1bba919 dpif-netdev: fix memory leak in dpcls subtable set command
Open vSwitch CI 5fccb7
Open vSwitch CI 5fccb7
Open vSwitch CI 72bb40
* Tue Aug 03 2021 Open vSwitch CI <ovs-ci@redhat.com> - 2.15.0-32
Open vSwitch CI 4c16cd
- Merging upstream branch-2.15 [RH git: 2cc833ce5b]
Open vSwitch CI 72bb40
    Commit list:
Open vSwitch CI 72bb40
    90b219275d dpif-netdev: Do not flush PMD offloads on reload.
Open vSwitch CI 72bb40
Open vSwitch CI 72bb40
Open vSwitch CI bbf517
* Mon Aug 02 2021 Open vSwitch CI <ovs-ci@redhat.com> - 2.15.0-31
Open vSwitch CI 4c16cd
- Merging upstream branch-2.15 [RH git: 88fb0bba8a]
Open vSwitch CI bbf517
    Commit list:
Open vSwitch CI bbf517
    b29b04f85f dpif-netdev: Fix offloads of modified flows.
Open vSwitch CI bbf517
    1d0b89ea7b dpif-netdev: Fix flow modification after failure.
Open vSwitch CI bbf517
Open vSwitch CI bbf517
Open vSwitch CI 693264
* Mon Jul 26 2021 Open vSwitch CI <ovs-ci@redhat.com> - 2.15.0-30
Open vSwitch CI 4c16cd
- Merging upstream branch-2.15 [RH git: a76a4dfca6]
Open vSwitch CI 693264
    Commit list:
Open vSwitch CI 693264
    8d84a4b166 netdev-offload-dpdk: Fix IPv6 rewrite cast-align warning.
Open vSwitch CI 693264
    f3f7849cbb daemon-unix: Fix leak of a fork error message.
Open vSwitch CI 693264
Open vSwitch CI 693264
Open vSwitch CI e6f46a
* Fri Jul 23 2021 Open vSwitch CI <ovs-ci@redhat.com> - 2.15.0-29
Open vSwitch CI 4c16cd
- Merging upstream branch-2.15 [RH git: 60c8b2a15b]
Open vSwitch CI e6f46a
    Commit list:
Open vSwitch CI e6f46a
    8aa0f03747 ovsdb-cs: Perform forced reconnects without a backoff.
Open vSwitch CI e6f46a
Open vSwitch CI e6f46a
Open vSwitch CI 301256
* Wed Jul 21 2021 Open vSwitch CI <ovs-ci@redhat.com> - 2.15.0-28
Open vSwitch CI 4c16cd
- Merging upstream branch-2.15 [RH git: 48a90081e8]
Open vSwitch CI 301256
    Commit list:
Open vSwitch CI 301256
    ee4e034dc9 datapath-windows:Correct checksum for DNAT action
Open vSwitch CI 301256
Open vSwitch CI 301256
Open vSwitch CI f83af5
* Sat Jul 17 2021 Open vSwitch CI <ovs-ci@redhat.com> - 2.15.0-27
Open vSwitch CI 4c16cd
- Merging upstream branch-2.15 [RH git: abdd952536]
Open vSwitch CI f83af5
    Commit list:
Open vSwitch CI f83af5
    72132a9403 bond: Fix broken rebalancing after link state changes.
Open vSwitch CI f83af5
    aa84cfe25d dpif-netlink: Fix report_loss() message.
Open vSwitch CI f83af5
    aec05f7cd1 ovsdb-server: Fix memleak when failing to read storage.
Open vSwitch CI f83af5
    05bdf11fc3 conntrack: Init hash basis first at creation.
Open vSwitch CI f83af5
    94e3b9d9ce netdev-linux: Ignore TSO packets when TSO is not enabled for userspace.
Open vSwitch CI f83af5
    842bfb899f conntrack: Handle already natted packets.
Open vSwitch CI f83af5
    ab873c1afe conntrack: Document all-zero IP SNAT behavior and add a test case.
Open vSwitch CI f83af5
    86d6a9ee14 python: Fix Idl.run change_seqno update.
Open vSwitch CI f83af5
    1ba0c83655 bridge: Use correct (legacy) role names in database.
Open vSwitch CI f83af5
    7e5293ea5a Prepare for 2.15.2.
Open vSwitch CI f83af5
    b855bbc326 Set release date for 2.15.1.
Open vSwitch CI f83af5
    007a4f48fe dpif-netdev: Apply subtable-lookup-prio-set on any datapath.
Open vSwitch CI f83af5
    c93358a563 netlink: removed incorrect optimization
Open vSwitch CI f83af5
    31626579fa ovs-actions.xml: Add missing bracket.
Open vSwitch CI f83af5
    30596ec278 netdev-offload-tc: Use nl_msg_put_flag for OVS_TUNNEL_KEY_ATTR_CSUM.
Open vSwitch CI f83af5
    728980291a conntrack: Increment coverage counter for all bad checksum cases.
Open vSwitch CI f83af5
Open vSwitch CI f83af5
Open vSwitch CI f83af5
* Wed Jun 30 2021 Timothy Redaelli <tredaelli@redhat.com> - 2.15.0-26
Open vSwitch CI 4c16cd
- Use 10 characters of hash to generate the changelog [RH git: d89d9cd0f1]
Open vSwitch CI f83af5
    This is needed to avoid that the history changes since the default
Open vSwitch CI f83af5
    changes from time to time
Open vSwitch CI f83af5
Open vSwitch CI f83af5
Open vSwitch CI f83af5
* Wed Jun 30 2021 Timothy Redaelli <tredaelli@redhat.com> - 2.15.0-25
Open vSwitch CI 4c16cd
- Merging 881d71ea22e datapath-windows: Specify external include .. [RH git: 8ad5538601]
Open vSwitch CI f83af5
    Commit list:
Open vSwitch CI f83af5
    881d71ea22e datapath-windows: Specify external include paths
Open vSwitch CI f83af5
    934668c295e Remove Python 2 leftovers.
Open vSwitch CI f83af5
    aaa59670556 ipf: Fix a use-after-free error, and remove the 'do_not_steal' flag.
Open vSwitch CI f83af5
Open vSwitch CI f83af5
Open vSwitch CI 057528
* Fri Jun 11 2021 Open vSwitch CI <ovs-ci@redhat.com> - 2.15.0-24
Open vSwitch CI 4c16cd
- Merging upstream branch-2.15 [RH git: 78ba3622d9]
Open vSwitch CI 057528
    Commit list:
Open vSwitch CI 057528
    bc0aa785a8 ovsdb-idl: Fix the database update signaling if it has never been connected.
Open vSwitch CI 057528
    559426d2b0 ofproto: Fix potential NULL dereference in ofproto_ct_*_zone_timeout_policy().
Open vSwitch CI 057528
    f31070e27e ofproto: Fix potential NULL dereference in ofproto_get_datapath_cap().
Open vSwitch CI 057528
Open vSwitch CI 057528
Open vSwitch CI 50666c
* Thu May 27 2021 Open vSwitch CI <ovs-ci@redhat.com> - 2.15.0-23
Open vSwitch CI 4c16cd
- Merging upstream branch-2.15 [RH git: ba3ba16d42]
Open vSwitch CI 50666c
    Commit list:
Open vSwitch CI 50666c
    8995d53112 dpif-netlink: Fix send of uninitialized memory in ct limit requests.
Open vSwitch CI 50666c
    0c056891c2 ofproto-dpif: Fix use of uninitialized attributes of timeout policy.
Open vSwitch CI 50666c
    121a67cad3 netdev-linux: Fix use of uninitialized LAG master name.
Open vSwitch CI 50666c
    5f27ff1cfa ofp_actions: Fix set_mpls_tc formatting.
Open vSwitch CI 50666c
Open vSwitch CI 50666c
Open vSwitch CI c5f476
* Wed May 19 2021 Open vSwitch CI <ovs-ci@redhat.com> - 2.15.0-22
Open vSwitch CI 4c16cd
- Merging upstream branch-2.15 [RH git: 8b6b82c2ed]
Open vSwitch CI c5f476
    Commit list:
Open vSwitch CI c5f476
    e87adce83c dpif-netdev: Remove meter rate from the bucket size calculation.
Open vSwitch CI c5f476
Open vSwitch CI c5f476
Open vSwitch CI 8bef66
* Sat May 15 2021 Open vSwitch CI <ovs-ci@redhat.com> - 2.15.0-21
Open vSwitch CI 4c16cd
- Merging upstream branch-2.15 [RH git: c7b9daa243]
Open vSwitch CI 8bef66
    Commit list:
Open vSwitch CI 8bef66
    a3ee3258e2 ovs-ofctl: Fix coredump when using "add-groups" command.
Open vSwitch CI 8bef66
Open vSwitch CI 8bef66
Open vSwitch CI 8bef66
* Fri May 14 2021 Open vSwitch CI <ovs-ci@redhat.com> - 2.15.0-20
Open vSwitch CI 4c16cd
- Merging upstream branch-2.15 [RH git: 69559c9283]
Open vSwitch CI 8bef66
    Commit list:
Open vSwitch CI 8bef66
    c5d2a62750 raft: Transfer leadership before creating snapshots.
Open vSwitch CI 8bef66
Open vSwitch CI 8bef66
Open vSwitch CI fe11c6
* Fri May 14 2021 Open vSwitch CI <ovs-ci@redhat.com> - 2.15.0-19
Open vSwitch CI 4c16cd
- Merging upstream branch-2.15 [RH git: 6aa50cbb89]
Open vSwitch CI fe11c6
    Commit list:
Open vSwitch CI fe11c6
    553d523929 ovsdb-cs: Consider all tables when computing expected cond seqno.
Open vSwitch CI fe11c6
    8d0aebcc49 dpdk: Use DPDK 20.11.1 release.
Open vSwitch CI fe11c6
Open vSwitch CI fe11c6
Open vSwitch CI cd14f6
* Wed May 12 2021 Timothy Redaelli <tredaelli@redhat.com> - 2.15.0-18
Open vSwitch CI 4c16cd
- Merge tag 'b6167fabb202faa025946348f514e369dba5853b' into fast-datapath-rhel-8 [RH git: 1cdc5555f9]
Open vSwitch CI cd14f6
    dpdk-20.11.1
Open vSwitch CI cd14f6
Open vSwitch CI cd14f6
Open vSwitch CI 925d7e
* Tue May 11 2021 Open vSwitch CI <ovs-ci@redhat.com> - 2.15.0-17
Open vSwitch CI 4c16cd
- Merging upstream branch-2.15 [RH git: 120e2a5d87]
Open vSwitch CI 925d7e
    Commit list:
Open vSwitch CI 925d7e
    21452722b7 github: Fix up malformed /etc/hosts.
Open vSwitch CI 925d7e
    90d1984b99 doc: automake: Add support for sphinx 4.0.
Open vSwitch CI 925d7e
    38a8bed703 cirrus: Look up existing versions of python dependencies.
Open vSwitch CI 925d7e
Open vSwitch CI 925d7e
Open vSwitch CI 2ba8cb
* Mon May 10 2021 Open vSwitch CI <ovs-team@redhat.com> - 2.15.0-16
Open vSwitch CI 4c16cd
- Merging upstream branch-2.15 [RH git: dbd5501f48]
Open vSwitch CI 2ba8cb
    Commit list:
Open vSwitch CI 2ba8cb
    255c38c745 ofp-group: Use big-enough buffer in ofputil_format_group().
Open vSwitch CI 2ba8cb
Open vSwitch CI 2ba8cb
Open vSwitch CI d251a9
* Wed Apr 21 2021 Open vSwitch CI <ovs-team@redhat.com> - 2.15.0-15
Open vSwitch CI 4c16cd
- Merging upstream branch-2.15 [RH git: 85f5aecb83]
Open vSwitch CI d251a9
    Commit list:
Open vSwitch CI d251a9
    f2c0744d2f ofproto/ofproto-dpif-sflow: Check sflow agent in case of race
Open vSwitch CI d251a9
Open vSwitch CI d251a9
Open vSwitch CI d251a9
* Tue Apr 20 2021 Aaron Conole <aconole@redhat.com> - 2.15.0-14
Open vSwitch CI 4c16cd
- Merging ct_state_fix [RH git: f847e4fac1]
Open vSwitch CI d251a9
    Commit list:
Open vSwitch CI d251a9
    09a2081067 netdev-offload-tc: Add support for ct_state flag rel.
Open vSwitch CI d251a9
    423048a34f netdev-offload-tc: Add support for ct_state flags inv and rpl
Open vSwitch CI d251a9
Open vSwitch CI d251a9
Open vSwitch CI d251a9
* Tue Apr 20 2021 Aaron Conole <aconole@redhat.com> - 2.15.0-13
Open vSwitch CI 4c16cd
- ab157ef34d dpif: Fix use of uninitialized execute hash. b1fded0208 odp-util: Fix use of uninitialized erspan metadata. f473ee5689 dpif-netlink: Fix using uninitialized info.tc_modify_flow_deleted in out label. 2721606bd4 netdev-offload-tc: Probe for support for any of the ct_state flags. 091bc48d9c compat: Add ct_state flags definitions. [RH git: e4336ed96c]
Open vSwitch CI d251a9
Open vSwitch CI d251a9
Open vSwitch CI d251a9
* Tue Apr 20 2021 Timothy Redaelli <tredaelli@redhat.com> - 2.15.0-12
Open vSwitch CI 4c16cd
- Fix typo in rh-mock-srpm [RH git: 85631264db]
Open vSwitch CI d251a9
    Thanks fbl for reporting
Open vSwitch CI d251a9
Open vSwitch CI d251a9
Open vSwitch CI b3acf0
* Wed Apr 14 2021 Open vSwitch CI <ovs-team@redhat.com> - 2.15.0-11
Open vSwitch CI 4c16cd
- Merging upstream branch-2.15 [RH git: 71c33052b9]
Open vSwitch CI b3acf0
    Commit list:
Open vSwitch CI b3acf0
    1307e90e3f Add test cases for ingress_policing parameters
Open vSwitch CI b3acf0
    d184c6ce67 netdev-linux: correct unit of burst parameter
Open vSwitch CI b3acf0
Open vSwitch CI b3acf0
Open vSwitch CI b3acf0
* Wed Apr 07 2021 Michael Santana <msantana@redhat.com> - 2.15.0-10
Open vSwitch CI 4c16cd
- Make changelog in spec file more informative [RH git: f6b2db4dd3]
Open vSwitch CI b3acf0
    This is done by adding the body of the commit message to the changelong.
Open vSwitch CI b3acf0
    The body is indented and has extra spacing separating each entry in the
Open vSwitch CI b3acf0
    changelog to make each one more discernible since now they could be
Open vSwitch CI b3acf0
    longer
Open vSwitch CI b3acf0
    
Open vSwitch CI b3acf0
    Signed-off-by: Michael Santana <msantana@redhat.com>
Open vSwitch CI b3acf0
Open vSwitch CI b3acf0
Open vSwitch CI 91e748
* Thu Apr 01 2021 Open vSwitch CI <ovs-team@redhat.com> - 2.15.0-9
Open vSwitch CI 4c16cd
- Merging upstream branch-2.15 [RH git: 504b67ec8d]
Open vSwitch CI b3acf0
    Commit list:
Open vSwitch CI b3acf0
    cab998e500 ipsec: Fix IPv6 default route support for Libreswan.
Open vSwitch CI b3acf0
Open vSwitch CI 91e748
Open vSwitch CI 78f366
* Thu Apr 01 2021 Open vSwitch CI <ovs-team@redhat.com> - 2.15.0-8
Open vSwitch CI 4c16cd
- Merging upstream branch-2.15 [RH git: 147a0970be]
Open vSwitch CI b3acf0
    Commit list:
Open vSwitch CI b3acf0
    b9ab7827ec ovsdb-idl: Mark arc sources as updated when destination is deleted.
Open vSwitch CI b3acf0
    c82d2e3fbc ovsdb-idl: Preserve references for deleted rows.
Open vSwitch CI b3acf0
    9a24ecbc2a ovsdb-idl.at: Make test outputs more predictable.
Open vSwitch CI b3acf0
Open vSwitch CI 78f366
Open vSwitch CI e0c144
* Wed Mar 31 2021 Open vSwitch CI <ovs-team@redhat.com> - 2.15.0-7
Open vSwitch CI 4c16cd
- Merging upstream branch-2.15 [RH git: cbb083630e]
Open vSwitch CI b3acf0
    Commit list:
Open vSwitch CI b3acf0
    8d71feb1b8 ovs-ofctl: Fix segfault due to bad meter n_bands.
Open vSwitch CI b3acf0
Open vSwitch CI e0c144
Open vSwitch CI 0aa018
* Wed Mar 31 2021 Open vSwitch CI <ovs-team@redhat.com> - 2.15.0-6
Open vSwitch CI 4c16cd
- Merging upstream branch-2.15 [RH git: 221cf613d7]
Open vSwitch CI b3acf0
    Commit list:
Open vSwitch CI b3acf0
    3a716b1d9c dpif-netdev: Refactor and fix the buckets calculation.
Open vSwitch CI b3acf0
    73ece9c87b dpif-netdev: Fix the meter buckets overflow.
Open vSwitch CI b3acf0
Open vSwitch CI 0aa018
Open vSwitch CI daaf06
* Mon Mar 22 2021 Kevin Traynor <ktraynor@redhat.com> - 2.15.0-5
Open vSwitch CI 4c16cd
- dpif-netdev: Allow PMD auto load balance with cross-numa. [RH git: 47e2824210] (#1941673)
Open vSwitch CI b3acf0
    commit ec68a877db5bbfba49ddeb9929479c033420ea6b
Open vSwitch CI b3acf0
    Author: Kevin Traynor <ktraynor@redhat.com>
Open vSwitch CI b3acf0
    Date:   Thu Mar 18 11:34:04 2021 +0000
Open vSwitch CI b3acf0
    
Open vSwitch CI b3acf0
        dpif-netdev: Allow PMD auto load balance with cross-numa.
Open vSwitch CI b3acf0
    
Open vSwitch CI b3acf0
        Previously auto load balance did not trigger a reassignment when
Open vSwitch CI b3acf0
        there was any cross-numa polling as an rxq could be polled from a
Open vSwitch CI b3acf0
        different numa after reassign and it could impact estimates.
Open vSwitch CI b3acf0
    
Open vSwitch CI b3acf0
        In the case where there is only one numa with pmds available, the
Open vSwitch CI b3acf0
        same numa will always poll before and after reassignment, so estimates
Open vSwitch CI b3acf0
        are valid. Allow PMD auto load balance to trigger a reassignment in
Open vSwitch CI b3acf0
        this case.
Open vSwitch CI b3acf0
    
Open vSwitch CI b3acf0
        Acked-by: Eelco Chaudron <echaudro@redhat.com>
Open vSwitch CI b3acf0
        Acked-by: David Marchand <david.marchand@redhat.com>
Open vSwitch CI b3acf0
        Tested-by: Sunil Pai G <sunil.pai.g@intel.com>
Open vSwitch CI b3acf0
        Acked-by: Flavio Leitner <fbl@sysclose.org>
Open vSwitch CI b3acf0
        Signed-off-by: Kevin Traynor <ktraynor@redhat.com>
Open vSwitch CI b3acf0
        Signed-off-by: Ilya Maximets <i.maximets@ovn.org>
Open vSwitch CI b3acf0
    
Open vSwitch CI b3acf0
    Reported-at: https://bugzilla.redhat.com/show_bug.cgi?id=1941673
Open vSwitch CI b3acf0
    Conflicts: Commit backported from upstream master branch. Commit not
Open vSwitch CI b3acf0
    present on upstream branch-2.15. Removed NEWS file update as could cause
Open vSwitch CI b3acf0
    future merge conflicts.
Open vSwitch CI b3acf0
Open vSwitch CI daaf06
Open vSwitch CI daaf06
* Fri Mar 19 2021 Kevin Traynor <ktraynor@redhat.com> - 2.15.0-4
Open vSwitch CI 4c16cd
- redhat: Update docs for test builds [RH git: 7620c95a37]
Open vSwitch CI b3acf0
Open vSwitch CI daaf06
Open vSwitch CI fe1a04
* Tue Mar 16 2021 Open vSwitch CI <ovs-team@redhat.com> - 2.15.0-3
Open vSwitch CI 4c16cd
- Merging upstream branch-2.15 [RH git: c4fc969d7e]
Open vSwitch CI b3acf0
    Commit list:
Open vSwitch CI b3acf0
    d5dc16670e python: Send notifications after the transaction ends.
Open vSwitch CI b3acf0
    556e65e179 ovs-ctl: Allow recording hostname separately.
Open vSwitch CI b3acf0
    3982aee455 dpif-netdev: Fix crash when add dp flow without in_port field.
Open vSwitch CI b3acf0
    02096f1b37 Documentation: Fix DPDK qos example.
Open vSwitch CI b3acf0
    8f1dda3164 raft: Report disconnected in cluster/status if candidate retries election.
Open vSwitch CI b3acf0
    79e9749daa raft: Reintroduce jsonrpc inactivity probes.
Open vSwitch CI b3acf0
    2e84a4adb1 ovsdb-cs: Fix use-after-free for the request id.
Open vSwitch CI b3acf0
    d2c311dce8 connmgr: Check nullptr inside ofmonitor_report().
Open vSwitch CI b3acf0
    7307af6908 ovsdb-client: Fix needs-conversion when SERVER is explicitly specified.
Open vSwitch CI b3acf0
    2a7a635718 windows, tests: Modify service test.
Open vSwitch CI b3acf0
    9b48549c68 netdev-linux: Fix indentation.
Open vSwitch CI b3acf0
    861a9f3b4d ofproto-dpif-upcall: Fix ukey leak on udpif destroy.
Open vSwitch CI b3acf0
    339044c3cc ci: Use parallel build for distcheck.
Open vSwitch CI b3acf0
    38744b1bcb ofp-actions: Fix use-after-free while decoding RAW_ENCAP.
Open vSwitch CI b3acf0
    33abe6c052 Prepare for 2.15.1.
Open vSwitch CI b3acf0
Open vSwitch CI fe1a04
Open vSwitch CI fe1a04
* Tue Feb 16 2021 Timothy Redaelli <tredaelli@redhat.com> - 2.15.0-2
Open vSwitch CI 4c16cd
- build with ipsec support by default [RH git: 105482aee7]
Open vSwitch CI b3acf0
Open vSwitch CI fe1a04
Open vSwitch CI fe1a04
* Mon Feb 15 2021 Timothy Redaelli <tredaelli@redhat.com> - 2.15.0-1
Open vSwitch CI 4c16cd
- Use official 2.15.0 tarball [RH git: 9e107c6359]
Open vSwitch CI b3acf0
Open vSwitch CI fe1a04