From b8f236fe793d846a890d38a085c01f11cdfc3686 Mon Sep 17 00:00:00 2001 From: Open vSwitch CI Date: Mar 28 2023 03:40:07 +0000 Subject: Import openvswitch2.17-2.17.0-84 from Fast DataPath --- diff --git a/SOURCES/openvswitch-2.17.0.patch b/SOURCES/openvswitch-2.17.0.patch index d98f087..ee7f07d 100644 --- a/SOURCES/openvswitch-2.17.0.patch +++ b/SOURCES/openvswitch-2.17.0.patch @@ -52572,7 +52572,7 @@ index 9f35713ef5..0b543cf222 100644 dpif_netdev_enumerate, dpif_netdev_port_open_type, diff --git a/lib/dpif-netlink.c b/lib/dpif-netlink.c -index 71e35ccdda..6977888bb4 100644 +index 71e35ccdda..f95e8fa4f9 100644 --- a/lib/dpif-netlink.c +++ b/lib/dpif-netlink.c @@ -85,7 +85,7 @@ enum { MAX_PORTS = USHRT_MAX }; @@ -52766,7 +52766,7 @@ index 71e35ccdda..6977888bb4 100644 + n_handlers = MIN(next_prime_num, total_cores); + } + -+ return n_handlers; ++ return MAX(n_handlers, 1); +} + static int diff --git a/SPECS/openvswitch2.17.spec b/SPECS/openvswitch2.17.spec index c9d07cd..d54532b 100644 --- a/SPECS/openvswitch2.17.spec +++ b/SPECS/openvswitch2.17.spec @@ -63,7 +63,7 @@ Summary: Open vSwitch Group: System Environment/Daemons daemon/database/utilities URL: http://www.openvswitch.org/ Version: 2.17.0 -Release: 82%{?dist} +Release: 84%{?dist} # Nearly all of openvswitch is ASL 2.0. The bugtool is LGPLv2+, and the # lib/sflow*.[ch] files are SISSL @@ -438,8 +438,8 @@ popd %install rm -rf $RPM_BUILD_ROOT -make -C build-shared install-libLTLIBRARIES DESTDIR=$RPM_BUILD_ROOT -make -C build-static install DESTDIR=$RPM_BUILD_ROOT +make -C build-shared install sbin_PROGRAMS=ovsdb/ovsdb-server DESTDIR=$RPM_BUILD_ROOT +make -C build-static install bin_PROGRAMS= sbin_PROGRAMS=vswitchd/ovs-vswitchd DESTDIR=$RPM_BUILD_ROOT install -d -m 0755 $RPM_BUILD_ROOT%{_rundir}/openvswitch install -d -m 0750 $RPM_BUILD_ROOT%{_localstatedir}/log/openvswitch @@ -749,6 +749,17 @@ exit 0 %endif %changelog +* Mon Mar 27 2023 Open vSwitch CI - 2.17.0-84 +- Merging upstream branch-2.17 [RH git: 2ae164f82b] + Commit list: + d6d1cad6a7 dpif-netlink: Always create at least 1 handler. + + +* Mon Mar 20 2023 Timothy Redaelli - 2.17.0-83 +- Install shared linked binaries (all, but ovs-vswitchd) [RH git: 57f5be87e0] (#2159631) + Resolves: #2159631 + + * Wed Mar 15 2023 Open vSwitch CI - 2.17.0-82 - Merging upstream branch-2.17 [RH git: bf382f68d4] Commit list: