summaryrefslogtreecommitdiffstats
path: root/recipes-networking/openvswitch
diff options
context:
space:
mode:
authorBruce Ashfield <bruce.ashfield@gmail.com>2022-03-28 13:14:35 -0400
committerBruce Ashfield <bruce.ashfield@gmail.com>2022-03-28 13:16:23 -0400
commit239dba39f8030c9494c52cfdc66e49472bde9d7a (patch)
treebe537d2b4d29160c164337055f3d289186389054 /recipes-networking/openvswitch
parentebd4e07b7749475697c090ac46997363af1f90cb (diff)
downloadmeta-virtualization-239dba39f8030c9494c52cfdc66e49472bde9d7a.tar.gz
ovs: update to v2.17.0
Along with patch refreshes, and a drop since it is now upstream .. Bumping ovs to version v2.17.0-30-g2404d4536, which comprises the following commits: 2404d4536 system-traffic.at: Fix flaky DNAT load balancing test. 6b8adfdd8 dpif-netdev: Keep orig_in_port as a field of the flow. 6098b7f25 tests: Fix incorrect usage of OVS_WAIT_UNTIL. cf9018d37 odp-util: Fix output for tc to be equal to kernel. 992de2406 netdev-offload-tc: Fix IP and port ranges in flower returns. 7e26796c0 netdev-offload-tc: Fix use of ICMP values instead of masks defines. e319e2706 netdev-offload-tc: Always include conntrack information to tc. 51ef81ad7 netdev-offload-tc: Check for valid netdev ifindex in flow_put. 974253dc2 netdev-offload-tc: Set the correct VLAN_VID and VLAN_PCP masks. c43c159ae netdev-offload-tc: Add debug logs on tc rule verify failures. d34622a03 tc: Keep header rewrite actions order. 5255713d1 faq: Update OVS/DPDK version table for OVS 2.15/2.16 05cf36a62 system-dpdk: Fix mfex autovalidator tests. 87540e3b9 ofp-prop: Silence the 'may be uninitialized' warning. 812164ade tests: Ignore log about failing to set NETLINK_EXT_ACK. ae51ccc12 ovsdb-cluster.at: Avoid test failures due to different hashing. f33cde23c ofproto: Use xlate map for uuid lookups. 6ac255496 ofproto: Add refcount to ofproto to fix ofproto use-after-free. db0cc8be3 ofproto-dpif: Trigger revalidation when ipfix config set. 31b86e5c9 conntrack: Prefer dst port range during unique tuple search. b761b532c conntrack: Select correct sport range for well-known origin sport. 78bd058c3 ipsec: StrongSwan report connection update failures to ovs logs. aa05596df ipsec: Libreswan report connection failures to ovs logs. 427776cea system-tso: Skip encap tests when userspace TSO is enabled. 66d16e288 tc: Fix stats byte count on fragmented packets. b63c41f31 compat: Add gen_stats include to define tc hw stats. c531b3828 ovsdb: raft: Fix inability to join the cluster after interrupted attempt. 498cedc48 reconnect: Fix broken inactivity probe if there is no other reason to wake up. 5dc1423d8 datapath-windows: Fix NXM_OF_IP_TOS issue 91c0f0068 Prepare for 2.17.1. db7c86e5d Set release date for 2.17.0. 6dd933478 Documentation: Update USDT documentation to include systemtap dependency. 8b5136a89 ovsdb-idl: Fix use-after-free when destroying an IDL loop. a3182552c dpif-netdev: Use dp_netdev reference in offload threads. 691295d5a dpif-netdev: Fix a race condition in deletion of offloaded flows. bebbf0d6e dpif-netdev: Move port flush after datapath reconfiguration. e03a14c89 dpif-netdev-dpcls: Make subtable reprobe thread-safe. 036957015 ci: Fix typo in variable name. 76da23462 dp-packet: Ensure packet base is always non-NULL. 2cd30fd6b bfd: lldp: stp: Fix misaligned packet field access. 88705f1ba ovsdb-idlc: Avoid accessing member within NULL idl index cursors. b006e8ebb stopwatch: Fix buffer underflow when computing percentiles. a6ba4b037 dpif-netdev: Fix misaligned access. 6da79614a treewide: Don't pass NULL to library functions that expect non-NULL. bee8ec09d system-traffic.at: Avoid sporadic failures during conntrack IPv6 HTTP/FTP tests. 3626f3ca6 system-traffic.at: Do not use ranges with broadcast address. 2035b1b33 system-dpdk.at: Add warning log in mfex fuzzy test. 095f87c24 ofproto: Fix ipfix not always sampling on egress. fbeef2794 tc: Fix incorrect TC rule for decap+encap datapath flow. 54bca0430 dpif-netdev: fix vlan and ipv4 parsing in avx512 aa713d9b4 ci: Install wheel before installing any other python packages. 573230ec0 odp-util: Fix tunnel key attr for GTP-U. 4638cb58f ovsdb-idl: Only process successful txn in ovsdb_idl_loop_run. 87f67448b ofproto-dpif-upcall: Fix n_revalidators on upcall show. 268402b47 acinclude: Detect avx512 vpopcntdq compiler support. 1ff8fe347 Documentation: Fix userspace Tx steering section. 44963a78e vswitchd.xml: Add missing tx-steering PMD option. 17cedcb2d ovsdb-idl: ovsdb_idl_loop_destroy must also destroy the committing txn. 06d484409 ofproto-dpif-xlate: Fix packet drops with decap action on MPLS Multicast. 69155eb20 tests: Fix cosmetic errors in system-traffic.at. 62eeea709 python: idl: Clear last_id on reconnect if condition changes in-flight. ecdb9ca81 ovsdb-cs: Clear last_id on reconnect if condition changes in-flight. f08013b5e python: idl: Resend requested but not acked conditions when reconnecting. 15bb5a978 ofp-flow: Skip flow reply if it exceeds the maximum message size. 4fdd6666a ovsdb: transaction: Keep one entry in the transaction history. 553f566d9 ovsdb-cs: Fix ignoring of the last id from the initial monitor reply. 167c2ff0e ofproto-dpif: Fix issue with non-reversible actions on a patch ports. b8dba6594 NEWS: Fix some typo. b1b77967f ovs-monitor-ipsec: Fix generated strongSwan ipsec.conf for IPv6. 109d02455 system-dpdk: Fix MFEX logs check. 6b1cfa209 datapath-windows: Pickup Ct tuple as CT lookup key in function OvsCtSetupLookupCtx 280d8de05 Prepare for 2.17.0. f20abde5a netdev-dpdk: Remove rte-flow API access locks. b0b6b7b46 dpif-netdev: Use one or more offload threads. 7daa50346 dpif-netdev: Replace port mutex by rwlock. d85b9230a dpif-netdev: Make megaflow and mark mappings thread objects. ec4ac6258 dpif-netdev: Use lockless queue to manage offloads. b3e029f7c netdev-offload-dpdk: Protect concurrent offload destroy/query. 54dcf60e6 netdev-offload-dpdk: Lock rte_flow map access. 7851e602c netdev-offload-dpdk: Use per-thread HW offload stats. 5b0aa5577 dpif-netdev: Execute flush from offload thread. d68d2ed46 dpif-netdev: Introduce tagged union of offload requests. 73ecf098d dpif-netdev: Use id-fpool for mark allocation. 528a8ab62 dpif-netdev: Postpone flow offload item freeing. 55dc4ef17 dpif-netdev: Quiesce offload thread periodically. 62c2d8a67 netdev-offload: Add multi-thread API. 2eac33c6c id-fpool: Module for fast ID generation. 5396ba5b2 mpsc-queue: Module for lock-free message passing. 5878b9252 ovs-atomic: Expose atomic exchange operation. 83823ae32 dpif-netdev: Implement hardware offloads stats query. 9ac3d951b mov-avg: Add a moving average helper structure. e4543c7b1 dpif-netdev: Rename offload thread structure. 9ab104718 dpctl: Add function to read hardware offload statistics. 0e6366c23 netdev-offload-dpdk: Implement hw-offload statistics read. adbd4301a netdev-offload-dpdk: Use per-netdev offload metadata. 1088f4e7f netdev: Add flow API uninit function. aec1081c7 tests: Add ovs-barrier unit test. 59b8f9f8f dpif-netdev: Rename flow offload thread. 6207205e5 ovs-thread: Fix barrier use-after-free. 1b9fd884f Documentation: Remove experimental tag for PMD ALB. 09192a815 Documentation: Update PMD Auto Load Balance section. 5cc052435 Documentation: Update PMD thread statistics. f0adea3fc Documentation: Minor spelling and grammar fixes. 4da71121d Documentation: Fix Rx/Tx queue configuration section. 85d3785e6 utilities: Add netlink flow operation USDT probes and upcall_cost script. 51ec98635 utilities: Add upcall USDT probe and associated script. ff4c712d4 Documentation: Add USDT documentation and bpftrace example. 512fab8f2 openvswitch: Define the OVS_STATIC_TRACE() macro. 191013cae configure: Add --enable-usdt-probes option to enable USDT probes. 844f14181 dpif-netdev.at: Add test for Tx packet steering. c18e707b2 dpif-netdev: Introduce hash-based Tx packet steering mode. 31e67c998 dpif-netdev: Introduce Tx queue mode. e97112ce7 netdev-dummy: Introduce per rxq/txq statistics. eff740b14 ofproto-dpif: Fix memory leak in dpif/show-dp-features appctl. 1917ace89 Encap & Decap actions for MPLS packet type. 4a6a47346 netlink-socket: Log extack error messages in netlink transactions. eb1ab5357 netdev-linux: Use matchall classifier for ingress policing. 3b489a3b1 dpif-netdev: Improve loading of packet data for undersized packets. 8bc135d2d acinclude: Provide better error info when linking fails with DPDK. 1140c87e2 netdev-dpdk: Expose per rxq/txq basic statistics. f260db1ef netdev-dpdk: Fix statistics when changing Rx/Tx queues count. b84386fa9 dpdk: Support running PMD threads on any core. 356f36206 tests/oss-fuzz: Fix the arguments of parse_tcp_flags. ddca1eb3a odp-util: Stop action list parsing if already oversized. 6e50c1651 dpif-netdev: Avoid hw_miss_packet_recover() for devices with no support. e7e9973b8 dpif-netdev: Forwarding optimization for flows with a simple match. 46d44cf3b python: idl: Add monitor_cond_since support. 0d1ffb775 checkpatch: Detect "trojan source" attack. 428b11caa utilities: Add another GDB macro for ovs-vswitchd. 2f2ae5b6b tests: Fix endianness in netlink policy test fixtures. 0b6d2faac ci: Remove -Wno-cast-align from CI. d652fc6a5 checkpatch: Correct line count in error messages. 28ef2535c dpif-netdev-extract: Change availability log level to DBG. 38c53dd17 AUTHORS: Add Nobuhiro MIKI. 9a834205a docs: afxdp: Remove duplicated lines. d446dcb7e system-dpdk: Refactor common logs matching. b366fa2f4 dpif-netdev: Call cpuid for x86 isa availability. 11441385c bridge: Fix incorrect configuration of netdev's dpif type. ec2aa2ab4 ofproto-dpif-xlate: Snoop ingress packets and update neigh cache if needed. b723b9320 tnl-neigh-cache: Do not refresh the entry while revalidating. 02f95638a tnl-neigh-cache: Add tnl/neigh/aging command. f527aef14 tnl-neigh-cache: Read/write expires atomically. f0266292b dpif-netdev: Improve handling of IP/TCP in avx512 mfex. 893693e80 AUTHORS: Add Nir Anteby. 7617d0583 netdev-offload-dpdk: Add support for matching on gre fields. 5f60741dc netdev-offload-dpdk: Support tnl_pop for gre tunnel. a32cb78b5 netdev-dpdk: Add flow_api support for netdev gre vports. 827904146 netdev-offload-dpdk: Refactor get_vport_netdev(). 76527525e AUTHORS: Update email for Alin Serdean. 38b42aa93 MAINTAINERS: Move Joe to emeritus status. 269b927fd dpdk: Use --in-memory by default. b5d2dbdbb system-dpdk: Fix race in vhost-user tests. 9827312fa docs: Re-work the documentation around CPU ISA optimizations. ed9778e94 dpif-netdev: Fix the autovalidator output for the miniflow extract. 339f97044 ovsdb: storage: Randomize should_snapshot checks when the minimum time passed. bf07cc9cd raft: Only allow followers to snapshot. 20a4f546f dpif-netdev: Use PMD context to get the port for HW miss recovery. 17346b389 dpdk: Update to use DPDK v21.11. 72745ab0c compat: handle NF_REPEAT error on nf_conntrack_in. 18db7ec5e system-dpdk: Improve vhost-user ping tests reliability. 4f19a78a6 netdev-vport: Fix userspace tunnel ioctl(SIOCGIFINDEX) info logs. 4a7b58163 alb.at: Increase time/warp. 09c4449b2 alb.at: Check for log from correct line number. 1f5749c79 flow: Consider dataofs when parsing TCP packets. d4bed9596 tests/flowgen: Fix packet data endianness. e40982468 dpif-netlink: Improve feature negotiation for older kernels. 4490792dd ofproto-dpif: Increase dp_hash default max buckets. 91e1ff5dd ovsdb-idl: Don't reparse orphaned rows. 149169836 ofproto: Fix resource usage explosion due to removal of large number of flows. a05883b89 ofproto: Fix resource usage explosion while processing bundled FLOW_MOD. 79953a57e stream-ssl: Avoid unnecessary memory copies on send. dec429168 ovsdb-data: Consolidate ovsdb atom and json strings. 9d29990c2 json: Inline clone and destroy functions. 19aa70168 tests/flowgen: Fix length field of 802.2 data link header. 024ba5257 AUTHORS: Add Mike Pattrick. 958ca7ba3 ovs-tcpdump: Improve performance with dummy interface. c60eec064 ovs-lib: Backup and remove existing DB when joining cluster. c041042c1 python: idl: Avoid pre-allocating column defaults. 2fe20d0be docs/dpdk: Fix install doc. 29f8dc629 AUTHORS: Add Salvatore Daniele. f88ee78e0 match: Do not print "igmp" match keyword. 59622fd1b ovs-save: Save igmp flows in ofp_parse syntax. 3b2982c42 faq: Update OVS/DPDK version table for OVS 2.13/2.14. 72fbb90af ofproto-dpif-xlate: Add a trace log for tnl_port_build_header() error. 7b8aeadd6 ovsdb-idl: Re-parse backrefs of inserted rows only once. fb7a75e52 ofproto-dpif-xlate: Terminate native tunnels only on ports with IP addresses. 9fe0ce4f7 ofproto-dpif-xlate: Fix check_pkt_larger incomplete translation. a83a40609 dpif-netdev: Sync PMD ALB state with user commands. 513ed6570 system-traffic.at: Fix typo in conntrack zones tests. 23083672b dpif-netdev: Reset RxQ cycles history on PMD reload. bd0fec42a ofproto/bond: Improve admissibility debug readability. 71eb2ec44 datapath-windows: Reset flow key after Ipv4 fragments are reassembled 04b017e3a python: db: Avoid allocation of an attr dict/row+column. 695530d8f github: Remove workaround fixing up /etc/hosts. 113f925aa rhel: Use /run instead of /var/run. 9b20df73a dpctl: dpif: Allow viewing and configuring dp cache sizes. efd55eb34 dpctl: dpif: Add kernel datapath cache hit output. 317b1bfd7 ovsdb: Don't let transaction history grow larger than the database. 1bdda7b6d ovsdb-idl: Use functions to apply diff in place. 4dbff9f0a ovsdb: transaction: Incremental reassessment of weak refs. 066741d9c ovsdb-idl: Add memory report function. c5d384f77 checkpatch: Check if some tags are wrongly written. 9f2258360 AUTHORS: Add Somnath Chatterjee. 42c348184 dpif: Fix function pointer check for bond_add. 68543dd52 python: Replace pyOpenSSL with ssl. 3f550fa53 python: socket-util: Split inet_open_active function and use connect_ex. 56c3de3c6 datapath-windows:Reset PseudoChecksum value only for TX direction offload case 4bd375581 ci: Make linux-prepare trust system installs. fa2bc2bb7 github: Stick to python 3.9. a621ac5ea datapath-windows: add layers when adding the deferred actions c1fdb8347 ofproto-dpif-xlate: Fix zone set from non-frozen-metadata fields. 02aebad3f dpif-netdev: Fix use-after-free on PACKET_OUT of IP fragments. 01bca6dab tunnel-push-pop.at: Mask source port in tunnel header. 3486d81d1 AUTHORS: Add Remi Jouannet. f9f391982 ovs-ctl: Add missing description for --ovs-vswitchd-options and --ovsdb-server-options to usage(). 755cf31a3 dpdk-stub: Change the ERR log to DBG. d41cac475 docs/userspace-tunneling: Fix IP addresses for host2. 32899c824 acinclude: Use standardized DPDK component defines. b841e3cd4 dpif-netlink: Fix feature negotiation for older kernels. b12242e0e packets: Correct VXLAN_GPE_FLAGS_P macro name. bd056cb94 dpif-netdev: Fix pmd thread comments to include SMC. 4a6217fab datapath: handle DNAT tuple collision. cc0a87b11 pmd.at: Add test-cases for DPCLS and DPIF commands. 34fbdc410 python: idl: Avoid sending transactions when the DB is not synced up. 803ed12e3 ipf: release unhandled packets from the batch 13d05b8e5 sflow functions: fix unused parameter warnings for sflow functions 7796253db datapath-windows: Add file digest algorithm for signtool 5b7d54efc MAINTAINERS: Transition myself to emeritus status. a461bc62e datapath-windows:adjust Offset when processing packet in POP_VLAN action 4feb05140 fix typo in dpdk doc 429b114c5 ovsdb-data: Deduplicate string atoms. 32b51326e ovsdb-data: Add function to apply diff in-place. bb12b6317 ovsdb-data: Optimize subtraction of sets. 51946d222 ovsdb-data: Optimize union of sets. bfc6e9735 dpif-netdev: Remove OVS_UNUSED flag in functions for ct_zone limits. b2712d026 ovsdb: transaction: Use diffs for strong reference counting. 9e7081b14 cirrus: Reduce memory requirements for FreeBSD VMs. 849a40ccf netdev-linux: Fix a null pointer dereference in netdev_linux_notify_sock(). 81de3a81a bond: Check for NULL member in bond_member_set_enable(). 3168f328c pcap-file: Fix memory leak in ovs_pcap_open(). 22c95f9fe odp-util: Fix a null pointer dereference in odp_flow_format(). a566c02a2 odp-util: Fix a null pointer dereference in odp_nsh_key_from_attr__(). 5e86db383 netdev-dpdk: Fix RSS configuration for virtio. d0020c5e8 docs: Recommend the use of dpdkvhostuserclient ports. 16e5b51f2 docs: afxdp: Fix wrapping in QEMU CMDs. 0eeca50f0 Documentation: Cleanup PMD information. ee74a8b75 AUTHORS: Add Sergey Madaminov. aae08a577 include/windows/unistd.h: Fixed type cast warning on Windows. e05e1e3c0 netdev-offload-dpdk: Don't ignore frags as they are handled. 1318929f9 netdev-offload-dpdk: Support IPv6 fragmentation types. c1a5d0e2b netdev-offload-dpdk: Support IPv4 fragmentation types. 26b18f189 netdev-offload-dpdk: Add last attribute to patterns. a2fa8b289 conntrack: Remove the nat_action_info from the conn. fdef31fb7 hash: Fix compilation error on Fedora 34 with GCC 11 and -O0. ebcbb534e ipf: Fix only nat the first fragment in the reass process. 00d3d4a7d checkpatch: Avoid catastrophic backtracking. 372b790f1 AUTHORS: Add Tony van der Peet. 7e6b41ac8 dpif-netdev: Fix crash when PACKET_OUT is metered. 5c1cc74da rhel: Fix dual kernel rpm install for RHEL 8.4 944950dcc AUTHORS: Update Simon Horman 43e66fc27 ovsdb: monitor: Store serialized json in a json cache. 0de882954 raft: Don't keep full json objects in memory if no longer needed. b0bca6f27 json: Add support for partially serialized json objects. c2fb5bdae ovs-actions: Convert man page from xml to rST. 748010ff3 json: Optimize string serialization. 7847bf89e tests: Skip netlink policy test on non-Linux platforms. 7502849e9 ovsdb-idl: Add APIs to query if a table and a column is present. bfee9f6c0 netlink: Add support for parsing link layer address. 9ab5075bf Set release date for 2.16.0. 3fc34862b AUTHORS: Add Vlad Buslov. 6bb3f363d tc: Set action flags for tunnel_key release. d08c086e5 netlink-socket: Replace error with txn->error when logging nacked transactions. d9a5fb78d netdev-offload-dpdk: Initialize s_tnl dynamic string. 0363891d1 dynamic-string: Fix a crash in ds_clone(). 0b3a5d7ad dpif-netdev: fix memory leak in dpif and mfex commands 01cbe1ed4 dpif-netdev: fix memory leak in dpcls subtable set command d2ad305a6 dpif-netdev: Fix dead code in mfex command 8a5f055a0 docs/dpdk/bridge: Fix dpif-netdev/miniflow-parser-set formatting 96e513f55 dpif-netdev-unixctl.man: Document miniflow-parser-* CMDs 3004ebf20 dpif-netdev-unixctl.man: Document subtable-lookup-* CMDs c15c3df3a dpcls: fix build on compilers without AVX512-VPOPCNT ccb6cc20f AUTHORS.rst: Add Lin Huang. 765c8a774 AUTHORS.rst: Add Gaetan Rivet and Wentao Jia. 2480d09e9 ovsdb: transaction-forward: Fix initialization of the 'sent' hmap node. a3bd383e9 acinclude: Don't set AVX512-related configuration via CFLAGS. e21e9dcec dpif-netdev: Log flow modification in debug level. 6f69e0e30 dpif-netdev: Fix offloads of modified flows. 0d25621e4 dpif-netdev: Fix flow modification after failure. 8917010b0 dpif-netdev: Do not flush PMD offloads on reload. cd36a34f3 dpif-netdev: Fix non-atomic read of smc_enable_db. de15afa50 dpdk: Stop configuring socket-limit with the value of socket-mem. a8621f49d dpdk: Remove default values for socket-mem and limit. 1f7f55760 netdev-offload-dpdk: Fix vxlan vni cast-align warnings. e8cccd3a3 netdev-offload-dpdk: Fix IPv6 rewrite cast-align warning. b8b31d841 daemon-unix: Fix leak of a fork error message. daf627f45 ovsdb-cs: Perform forced reconnects without a backoff. 69b2bdfd3 system-dpdk.at: Fix module not found error for pyhton < 3.6. 43b7d960a netdev-dummy: Silence the 'may be uninitialized' warning. f05d6d623 ofproto-dpif-xlate: Fix continuations with OF instructions in OF1.1+. 8e808e7f1 datapath-windows:Correct checksum for DNAT action 954798752 Documentation: Remove duplicate words. 4703bc67b Prepare for post-2.16.0 (2.16.90). 45bd6d93f Prepare for 2.16.0. 298d4151f bond: Fix broken rebalancing after link state changes. b1e517bd2 dpif-netlink: Introduce per-cpu upcall dispatch. 485e3a13a dpif-netlink: Fix report_loss() message. 1325debb4 ofproto: Change type of n_handlers and n_revalidators. 3222a89d9 dpif-netdev: Report overhead busy cycles per pmd. 30bfba024 tests: Add new test for cross-numa pmd rxq assignments. 6193e0326 dpif-netdev: Allow pin rxq and non-isolate PMD. 3dd050909 dpif-netdev: Add group rxq scheduling assignment type. 4fb54652e dpif-netdev: Assign PMD for failed pinned rxqs. 0efefc4f9 dpif-netdev: Sort PMD list by core id for rxq scheduling. 58fed7e8d dpif-netdev: Make PMD auto load balance use common rxq scheduling. f577c2d04 dpif-netdev: Rework rxq scheduling code. ccc24fc88 ofproto-dpif: APIs and CLI option to add/delete static fdb entry. ae2424696 dpdk: Logs to announce removal of defaults for socket-mem and limit. 15329b728 flow: Count and dump invalid IP packets. 6545977ce ovs-rcu: Remove unused perthread mutex. cb4bff6ff Don't mangle shebangs when building DKMS RPM package. 1f38f9dcf AUTHORS: Add Adrian Guzowski. 2abd8148c Add ability to override default Release suffix in RPM packages. d28c5ca57 python: Add cooperative_yield() API method to Idl. 487253d5b python: Update bundled sortedcontainers to 2.4.0. 6c41bcb13 ci: Do not dump logs on error for GitHub Actions. 7ab851e1b dpif-netdev: Do not execute packet recovery without experimental support. a72c1dfbd dpif/dpcls: limit count subtable search info logs 26fbd1a1b AUTHORS: Add Cian Ferriter. 83aae83e6 AUTHORS: Add Amber Kumar. aa85a2509 dpif-netdev/mfex: Add more AVX512 traffic profiles 250ceddcc dpif-netdev/mfex: Add AVX512 based optimized miniflow extract 32f93dc5e dpdk: Add additional CPU ISA detection strings dc39608d2 dpif/stats: Add miniflow extract opt hits counter 50be6715c test/sytem-dpdk: Add unit test for mfex autovalidator a395b132b dpif-netdev: Add packet count and core id paramters for study 5324b54e6 dpif-netdev: Add configure to enable autovalidator at build time. 5c5c98cec docs/dpdk/bridge: Add miniflow extract section. 72dd22a0d dpif-netdev: Add study function to select the best mfex function dd3f5d86d dpif-netdev: Add auto validation function for miniflow extract 3d8f47bc0 dpif-netdev: Add command line and function pointer for miniflow extract 3e82604b7 docs: Add documentation for ovsdb relay mode. e26bf9726 ovsdb: Make clients aware of relay service model. edcf44172 ovsdb: relay: Reflect connection status in _Server database. 7964ffe7d ovsdb: relay: Add support for transaction forwarding. 026c77c58 ovsdb: New ovsdb 'relay' service model. b4cef64c8 ovsdb: row: Add support for xor-based row updates. 85dbbe275 ovsdb: table: Expose functions to execute operations on ovsdb tables. e93fc5db9 ovsdb: storage: Allow setting the name for the unbacked storage. 4d9605379 jsonrpc-server: Wake up jsonrpc session if there are completed triggers. 00dda78ed ovsdb-cs: Avoid unnecessary re-connections when updating remotes. 73259ea70 ovsdb-server: Fix memleak when failing to read storage. 066a84f89 latch-unix: Decrease the stack usage in latch d2e97030e netdev-linux: fix compile error in nl_msg_put_act_police d53ea18be AUTHORS: Add Andrew Rybchenko. 909b40f67 netdev-offload-dpdk: Fix port ID logging on destroy. b889d5dcc conntrack: Init hash basis first at creation. b0d289bb5 netdev-linux: Ignore TSO packets when TSO is not enabled for userspace. 464b5b13e netdev-offload-tc: Verify the flower rule installed. 1e3148913 dpcls-avx512: Enable avx512 vector popcount instruction. 60c9e1a2f dpdk: Cache result of CPU ISA checks. 2100f0e51 dpif-netdev/dpcls: Specialize more subtable signatures. 47a2a8f41 dpif-netdev/dpcls-avx512: Enable 16 block processing. d76a719a7 dpif-netdev: Add a partial HWOL PMD statistic. 3f86fdf5c dpif-netdev: Add command to get dpif implementations. abb807e27 dpif-netdev: Add command to switch dpif implementation. 9ac84a1a3 dpif-avx512: Add ISA implementation of dpif. e540499e4 dpif-netdev: Add function pointer for netdev input. 5930dfeeb dpif-netdev: Refactor to multiple header files. c36c8e3f5 ovsdb-tool: Fix memory leak in "check-cluster" command. ba16a36f3 dpif-netdev: Add all-zero SNAT to the advertised features of ct. 61e48c2d1 conntrack: Handle SNAT with all-zero IP address. fa0e2d26d util: Add token concatenation macro with argument expansion. 1e19f9aa2 conntrack: Handle already natted packets. aa4359cb9 dpif-netdev: Read recirc depth and flow api enabled once per batch. e6ad4d8d9 conntrack: Document all-zero IP SNAT behavior and add a test case. 355fef6f2 ofproto-dpif-xlate: Avoid successive ct_clear datapath actions. 347362d0c AUTHORS: Add Bodo Petermann and David Wilder. b7809111a odp-util: Stop key parsing if already oversized. 3da3cc1a0 ovs-numa: Support non-contiguous numa nodes and offline CPU cores. 154983c59 python: Fix Idl.run change_seqno update. b57b062f5 ofp-actions: Report an error if there are too many actions to parse. b30bfb6b8 ovsdb-server.7.rst Fix response result of monitor_cond_change 0c0995238 stream-ssl: Remove unsafe 1024 bit dh params 4e948b86c bridge: Use correct (legacy) role names in database. 828d9cb8d ovs: fix wrong quote 00c1bce13 docs: fix wrong quote 780b2bde8 bridge: fix type mismatch 911adb93e ovs-save: Use right OpenFlow version for "ovs-ofctl dump-tlv-map". 8ab198092 NEWS: Add note about PPS support for ingress policing 10c9dfeb5 bridge: Only an inactivity_probe of 0 should turn off inactivity probes. 8d7c24083 fail-open: Only fail open if we've been disconnected for at least 1 s. f686957c9 add test cases for ingress_policing_kpkts parameters c2567e533 add port-based ingress policing based packet-per-second rate-limiting b6c5f30cf checkpatch: Ignore macro definitions of FOR_EACH. 772a842fb dpif-netdev: Apply subtable-lookup-prio-set on any datapath. 07a5fa610 AUTHORS: Add Paolo Valerio. 331975506 ovs-actions.xml: Add missing bracket. 63c01b895 netdev-offload-tc: Use nl_msg_put_flag for OVS_TUNNEL_KEY_ATTR_CSUM. 2c597c890 conntrack: add coverage counters for L3 bad checksum. 76700f374 conntrack: Increment coverage counter for all bad checksum cases. e5b5008ac ovs-lib: pass optional --election-timer arg to ovsdb-tool e098c2f96 netdev-dpdk-offload: Add vxlan pattern matching function. 507d20e77 netdev-offload-dpdk: Support vports flows offload. b5e6f6f6b dpif-netdev: Provide orig_in_port in metadata for tunneled packets. be56e063d netdev-offload-dpdk: Support tunnel pop action. 20b176044 netdev-offload-dpdk: Change log rate limits. a1ec42803 netdev-offload: Disallow offloading to unrelated tunneling vports. 6a855d3e7 netdev-offload: Allow offloading to netdev without ifindex. bc341440d dpif-netdev: Add HW miss packet state recover logic. aca2f8a8a netdev-offload-dpdk: Implement HW miss packet recover for vport. c5b56f0eb netdev-dpdk: Add flow_api support for netdev vxlan vports. 1b27484f2 netdev-offload: Introduce an API to traverse ports. 6f50f28b9 netdev-dpdk: Introduce DPDK tunnel APIs. f36e7438f netdev-offload: Add HW miss packet state recover API. f0e4a7338 tests: Add PMD auto load balance unit tests. 833f1b843 pmd.at: Get next line number of log. f3ad560d5 dpif-netdev: Expand the meter capacity. bd9052455 Remove Python 2 leftovers. ad256c314 dpdk: Add debug appctl to get malloc statistics. c16b9ac74 datapath-windows: Specify external include paths e81ed9421 Fix redundant datapath set ethernet action with NSH Decap. c2999459d tests: Fixed L3 over patch port tests. cca40141a netlink: removed incorrect optimization 661fd5edb AUTHORS: Add Wang Liang. 640d4db78 ipf: Fix a use-after-free error, and remove the 'do_not_steal' flag. 2afe31169 odp-util: Return an error on actions overflow while parsing from string. 5fe3ef1a0 tests: Fix spelling error in test name. 50b419d0a raft: print local server ID when opening RAFT database c5a58ec15 python: idl: Allow retry even when using a single remote. 04f8881f5 ovsdb-idl: Fix the database update signaling if it has never been connected. 91cb55bc8 system-traffic.at:add missing comma 9f3815ed6 AUTHORS: Add Rosemarie O'Riorden. 6426417c1 ipfix-gen-entities: Add missing argument in function call. 210c4cba9 docs: Add a topic about record/replay with ovsdb-server. 4275b5b7f ovsdb-client: Integrate record/replay functionality. 0be15ad76 ovsdb-server.at: Add unit test for record/replay. 964da9a8b jsonrpc: Disable inactivity probes if replay engine is active. 30ccf2c51 ovsdb-server: Don't update manager status if replay engine is active. 182a0b8ad ovsdb-server: Integrate stream replay engine. 07a07d06a uuid: Allow record/replay of generated UUIDs. fae1ae043 stream: Add record/replay functionality. 610ac1e82 ovs-replay: New library to create and manage replay files. a4b04276a ofproto: Fix potential NULL dereference in ofproto_ct_*_zone_timeout_policy(). dd0f59783 ofproto: Fix potential NULL dereference in ofproto_get_datapath_cap(). f1951d41f ovs-save: Fix awk command to return highest ofp version. 3012710ec tests: Fix PKIDIR checks in AT_SKIP. 5da031d6d tests: Drop support for glibc before version 2.11. fb1e7863e ovsdb-tool: add --election-timer=ms option to 'create-cluster' 13c0eaa7b dpif-netlink: Fix send of uninitialized memory in ct limit requests. 328d20e0f ofproto-dpif: Fix use of uninitialized attributes of timeout policy. 577b9a816 netdev-linux: Fix use of uninitialized LAG master name. 0b3ff31d3 ofp_actions: Fix set_mpls_tc formatting. 7731d2614 dpif-netdev: Remove meter rate from the bucket size calculation. 76b720ed1 ovs-actions: Document normal pipeline. 60638d61a AUTHORS: Add Wang Yibo. f173527ec ovs-ofctl: Fix coredump when using "add-groups" command. 3c2d6274b raft: Transfer leadership before creating snapshots. b5bb044fb ovsdb-cs: Consider all tables when computing expected cond seqno. 7100c220e mac-learning: Remove obsolete comments about tags. b45958bf7 dpdk: Use DPDK 20.11.1 release. 484e9a4dd github: Fix up malformed /etc/hosts. 843cd4304 doc: automake: Add support for sphinx 4.0. b03daccfd cirrus: Look up existing versions of python dependencies. 721488d4a classifier: Make find_match_wc() prototype and definition match. b96d2756f tnl-neigh-cache: Include expected array sizes in prototypes. f09182a3b ofp-group: Use big-enough buffer in ofputil_format_group(). 09fe18af2 xml2nroff: Fix formatting of action headers in ovs-actions(7) manpage. a019868a6 ofproto/ofproto-dpif-sflow: Check sflow agent in case of race 5dce24d04 ipsec: Fix race in system tests. fd1114e96 AUTHORS: Add Michal Kazior. d90b4f292 rtnetlink: ignore IFLA_WIRELESS events. f9d303903 dpif: Fix use of uninitialized execute hash. 4a6be85c8 odp-util: Fix use of uninitialized erspan metadata. 3311ca0d4 AUTHORS: Add Ariel Levkovich. ea71a9d44 netdev-offload-tc: Add support for ct_state flag rel. 0c147fb4e dpif-netlink: Fix using uninitialized info.tc_modify_flow_deleted in out label. 44ea24427 Add test cases for ingress_policing parameters 67e0e0bc1 netdev-linux: correct unit of burst parameter d2d051310 AUTHORS: Add Aidan Shribman. 23f9ec9eb make: don't prompt during build 332b8a3e4 util: Add allocation wrappers that don't increment coverage counters. 4cb38cd22 ovs-lldp: Get rid of pointless null pointer check. f8be30acf ipsec: Update ordering of imports. 8fc62df8b ipsec: Introduce IPsec system tests for Libreswan. d6afbc00d ipsec: Allow custom file locations. 4ce8bb159 system-common-macros: clean up veth device on test failure. 58b4146e0 ipsec: Fix IPv6 default route support for Libreswan. ac85cdb38 ovsdb-idl: Mark arc sources as updated when destination is deleted. 95689f166 ovsdb-idl: Preserve references for deleted rows. 4c0d093b1 ovsdb-idl.at: Make test outputs more predictable. 31629b538 ovs-ofctl: Fix segfault due to bad meter n_bands. b4a9c9cd8 netlink: make Netlink socket receive buffer 4x larger 50b0b4d86 db-ctl-base: Warn if "destroy" command lacks --all or record argument. 9801d7c4b github: Fix handling of python packages. c3690ccbc dpif-netdev: Refactor and fix the buckets calculation. 759aaa851 dpif-netdev: Fix the meter buckets overflow. af0ce3866 AUTHORS: Add Shahar Klein. 925a09477 debian: Add configure option to debian/rules 2eb7e22a4 rhel: Do not update kmod RPM newer major revision kernels. 56e60eca7 rhel: ovs-kmod-manage.sh: Disable unneeded warning. ec68a877d dpif-netdev: Allow PMD auto load balance with cross-numa. edcfd7176 netdev-offload-tc: Add support for ct_state flags inv and rpl 1e4aa061a netdev-offload-tc: Probe for support for any of the ct_state flags 0a8bd432a compat: Add ct_state flags definitions 64b8c1d9a python: Send notifications after the transaction ends. cdaa7e0fd dpif-netdev: Fix crash when add dp flow without in_port field. 2ad201659 ovs-ctl: Allow recording hostname separately. f013e6f2d Documentation: Fix DPDK qos example. 39b937f06 raft: Add 'stop-raft-rpc' failure test command. 4c1d9ef14 raft: Report disconnected in cluster/status if candidate retries election. 14b2b0aad raft: Reintroduce jsonrpc inactivity probes. ac09cbfcb ovsdb-cs: Fix use-after-free for the request id. 47e73f7f0 netdev-offload-tc: Flush rules on all chains before attach ingress block 436ce00da connmgr: Check nullptr inside ofmonitor_report(). 8f09b2688 AUTHORS: Add Alexey Roytman. e775bf32e ovsdb-client: Fix needs-conversion when SERVER is explicitly specified. 4cee0150a windows, tests: Modify service test. e7df370cf netdev-linux: Fix indentation. 97918ed19 AUTHORS: Add Balazs Nemeth. 647a71988 docs: Add instruction to set local_ip to ipsec tutorial. 163b134d0 ofproto-dpif-upcall: Fix ukey leak on udpif destroy. 014496e73 ci: Use parallel build for distcheck. 5740843c4 github: Run clang test with AddressSanitizer enabled. 77cccc74d ofp-actions: Fix use-after-free while decoding RAW_ENCAP. 5704a7f35 Set release date for 2.15.0. 4b674829f dpif-netdev: auto load balance log state on user request. 81661d768 AUTHORS: Add Hariprasad Govindharajan. 8d0416153 faq: Update OVS/DPDK version table for OVS 2.15. 1560b4667 docs: Update for auto load balance threshold parameters. caa41a871 cirrus: Use FreeBSD 12.2. 79349cbab flow: Support extra padding length. e4a89a7cc rhel: Update build required dpdk. 9acbdd65c rhel: Add option to enable AF_XDP on rpm package. 498cf3eae netdev-offload-tc: Reject rules with unsupported ct_state flags. 255fd6ad2 dist-docs: Include manpages generated from rST. da33a6875 db-ctl-base: Fix XML syntax error. 9513c0233 db-ctl-base: Add {in} and {not-in} set relational operators. 0f252daa9 tc: Fix mpls bottom of stack bit mask reporting. 3eec7fb07 pcap-file: Fix calculation of TCP payload length in tcp_reader_run(). c3da0ae65 ofp-table: Improve log message in ofputil_decode_table_features(). 83f5e6fda AUTHORS: Add Volkan Atlı. d8df84998 rhel: Update '--with-dpdk' argument for DPDK 20.11. 59611d6fe ovs-lib: Remove second parameter for stop_daemon. 9cf39b3e7 Add Tao YunXiang <taoyunxiang@cmss.chinamobile.com>. 2e0dace0e doc: Add 'faq' about datapath-id c17f32a11 netdev-dpdk: Fix incorrect shinfo initialization. 75e1e6fd2 lib/tc: add ICMP type and code match offload d5c429a30 github: Don't fail the job if 'apt update' failed. 492bbb54c vswitchd.xml: Fix supported IPsec tunnels. 748483d3f netdev-afxdp: Updated documentation. d27494647 acinclude: Remove default library for DPDK. 3f19b124e ovsdb-doc: Add build dependency on dirs.py. 9049a11f0 system-dpdk: Fix 4th and 5th testcases of the system-dpdk testsuite. 25eb72a26 ovs-ctl: Prepend OVS binary directories to PATH. c2e501c16 AUTHORS: Add Mao YingMing. 82440ad72 dpctl: Fix dpctl process command parameter error. 8e69349f2 conntrack: Fix the icmp conntrack new state. 1c337c43a ovsdb-idl: Break into two layers. a5c067a8b ovsdb-cs: New module that factors out code from ovsdb-idl. 81f06e2b8 test-ovsdb: Log steps in idl test. e7eb904d2 odp-util: Fix abort while formatting nsh actions. 50e5523b9 Prepare for post-2.15.0 (2.15.90). Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Diffstat (limited to 'recipes-networking/openvswitch')
-rw-r--r--recipes-networking/openvswitch/files/0001-ovs-use-run-instead-of-var-run-for-in-systemd-units.patch106
-rw-r--r--recipes-networking/openvswitch/openvswitch-git/systemd-create-runtime-dirs.patch15
-rw-r--r--recipes-networking/openvswitch/openvswitch-git/systemd-update-tool-paths.patch29
-rw-r--r--recipes-networking/openvswitch/openvswitch_git.bb9
4 files changed, 23 insertions, 136 deletions
diff --git a/recipes-networking/openvswitch/files/0001-ovs-use-run-instead-of-var-run-for-in-systemd-units.patch b/recipes-networking/openvswitch/files/0001-ovs-use-run-instead-of-var-run-for-in-systemd-units.patch
deleted file mode 100644
index 8bda865f..00000000
--- a/recipes-networking/openvswitch/files/0001-ovs-use-run-instead-of-var-run-for-in-systemd-units.patch
+++ /dev/null
@@ -1,106 +0,0 @@
1From ae55fa8168b4b9692ad757c54255a89f935c587e Mon Sep 17 00:00:00 2001
2From: Chen Qi <Qi.Chen@windriver.com>
3Date: Thu, 11 Mar 2021 11:35:24 +0800
4Subject: [PATCH] ovs: use /run instead of /var/run for in systemd units
5
6Upstream-Status: Pending
7
8Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
9---
10 rhel/etc_logrotate.d_openvswitch | 4 ++--
11 rhel/usr_lib_systemd_system_openvswitch-ipsec.service | 2 +-
12 ...sr_lib_systemd_system_ovs-delete-transient-ports.service | 2 +-
13 rhel/usr_lib_systemd_system_ovs-vswitchd.service.in | 6 +++---
14 rhel/usr_lib_systemd_system_ovsdb-server.service | 6 +++---
15 5 files changed, 10 insertions(+), 10 deletions(-)
16
17diff --git a/rhel/etc_logrotate.d_openvswitch b/rhel/etc_logrotate.d_openvswitch
18index f4302ffbc..c0f476744 100644
19--- a/rhel/etc_logrotate.d_openvswitch
20+++ b/rhel/etc_logrotate.d_openvswitch
21@@ -13,8 +13,8 @@
22 missingok
23 postrotate
24 # Tell Open vSwitch daemons to reopen their log files
25- if [ -d /var/run/openvswitch ]; then
26- for ctl in /var/run/openvswitch/*.ctl; do
27+ if [ -d /run/openvswitch ]; then
28+ for ctl in /run/openvswitch/*.ctl; do
29 ovs-appctl -t "$ctl" vlog/reopen 2>/dev/null || :
30 done
31 fi
32diff --git a/rhel/usr_lib_systemd_system_openvswitch-ipsec.service b/rhel/usr_lib_systemd_system_openvswitch-ipsec.service
33index d8f47af68..92dad44f9 100644
34--- a/rhel/usr_lib_systemd_system_openvswitch-ipsec.service
35+++ b/rhel/usr_lib_systemd_system_openvswitch-ipsec.service
36@@ -5,7 +5,7 @@ After=openvswitch.service
37
38 [Service]
39 Type=forking
40-PIDFile=/var/run/openvswitch/ovs-monitor-ipsec.pid
41+PIDFile=/run/openvswitch/ovs-monitor-ipsec.pid
42 ExecStart=/usr/share/openvswitch/scripts/ovs-ctl \
43 --ike-daemon=libreswan start-ovs-ipsec
44 ExecStop=/usr/share/openvswitch/scripts/ovs-ctl stop-ovs-ipsec
45diff --git a/rhel/usr_lib_systemd_system_ovs-delete-transient-ports.service b/rhel/usr_lib_systemd_system_ovs-delete-transient-ports.service
46index 4cd4d7f57..d4d7b204b 100644
47--- a/rhel/usr_lib_systemd_system_ovs-delete-transient-ports.service
48+++ b/rhel/usr_lib_systemd_system_ovs-delete-transient-ports.service
49@@ -2,7 +2,7 @@
50 Description=Open vSwitch Delete Transient Ports
51 After=ovsdb-server.service
52 Before=ovs-vswitchd.service
53-AssertPathExists=/var/run/openvswitch/db.sock
54+AssertPathExists=/run/openvswitch/db.sock
55
56 [Service]
57 Type=oneshot
58diff --git a/rhel/usr_lib_systemd_system_ovs-vswitchd.service.in b/rhel/usr_lib_systemd_system_ovs-vswitchd.service.in
59index f88b57cae..82748bf2d 100644
60--- a/rhel/usr_lib_systemd_system_ovs-vswitchd.service.in
61+++ b/rhel/usr_lib_systemd_system_ovs-vswitchd.service.in
62@@ -4,14 +4,14 @@ After=ovsdb-server.service network-pre.target systemd-udev-settle.service
63 Before=network.target network.service
64 Requires=ovsdb-server.service
65 ReloadPropagatedFrom=ovsdb-server.service
66-AssertPathIsReadWrite=/var/run/openvswitch/db.sock
67+AssertPathIsReadWrite=/run/openvswitch/db.sock
68 PartOf=openvswitch.service
69
70 [Service]
71 Type=forking
72-PIDFile=/var/run/openvswitch/ovs-vswitchd.pid
73+PIDFile=/run/openvswitch/ovs-vswitchd.pid
74 Restart=on-failure
75-Environment=XDG_RUNTIME_DIR=/var/run/openvswitch
76+Environment=XDG_RUNTIME_DIR=/run/openvswitch
77 EnvironmentFile=/etc/openvswitch/default.conf
78 EnvironmentFile=-/etc/sysconfig/openvswitch
79 EnvironmentFile=-/run/openvswitch.useropts
80diff --git a/rhel/usr_lib_systemd_system_ovsdb-server.service b/rhel/usr_lib_systemd_system_ovsdb-server.service
81index 74e5acb7f..39698f238 100644
82--- a/rhel/usr_lib_systemd_system_ovsdb-server.service
83+++ b/rhel/usr_lib_systemd_system_ovsdb-server.service
84@@ -7,7 +7,7 @@ PartOf=openvswitch.service
85
86 [Service]
87 Type=forking
88-PIDFile=/var/run/openvswitch/ovsdb-server.pid
89+PIDFile=/run/openvswitch/ovsdb-server.pid
90 Restart=on-failure
91 EnvironmentFile=/etc/openvswitch/default.conf
92 EnvironmentFile=-/etc/sysconfig/openvswitch
93@@ -17,8 +17,8 @@ EnvironmentFile=-/run/openvswitch.useropts
94 # remove openvswitch.useropts first to reload a fresh
95 # OVS_USER_ID from default.conf or sysconfig.
96 ExecStartPre=/bin/rm -f /run/openvswitch.useropts
97-ExecStartPre=-/bin/mkdir /var/run/openvswitch /var/log/openvswitch
98-ExecStartPre=-/bin/chown ${OVS_USER_ID} /var/run/openvswitch /var/log/openvswitch
99+ExecStartPre=-/bin/mkdir -p /run/openvswitch /var/log/openvswitch
100+ExecStartPre=-/bin/chown ${OVS_USER_ID} /run/openvswitch /var/log/openvswitch
101 ExecStartPre=/bin/sh -c '/bin/echo "OVS_USER_ID=${OVS_USER_ID}" > /run/openvswitch.useropts'
102 ExecStartPre=/bin/sh -c 'if [ "$${OVS_USER_ID/:*/}" != "root" ]; then /bin/echo "OVS_USER_OPT=--ovs-user=${OVS_USER_ID}" >> /run/openvswitch.useropts; fi'
103 ExecStart=/usr/share/openvswitch/scripts/ovs-ctl \
104--
1052.17.1
106
diff --git a/recipes-networking/openvswitch/openvswitch-git/systemd-create-runtime-dirs.patch b/recipes-networking/openvswitch/openvswitch-git/systemd-create-runtime-dirs.patch
index 12b9e17a..7f6e5422 100644
--- a/recipes-networking/openvswitch/openvswitch-git/systemd-create-runtime-dirs.patch
+++ b/recipes-networking/openvswitch/openvswitch-git/systemd-create-runtime-dirs.patch
@@ -14,19 +14,16 @@ Signed-off-by: Mark Asselstine <mark.asselstine@windriver.com>
14 rhel/usr_lib_systemd_system_ovsdb-server.service | 2 +- 14 rhel/usr_lib_systemd_system_ovsdb-server.service | 2 +-
15 1 file changed, 1 insertion(+), 1 deletion(-) 15 1 file changed, 1 insertion(+), 1 deletion(-)
16 16
17diff --git a/rhel/usr_lib_systemd_system_ovsdb-server.service b/rhel/usr_lib_systemd_system_ovsdb-server.service 17Index: git/rhel/usr_lib_systemd_system_ovsdb-server.service
18index 5002ddf10..74e5acb7f 100644 18===================================================================
19--- a/rhel/usr_lib_systemd_system_ovsdb-server.service 19--- git.orig/rhel/usr_lib_systemd_system_ovsdb-server.service
20+++ b/rhel/usr_lib_systemd_system_ovsdb-server.service 20+++ git/rhel/usr_lib_systemd_system_ovsdb-server.service
21@@ -17,7 +17,7 @@ EnvironmentFile=-/run/openvswitch.useropts 21@@ -17,7 +17,7 @@
22 # remove openvswitch.useropts first to reload a fresh 22 # remove openvswitch.useropts first to reload a fresh
23 # OVS_USER_ID from default.conf or sysconfig. 23 # OVS_USER_ID from default.conf or sysconfig.
24 ExecStartPre=/bin/rm -f /run/openvswitch.useropts 24 ExecStartPre=/bin/rm -f /run/openvswitch.useropts
25- 25-
26+ExecStartPre=-/bin/mkdir /var/run/openvswitch /var/log/openvswitch 26+ExecStartPre=-/bin/mkdir /var/run/openvswitch /var/log/openvswitch
27 ExecStartPre=-/bin/chown ${OVS_USER_ID} /var/run/openvswitch /var/log/openvswitch 27 ExecStartPre=-/bin/chown ${OVS_USER_ID} /run/openvswitch /var/log/openvswitch
28 ExecStartPre=/bin/sh -c '/bin/echo "OVS_USER_ID=${OVS_USER_ID}" > /run/openvswitch.useropts' 28 ExecStartPre=/bin/sh -c '/bin/echo "OVS_USER_ID=${OVS_USER_ID}" > /run/openvswitch.useropts'
29 ExecStartPre=/bin/sh -c 'if [ "$${OVS_USER_ID/:*/}" != "root" ]; then /bin/echo "OVS_USER_OPT=--ovs-user=${OVS_USER_ID}" >> /run/openvswitch.useropts; fi' 29 ExecStartPre=/bin/sh -c 'if [ "$${OVS_USER_ID/:*/}" != "root" ]; then /bin/echo "OVS_USER_OPT=--ovs-user=${OVS_USER_ID}" >> /run/openvswitch.useropts; fi'
30--
312.17.1
32
diff --git a/recipes-networking/openvswitch/openvswitch-git/systemd-update-tool-paths.patch b/recipes-networking/openvswitch/openvswitch-git/systemd-update-tool-paths.patch
index be6fa5d9..a9eae832 100644
--- a/recipes-networking/openvswitch/openvswitch-git/systemd-update-tool-paths.patch
+++ b/recipes-networking/openvswitch/openvswitch-git/systemd-update-tool-paths.patch
@@ -12,11 +12,11 @@ Signed-off-by: Mark Asselstine <mark.asselstine@windriver.com>
12 rhel/usr_lib_systemd_system_ovsdb-server.service | 8 ++++---- 12 rhel/usr_lib_systemd_system_ovsdb-server.service | 8 ++++----
13 2 files changed, 6 insertions(+), 6 deletions(-) 13 2 files changed, 6 insertions(+), 6 deletions(-)
14 14
15diff --git a/rhel/usr_lib_systemd_system_ovs-vswitchd.service.in b/rhel/usr_lib_systemd_system_ovs-vswitchd.service.in 15Index: git/rhel/usr_lib_systemd_system_ovs-vswitchd.service.in
16index ff43dae96..f88b57cae 100644 16===================================================================
17--- a/rhel/usr_lib_systemd_system_ovs-vswitchd.service.in 17--- git.orig/rhel/usr_lib_systemd_system_ovs-vswitchd.service.in
18+++ b/rhel/usr_lib_systemd_system_ovs-vswitchd.service.in 18+++ git/rhel/usr_lib_systemd_system_ovs-vswitchd.service.in
19@@ -17,8 +17,8 @@ EnvironmentFile=-/etc/sysconfig/openvswitch 19@@ -17,8 +17,8 @@
20 EnvironmentFile=-/run/openvswitch.useropts 20 EnvironmentFile=-/run/openvswitch.useropts
21 LimitSTACK=2M 21 LimitSTACK=2M
22 @begin_dpdk@ 22 @begin_dpdk@
@@ -27,26 +27,23 @@ index ff43dae96..f88b57cae 100644
27 @end_dpdk@ 27 @end_dpdk@
28 ExecStart=/usr/share/openvswitch/scripts/ovs-ctl \ 28 ExecStart=/usr/share/openvswitch/scripts/ovs-ctl \
29 --no-ovsdb-server --no-monitor --system-id=random \ 29 --no-ovsdb-server --no-monitor --system-id=random \
30diff --git a/rhel/usr_lib_systemd_system_ovsdb-server.service b/rhel/usr_lib_systemd_system_ovsdb-server.service 30Index: git/rhel/usr_lib_systemd_system_ovsdb-server.service
31index 98338b9df..5002ddf10 100644 31===================================================================
32--- a/rhel/usr_lib_systemd_system_ovsdb-server.service 32--- git.orig/rhel/usr_lib_systemd_system_ovsdb-server.service
33+++ b/rhel/usr_lib_systemd_system_ovsdb-server.service 33+++ git/rhel/usr_lib_systemd_system_ovsdb-server.service
34@@ -16,11 +16,11 @@ EnvironmentFile=-/run/openvswitch.useropts 34@@ -16,11 +16,11 @@
35 # Environment is reloaded for each Exec*, make sure to 35 # Environment is reloaded for each Exec*, make sure to
36 # remove openvswitch.useropts first to reload a fresh 36 # remove openvswitch.useropts first to reload a fresh
37 # OVS_USER_ID from default.conf or sysconfig. 37 # OVS_USER_ID from default.conf or sysconfig.
38-ExecStartPre=/usr/bin/rm -f /run/openvswitch.useropts 38-ExecStartPre=/usr/bin/rm -f /run/openvswitch.useropts
39+ExecStartPre=/bin/rm -f /run/openvswitch.useropts 39+ExecStartPre=/bin/rm -f /run/openvswitch.useropts
40 40
41-ExecStartPre=-/usr/bin/chown ${OVS_USER_ID} /var/run/openvswitch /var/log/openvswitch 41-ExecStartPre=-/usr/bin/chown ${OVS_USER_ID} /run/openvswitch /var/log/openvswitch
42-ExecStartPre=/bin/sh -c '/usr/bin/echo "OVS_USER_ID=${OVS_USER_ID}" > /run/openvswitch.useropts' 42-ExecStartPre=/bin/sh -c '/usr/bin/echo "OVS_USER_ID=${OVS_USER_ID}" > /run/openvswitch.useropts'
43-ExecStartPre=/bin/sh -c 'if [ "$${OVS_USER_ID/:*/}" != "root" ]; then /usr/bin/echo "OVS_USER_OPT=--ovs-user=${OVS_USER_ID}" >> /run/openvswitch.useropts; fi' 43-ExecStartPre=/bin/sh -c 'if [ "$${OVS_USER_ID/:*/}" != "root" ]; then /usr/bin/echo "OVS_USER_OPT=--ovs-user=${OVS_USER_ID}" >> /run/openvswitch.useropts; fi'
44+ExecStartPre=-/bin/chown ${OVS_USER_ID} /var/run/openvswitch /var/log/openvswitch 44+ExecStartPre=-/bin/chown ${OVS_USER_ID} /run/openvswitch /var/log/openvswitch
45+ExecStartPre=/bin/sh -c '/bin/echo "OVS_USER_ID=${OVS_USER_ID}" > /run/openvswitch.useropts' 45+ExecStartPre=/bin/sh -c '/bin/echo "OVS_USER_ID=${OVS_USER_ID}" > /run/openvswitch.useropts'
46+ExecStartPre=/bin/sh -c 'if [ "$${OVS_USER_ID/:*/}" != "root" ]; then /bin/echo "OVS_USER_OPT=--ovs-user=${OVS_USER_ID}" >> /run/openvswitch.useropts; fi' 46+ExecStartPre=/bin/sh -c 'if [ "$${OVS_USER_ID/:*/}" != "root" ]; then /bin/echo "OVS_USER_OPT=--ovs-user=${OVS_USER_ID}" >> /run/openvswitch.useropts; fi'
47 ExecStart=/usr/share/openvswitch/scripts/ovs-ctl \ 47 ExecStart=/usr/share/openvswitch/scripts/ovs-ctl \
48 --no-ovs-vswitchd --no-monitor --system-id=random \ 48 --no-ovs-vswitchd --no-monitor --system-id=random \
49 ${OVS_USER_OPT} \ 49 ${OVS_USER_OPT} \
50--
512.17.1
52
diff --git a/recipes-networking/openvswitch/openvswitch_git.bb b/recipes-networking/openvswitch/openvswitch_git.bb
index 4d413170..7051ac5c 100644
--- a/recipes-networking/openvswitch/openvswitch_git.bb
+++ b/recipes-networking/openvswitch/openvswitch_git.bb
@@ -14,20 +14,19 @@ RDEPENDS:${PN}-ptest += "\
14 " 14 "
15 15
16S = "${WORKDIR}/git" 16S = "${WORKDIR}/git"
17PV = "2.15.3+${SRCPV}" 17PV = "2.17.0+${SRCPV}"
18CVE_VERSION = "2.15.3" 18CVE_VERSION = "2.17.0"
19 19
20FILESEXTRAPATHS:append := "${THISDIR}/${PN}-git:" 20FILESEXTRAPATHS:append := "${THISDIR}/${PN}-git:"
21 21
22SRCREV = "e4d2df62e65a615e19f62e2fd294709be8d75cdc" 22SRCREV = "2404d45367d104e74cc9eea50d27dcaa8c8917c0"
23SRC_URI += "git://github.com/openvswitch/ovs.git;protocol=https;branch=branch-2.15 \ 23SRC_URI += "git://github.com/openvswitch/ovs.git;protocol=https;branch=branch-2.17 \
24 file://openvswitch-add-ptest-71d553b995d0bd527d3ab1e9fbaf5a2ae34de2f3.patch \ 24 file://openvswitch-add-ptest-71d553b995d0bd527d3ab1e9fbaf5a2ae34de2f3.patch \
25 file://run-ptest \ 25 file://run-ptest \
26 file://disable_m4_check.patch \ 26 file://disable_m4_check.patch \
27 file://kernel_module.patch \ 27 file://kernel_module.patch \
28 file://systemd-update-tool-paths.patch \ 28 file://systemd-update-tool-paths.patch \
29 file://systemd-create-runtime-dirs.patch \ 29 file://systemd-create-runtime-dirs.patch \
30 file://0001-ovs-use-run-instead-of-var-run-for-in-systemd-units.patch \
31 " 30 "
32 31
33LIC_FILES_CHKSUM = "file://LICENSE;md5=1ce5d23a6429dff345518758f13aaeab" 32LIC_FILES_CHKSUM = "file://LICENSE;md5=1ce5d23a6429dff345518758f13aaeab"