summaryrefslogtreecommitdiffstats
path: root/recipes-networking/openvswitch
Commit message (Collapse)AuthorAgeFilesLines
* openvswitch: 3.3.0Bruce Ashfield2024-04-041-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bumping ovs to version v3.3.0-26-g1c1f173ce, which comprises the following commits: 1c1f173ce dpif-netdev: Fix crash due to tunnel offloading on recirculation. feb0fefd8 netdev-dpdk: Disable outer UDP checksum offload for ice/i40e driver. 3280d95c4 ovs-monitor-ipsec: LibreSwan autodetect paths. 4fedcae6e route-table: Avoid routes from non-standard routing tables. 9f39cd4a1 ovs-tcpdump: Fix cleanup mirror failed with twice fatal signals. 7fa40643e ofproto-dpif: Fix tunnel with different name del/add failure. 04dc9d117 ofpbuf: Prevent undefined behavior in ofpbuf_clone. 667c9eb2b netdev-dpdk: Fix tunnel type check during Tx offload preparation. 332300c36 netdev-dpdk: Fix TCP check during Tx offload preparation. e7778b371 netdev-dpdk: Clear inner packet marks if no inner offloads requested. c85158e26 netdev-dpdk: Clean up all marker flags if no offloads requested. a6bb8be42 github: Reduce ASLR entropy to be compatible with asan in llvm 14. 70dcee98f netdev-dpdk: Dump packets that fail Tx preparation. 5ae591757 bfd: Improve state change log message. efbc37b94 tests: Fix "SSL db: Implementation" test with openssl > 3.2.0. 0f1af687c conntrack: Fix flush not flushing all elements. 04f1984a4 m4: Fix linking with OpenSSL 1.1.0+ and 3+ on Windows. 8f903b598 ovs-pki: Fix file permissions on Windows. 300201065 bond: Reset stats when deleting post recirc rule. 02f0d6db1 ofproto-dpif-trace: Fix infinite recirculation tracing. e68ddb34b github: Temporarily disable SNAT with exhaustion system test. 95d4d7108 dp-packet: Don't offload inner csum if outer isn't supported. 05453d807 ofproto-dpif-xlate: Fix ignoring IPv6 local_ip for native tunnels. a0df9c85d netdev-dummy: Add local route entries for IP addresses. 2f742d7af tests: Move the non-local port as tunnel endpoint test. a6bdf7d31 Prepare for 3.3.1. 6c4da8cc2 Set release date for 3.3.0. 54ba53bfa system-traffic.at: Add tests with UDP tunneling of UDP traffic. 71a547474 netdev-native-tnl: Mark all vxlan/geneve packets as tunneled. 91a147ea8 netdev-linux: Only repair IP checksum in IPv4. 51ee4d36a netdev-linux: Favour inner packet for multi-encapsulated TSO. 0eb8d8116 rstp: Fix deadlock with patch ports. c67de08f1 dpif-netdev: Increase MAX_RECIRC_DEPTH to 8. 310247ae9 netdev-linux: Avoid deadlock in netdev_get_speed. e38ba0b0a ofproto-dpif-monitor: Remove unneeded calls to clear packets. 37f24aebc dp-packet: Include inner offsets in adjustments and checks. eead56062 bfd: Set proper offsets and flags in BFD packets. 2de9347a5 dp-packet: Validate correct offset for L4 inner size. 76144cc63 netdev-offload-tc: Check geneve metadata length. 5c8586b1a odp: ND: Follow Open Flow spec converting from OF to DP. 5cc4eedc6 faq: Update matching DPDK releases for older branches. 447d4ecd9 github: Bump Fedora version to 39. fe55ce37a github: Update versions of action dependencies (Node.js 20). 86f79063b mcast-snooping: Remove typedef from mcast_group_proto. b0cf73112 dp-packet: Reset offload/offsets when clearing a packet. c467a7a71 tests: ovsdb-server: Fix config-file same schema test. 2222dbb92 ci: Run system tests in a separate namespace. 0c9e932aa netdev-dpdk: Trigger port reconfiguration in main thread for resets. 928498aea tests: mcast-snooping: Stop time for the group protocol test. 6ffceaf14 dp-packet: Avoid checks while preparing non-offloading packets. a940a691e ovs-atomic: Fix inclusion of Clang header by GCC 14. e802fe79a Prepare for 3.3.0. 206dfaa36 AUTHORS: Add Dexia Li. 85bcbbed8 userspace: Enable tunnel tests with TSO. 084c80872 userspace: Support VXLAN and GENEVE TSO. 0edfe05e4 netdev-dummy: Add support and test for TSO. 76e2f20d5 userspace: Correct IPv6 header in software-GSO. 9e3c842d5 dp-packet: Set checksum flags during software TSO. 253d90075 python: ovs: flow: Add meter_id to controller. ea44cafae python: ovs: flow: Make check_pkt_len action a list. 32f6737b5 python: ovs: flow: Add idle_age to openflow flows. e72b7b6f1 python: tests: Refactor test_odp section testing. 5e45091ea python: ovs: flow: Add dp hash and meter actions. ab7d08961 python: ovs: flow: Add sample to nested actions. 9ef49ca85 python: tests: Add info and key tests for OFPFlows. 6bbbb7664 python: ovs: flow: Fix typo in n_packets. 603890d6a ovsdb-server: Make use of cooperative multitasking. 36bad3182 json: Add yielding json create/destroy functions. d4a15647b ovsdb: raft: Enable cooperative multitasking. 3c8a4e942 lib: Introduce cooperative multitasking module. 6ece3d57b timeval: Add internal timewarp interface. b222593bc mcast-snooping: Add group protocol to mdb/show output. 077d0bad0 mcast-snooping: Store IGMP/MLD protocol version. 8b51b2bcb ci: Add kernel and userspace ASAN/UBSAN tests. fc13c0d65 ci: Combine the ubsan and asan sanitizer runs. 48d4f6963 tests: Set handle_segv for UBSAN to allow SIGSEGV tests. d662eee09 ci: Add clang-analyze to GitHub actions. ed738eca3 util: Annotate function that will never return NULL. da093acc7 netdev-offload-dpdk: Replace action PORT_ID with REPRESENTED_PORT. bdf2f1677 tests: Fix 'long flow dump duration' failures due to large time warp. 8893e24d9 dpdk: Update to use v23.11. 65b22552a tests: ovsdb: Add configuration tests with config file. 47ddc474d tests: ovsdb: Add relay and replication execution with config file. 55140090e ovsdb-server: Allow user-provided config files. 99d7e8849 ovsdb: relay: Allow setting all jsonrpc session options. dd0947b87 ovsdb-cs: Add function to set all jsonrpc session options. 6de317c0e ovsdb: replication: Allow to set all jsonrpc options. 9a1b79c15 ovsdb: Embed jsonrpc session options into ovsdb jsonrpc options. 40ce846e8 jsonrpc: Add function to update all options at once. 37ab57b41 jsonrpc-server: Re-add remotes on role changes. 8c8a6f793 ovsdb-server: Add no-op config-file option. e76f84720 ovsdb-server: Database config isolation. c8c0e570d ovsdb: replication: Automatically switch read-only mode. 3ff980c85 ovsdb: replication: Isolate databases from each other. e56d30242 ovsdb: Extract relay string parsing into a separate function. 80414c3e1 ovsdb: Track jsonrpc options per remote. da1a4f699 jsonrpc-server: Add functions to convert jsonrpc options to/from json. ea4362174 ovsdb: Allow database itself to be read-only. 05d6f419c timeval: Add coverage counter for long poll interval events. 969b3a570 ofproto-dpif-upcall: Add flow_limit coverage counters. 92ff2a201 ofproto-dpif-upcall: Change flow dump duration message to WARN level. 60457a5e9 ovsdb: transaction: Calculate added/removed from diff. 7ab8f6f7c ovsdb: Preserve column diffs read from the storage. 67ee63087 ovsdb-idl.at: Test IDL behavior during database conversion. ac04dfa7e python: idl: Handle monitor_canceled. c8d85a0e4 AUTHORS: Add Brad Cowie 8aea66599 system-traffic.at: Test conntrack + FTP server running on a non-standard port. 8abe32f95 conntrack: Use helpers from committed connections. 14ef8b451 lib/conntrack: Only use given packet in protocol detection. 7b74454c7 system-tests: Test openflow matching for ct related packets with SNAT. 7404d25ea system-dpdk: Test with mlx5 devices. 915b97971 checkpatch.py: Load codespell dictionary. 21c61243f checkpatch: Fix personal word list storage. 2535d171a vconn: Count vconn_sent regardless of log level. 54b3eb531 backtrace: Fix error in log_backtrace() documentation. 94371c099 ovsdb: trigger: Do not allow conversion in read-only mode. e951af81c ovsdb: jsonrpc-server: Fix the DSCP value in default options. d07a3b798 jsonrpc: Sort JSON objects while printing debug messages. 0a2e16b67 tests: ovsdb: Use diff -up format for replay test. 7c3df3676 ovsdb-server.at: Enbale debug logs in active-backup tests. 0ef3ebb0c ovsdb: transaction: Don't try to diff unchanged columns. 6f11d9daa ovsdb: transaction: Avoid diffs for different type references. d51d4f42d ovsdb: Fix incorrect sharing of UUID and _version columns. 4102674b3 ovsdb-idl: Preserve change_seqno when deleting rows. 5c3810491 tests: Move MFEX tests to dpif-netdev. 98ee21ef6 system-dpdk: Use dummy-pmd port for packet injection. df5e5cf43 Documentation: Add section on inclusive language. de4cccf93 ci: Add make check-afxdp to GitHub actions ci. 67c53a89d ci: Allow make check-dpdk to run the MFEX tests. 26ffd192f ci: Fix dpdk build cache key generation. adfc3d4a3 ci: Add make check-system-tso to GitHub actions ci. 09958e081 ci: Add make check-system-userspace to GitHub actions ci. 15f179324 ci: Add make check-offloads to GitHub actions ci. e7b51b38f ci: Add make check-kernel to GitHub actions ci. a80883f76 ci: Fixed tests that show random failures through GitHub actions. 6660fccb1 ci: Exclude tests that show random failures through GitHub actions. 9dfa65dc7 ci: Update the GitHub Ubuntu runner image to Ubuntu 22.04. e07ae9a6d ci: Add make check-ovsdb-cluster tests to GitHub action ci. ee93f364b ci: Add JOBS variable to replace all the '-j4' instances. 4cbbf56e6 dpif-netdev: Add per PMD sleep config. a095794bc openflow: Allow CT flush to match on mark and labels. 386deb32c dpctl, ovs-ofctl: Unify parsing of ct-flush arguments. 62c5d32ad ofp-prop: Add helper for parsing and storing of ovs_u128. cc670e741 system-dpdk: Wait for MTU changes to be applied. 7067ed166 tests: Do not use zone 0 for CT limit system test. 27e0349e2 ct-dpif: Enforce CT zone limit protection. 1b3557f53 vswitchd, ofproto-dpif: Propagate the CT limit from database. 324883361 ovs-vsctl: Add limit to CT zone. 8f4b86237 dpctl: Allow the default CT zone limit to be deleted. 4b9eb061b ct-dpif: Handle default zone limit the same way as other limits. 6b1723588 tunnel: Do not carry source port from a previous tunnel. 472dd6642 netdev-offload-tc: Fix offload of tunnel key tp_src. a34e306a0 ofp-ct: Return error for unknown property in CT flush. 20022fbf5 editorconfig: Remove [*] section and trim_trailing_whitespace. 8b5fe2dc6 userspace: Add Generic Segmentation Offloading. e0056018c userspace: Respect tso/gso segment size. 6c59c1952 netdev-linux: Use ethtool to detect offload support. c8d494636 cirrus: Update from FreeBSD 12 to 14. cf984d5be appveyor: Use previous image to unblock CI. ceb29608d faq: Update matching DPDK releases for older branches. 3626c1744 ovs-ofctl: Correctly mark the CT flush commands. 40f651ce0 mcast-snooping: Fix comments format. 42c1e2efe mcast-snooping: Flush flood and report ports when deleting interfaces. 4990a9a27 mcast-snooping: Test per port explicit flooding. 4e90baca8 system-dpdk: Run traffic tests. 1d0ff364b system-dpdk: Rework cleanup for vhost-user client tests. 1c37d869c system-dpdk: Refactor tests using vhost-user ports. d0a6cf57d system-dpdk: Fix race in some vhost-user client MTU test. 64c1d16c6 system-dpdk: Remove tap interfaces from vport MTU tests. b561bbdc2 netdev-afxdp: Postpone libbpf logging helper registration. 818217eaf system-dpdk: Refactor OVS daemons helpers. e6dd50d61 tests: Define a macro to skip tc relying tests. ab3eca612 ci: Run DPDK tests in GitHub Actions. c488f28a0 system-dpdk: Don't require hugetlbfs. 209667c0e system-dpdk: Introduce helpers for testpmd. 7b514aba0 ofproto-dpif-trace: Improve conjunctive match tracing. c62b4ac8f ovs-ofctl: Implement compose-packet --bare [--bad-csum]. 3e0d8d1f4 checkpatch.at: Add cases to verify skip committer check. 74bfe3701 checkpatch: Add argument to skip committer signoff check. 4d74e2307 build-aux/extract-ofp-fields: Fix the number of Summary columns. 8b4265c11 release-process: Update LTS designation schedule example. c19a5b48b netdev-dpdk: Sync and clean {get, set}_config() callbacks. d614f2863 netdev-afxdp: Sync and clean {get, set}_config() callbacks. 169c6b2d4 netdev-dummy: Sync and clean {get, set}_config() callbacks. bf843fd43 checkpatch: Don't spell check Fixes tag. fdbf0bb2a flake8: Fix E721 check failures. 28f6e7602 build-aux: Enable flake8 checks for python extraction scripts. 20e6309ba build-aux/extract-ofp-msgs: Fix flake8 and syntax errors. 23fb4bd4b build-aux/extract-ofp-fields: Fix flake8 and syntax errors. 6625f6f2f build-aux/extract-ofp-errors: Fix flake8 and syntax errors. 51fb99290 build-aux/extract-ofp-actions: Fix flake8 and syntax errors. 723cd4c9b automake: Move build-aux EXTRA_DIST updates to their own file. 08212d755 netdev-offload: Fix Clang's static analyzer 'Division by zero' warnings. 979bc94b1 ovsdb: Fix Clang's static analyzer 'func null dereference' warnings. 03c8e8010 ofp-table: Fix count_common_prefix_run() function. 5b6021957 general: Fix Clang's static analyzer 'Dead assignment' warnings. 49096a0cf general: Fix Clang's static analyzer 'Dead initialization' warnings. fea52dc71 python: Remove duplicate UnixctlClient implementation. 2c841eef9 vswitch.xml: Add entry for dpdkvhostuser userspace-tso. e8914353c vswitch.xml: Add dpdkvhostuser group status. 594d14541 readthedocs: Use dirhtml builder. 34ae81c1f tests: Use ping timeout instead of deadline. 6cfb3d1ff tests/system-traffic: Ensure no name resolution for tcpdump. cc89bf8e2 README: Add documentation build status badge. e388bd73b readthedocs: Add the configuration file. a413fed99 tc: Improve logging of mismatched actions. bd86266ea ofproto-dpif-upcall: Pause revalidators when purging. d581473cb AUTHORS: Add Zengyuan Wang. 23a70e286 db-ctl-base: Fix memory leak of db commands. c29ba5401 tc: Add IPIP/GRE protocols to offload in IP rewrite. b16ef5200 tc: Add csum offload of IGMP/UDPLITE/SCTP in IP rewrite. f100e6a83 tests: Update some tests title prefix print. c92ded551 tests/tunnel.at: Add geneve options mirror test. 834bd9158 ofproto-dpif-upcall: Fix redundant mirror on geneve tunnel options. d76193008 tests: Add some tests for byteq module. 297db8056 AUTHORS: Add Jakob Meng. bb6ed2472 netdev-dpdk: Document rx-steering status options. e9ada1629 netdev-dpdk: Update docs for interface info. 8020eff9a netdev-dpdk: Document status options for VF MAC address. 0aeb06e1f netdev-offload-dpdk: Fix flushing of a physdev. b78427639 Documentation: Add CVE-2022-40982, aka Downfall reference. 155f632e7 connmgr: Fix ofconn configuration on vswitchd startup. 13dde1131 utilities: Add kernel_delay.py script to debug a busy Linux kernel. 4fc02650a ovsdb: Fix potential leak when making diff of conditions. a40c55eff hash: Add explicit typecasts to fix C++ compilation issues. 880a2bbb4 lib, ovsdb, vtep: Add various null pointer checks. 010c256ca lib: Add non-null assertions to some return values of `dp_packet_data`. 1b8fa4a66 checkpatch: Add checks for the subject line. 0896dc19e python: idl: Fix last-id update from a monitor reply. bac34b26a netlink-conntrack: Fix partial match of entries with SCTP. 563c50fba ovsdb-cluster.at: Remove extra ordinal schema and schema name operations. 154e4299d ofproto-dpif-xlate: Fix recirculation with patch port and controller. 9a8b39b70 ofproto-dpif-xlate: Don't reinstall removed XC_LEARN rule. bc79a7bf0 treewide: Add `ovs_assert` to check for null pointers. 40546cd6e lib, ovs-vsctl: Add zero-initializations. 1116459b3 conntrack: Remove nat_conn introducing key directionality. 85634fd58 ovsdb: raft: Support pre-vote mechanism to deal with disruptive server. bb61931dc netdev-dpdk: Disable net/tap Tx L4 checksum offloads. 13b874f4f tests/mfex: Don't require python cryptography. 28c0cec40 configure: Avoid deprecated AC_PROG_CC_C99 if possible. d3bdc7c91 tests: Fix time dependency in overlapping flows modification test. 9b7e1a753 netdev-dpdk: Clear IP packet type when no offload is requested. bf7e53bb5 python: Use build to generate PEP517 compatible archives. f1983a508 python: Use twine to upload sdist package to pypi.org. bb0dd1135 python: Rename build related code to ovs_build_helpers. 785e22f87 dpif-netdev: Fix length calculation of netdet_flow_key. 0e98b9924 doc: Fix description of max_len for controller action. 9842d89e5 docs: Fix rendering of VLAN Comparison Chart. 57cccb076 fatal-signal: Drop logging of failed dummy backtrace. eb344e0be AUTHORS: Add Colin Watson and Lucas Nussbaum. 6180fefa8 docs: Run tbl preprocessor in manpage-check rule. e46d45520 docs: Add `nowarn` region option to tables. f1305b5a2 tests: Add clang-analyzer-results to gitignore. d910fd8a0 ci: Add jobs to test -std=c99 builds. f0899b1fc tests: Fix order of includes in barrier/id-fpool/mpsc-queue tests. 1776aa17a sflow: Always enable _BSD_SOURCE. be2cd24b1 compiler.h: Don't use asm and typeof with non-GNU compilers. e3d561670 AUTHORS: Add Ivan Malov. de86c5bbd Set release date for 3.2.0. 41006c1b3 AUTHORS: Add gordonwwang and Xiaojie Chen. 0945e1a5f ovs.tmac: Fix troff warning in versions above groff-1.23. d80df0b86 AUTHORS: Update email for Simon Horman. bd78f0e2e AUTHORS: Add François Rigault. 77610902b connmgr: Count unsent async messages. cf11766cb ofproto-dpif-upcall: Fix push_dp_ops to handle all errors. eac54ee24 system-traffic.at: Avoid names veth0/veth1 in SRv6 tests. 21410ff80 dpif-netdev: Fix dpif_netdev_flow_put. da64d1b2f MAINTAINERS: Add Aaron Conole. b8d4619d3 cirrus: Update to FreeBSD 13.2. bbdfb332d MAINTAINERS: Add Kevin Traynor. 2f34475a9 ci: Fix OPTS not being passed to OSX builds. 269053bf2 ovsdb-tool: Fix json leak while showing clustered log. bd2a80b1d ovsdb-server: Fix excessive memory usage on DB open. d6fd6e591 tests: Add ovsdb execution cases for set size constraints. 2f1b43064 ovsdb: relay: Fix handling of XOR updates with size constraints. e062465a8 ovsdb: file: Fix diff application to a default column value. edfbd44ff ovsdb: file: Fix inability to read diffs that violate type size. aa56afb57 AUTHORS: Add Simon Jones. 20a7654d2 ovs-tcpdump: Clear auto-assigned ipv6 address of mirror port. 47520b33b ofproto-dpif: Fix removal of renamed datapath ports. d460c473e netdev-dpdk: Negotiate delivery of per-packet Rx metadata. feed7f677 ofproto-dpif-upcall: Mirror packets that are modified. f5188ff21 daemon.at: Correctly terminate ovsdb process in a backtrace test. 24520a401 vswitchd: Wait for a bridge exit before replying to exit unixctl. bffffd841 Prepare for post-3.2.0 (3.2.90). Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* openvswitch: 3.2.1Bruce Ashfield2024-01-191-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bumping ovs to version v3.2.1-42-gb3d094b4f, which comprises the following commits: b3d094b4f ovsdb-idl.at: Test IDL behavior during database conversion. a1935e962 python: idl: Handle monitor_canceled. 946d5ef01 vconn: Count vconn_sent regardless of log level. 7a307b356 backtrace: Fix error in log_backtrace() documentation. ab08bffa3 ovsdb: trigger: Do not allow conversion in read-only mode. 4e74ac6da ovsdb: jsonrpc-server: Fix the DSCP value in default options. 04fec86f7 jsonrpc: Sort JSON objects while printing debug messages. c4d655bc1 tests: ovsdb: Use diff -up format for replay test. 4279901af ovsdb-server.at: Enbale debug logs in active-backup tests. 8583cdb99 ovsdb: transaction: Don't try to diff unchanged columns. 7d9662345 ovsdb: transaction: Avoid diffs for different type references. abf5ec410 ovsdb: Fix incorrect sharing of UUID and _version columns. a3a05b710 ci: Update the GitHub Ubuntu runner image to Ubuntu 22.04. ec1d73016 ovsdb-idl: Preserve change_seqno when deleting rows. 36022655d system-dpdk: Wait for MTU changes to be applied. c1ee47eb6 tunnel: Do not carry source port from a previous tunnel. 74626ad6b netdev-offload-tc: Fix offload of tunnel key tp_src. a49ebed1c ofp-ct: Return error for unknown property in CT flush. 57916a78a cirrus: Update from FreeBSD 12 to 14. 349e02766 dpdk: Use DPDK 22.11.3 release for OVS 3.2. a52d28b7e ovs-ofctl: Correctly mark the CT flush commands. 319a97e41 mcast-snooping: Flush flood and report ports when deleting interfaces. d7e9117ca mcast-snooping: Test per port explicit flooding. 0dd10cd80 flake8: Fix E721 check failures. c0275d6a1 build-aux: Enable flake8 checks for python extraction scripts. bc261b959 build-aux/extract-ofp-msgs: Fix flake8 and syntax errors. 8e50fc793 build-aux/extract-ofp-fields: Fix flake8 and syntax errors. 374a7bf63 build-aux/extract-ofp-errors: Fix flake8 and syntax errors. 0634be942 build-aux/extract-ofp-actions: Fix flake8 and syntax errors. e76ecab43 automake: Move build-aux EXTRA_DIST updates to their own file. 1b0c75320 netdev-offload: Fix Clang's static analyzer 'Division by zero' warnings. 3919e61a7 ofp-table: Fix count_common_prefix_run() function. 07e3598da vswitch.xml: Add entry for dpdkvhostuser userspace-tso. afc9bad24 vswitch.xml: Add dpdkvhostuser group status. dadbcdd83 readthedocs: Use dirhtml builder. 1cdc76388 tests: Use ping timeout instead of deadline. 19770fc30 tests/system-traffic: Ensure no name resolution for tcpdump. 918351807 readthedocs: Add the configuration file. f344aa0b5 tc: Improve logging of mismatched actions. 159e214c3 ofproto-dpif-upcall: Pause revalidators when purging. 40b55d2e9 db-ctl-base: Fix memory leak of db commands. 0ebd8cdbf Prepare for 3.2.2. cd5dee5b9 Set release date for 3.2.1. 0f7907a76 netdev-dpdk: Document rx-steering status options. 99fa50391 netdev-dpdk: Update docs for interface info. af98a39f0 netdev-dpdk: Document status options for VF MAC address. 6cab4c6f9 netdev-offload-dpdk: Fix flushing of a physdev. a2c01c797 connmgr: Fix ofconn configuration on vswitchd startup. 0d0e95cd2 ovsdb: Fix potential leak when making diff of conditions. 25f11d058 python: idl: Fix last-id update from a monitor reply. b5c08719e netlink-conntrack: Fix partial match of entries with SCTP. 00212562e ofproto-dpif-xlate: Fix recirculation with patch port and controller. 0638b7b26 ofproto-dpif-xlate: Don't reinstall removed XC_LEARN rule. 1d78a3f31 netdev-dpdk: Disable net/tap Tx L4 checksum offloads. 8612f8cce tests/mfex: Don't require python cryptography. cf537b2c4 configure: Avoid deprecated AC_PROG_CC_C99 if possible. 01dd0ab51 tests: Fix time dependency in overlapping flows modification test. 0df9f974d netdev-dpdk: Clear IP packet type when no offload is requested. a4aa20251 python: Use build to generate PEP517 compatible archives. a8a31e653 python: Use twine to upload sdist package to pypi.org. 3b3a7b50f python: Rename build related code to ovs_build_helpers. bf27c8b96 dpif-netdev: Fix length calculation of netdet_flow_key. 74a64ac0a doc: Fix description of max_len for controller action. 20f464527 docs: Fix rendering of VLAN Comparison Chart. da20390c7 fatal-signal: Drop logging of failed dummy backtrace. 944809833 docs: Run tbl preprocessor in manpage-check rule. e2163f2ed docs: Add `nowarn` region option to tables. 4e6bc7674 tests: Add clang-analyzer-results to gitignore. 55d01136a ci: Add jobs to test -std=c99 builds. 6af08f420 tests: Fix order of includes in barrier/id-fpool/mpsc-queue tests. 4e475523c sflow: Always enable _BSD_SOURCE. b40af6194 compiler.h: Don't use asm and typeof with non-GNU compilers. e99e98655 Prepare for 3.2.1. f8d24583e Set release date for 3.2.0. cb7c6775c ovs.tmac: Fix troff warning in versions above groff-1.23. 958278aa2 connmgr: Count unsent async messages. 68ff50a9b system-traffic.at: Avoid names veth0/veth1 in SRv6 tests. 150b0fb00 dpif-netdev: Fix dpif_netdev_flow_put. 06c08b942 cirrus: Update to FreeBSD 13.2. 900a68070 ci: Fix OPTS not being passed to OSX builds. 2fe6a72a7 ovsdb-tool: Fix json leak while showing clustered log. 303dd0130 ovsdb-server: Fix excessive memory usage on DB open. b9f6da302 tests: Add ovsdb execution cases for set size constraints. 23569e337 ovsdb: relay: Fix handling of XOR updates with size constraints. cfd3c5c69 ovsdb: file: Fix diff application to a default column value. 322f59f1d ovsdb: file: Fix inability to read diffs that violate type size. cdd5a0a65 ovs-tcpdump: Clear auto-assigned ipv6 address of mirror port. 903a281ae ofproto-dpif: Fix removal of renamed datapath ports. 1e9c40137 netdev-dpdk: Negotiate delivery of per-packet Rx metadata. 9e0e43d8c ofproto-dpif-upcall: Mirror packets that are modified. a08180349 daemon.at: Correctly terminate ovsdb process in a backtrace test. 59bd372a0 vswitchd: Wait for a bridge exit before replying to exit unixctl. f20980a19 Prepare for 3.2.0. 07ce41da1 netdev-linux: Support 64-bit rates in tc policing. 68ac6e9db netdev-linux: Refactor nl_msg_put_act_police. 13e183da3 netdev-linux: Remove tc_matchall_fill_police. a86fea06f netdev-linux: Use 64-bit rates in htb tc classes. 7edfac574 netdev-linux: Use 64bit rtab and burst calculations. b8f8fad86 netdev-linux: Use speed as max rate in tc classes. 6240c0b4c netdev: Add netdev_get_speed() to netdev API. 1ef3f4f78 AUTHORS: Add Felix Huettner. 5392f89fe relay: Allow setting probe interval. ef4883a8d dpif-netdev: Remove pmd-sleep-max experimental tag. bc6a6f82e dpif-netdev: Add pmd-sleep-show command. 395668a68 pmd.at: Add macro for checking pmd sleep max time and state. 023dcdc7a dpif-netdev: Rename pmd-maxsleep config option. 4d55a364f python: Add async DNS support. 501f665a5 conntrack: Extract l4 information for SCTP. 62f5aa42a shash, simap, smap: Add assertions to `*_count` functions. a5fdc45b8 netdev-dpdk: Fix build with experimental API. 4829506b2 ofproto-dpif-xlate: Reduce stack usage in recursive xlate functions. f3e9d3004 AUTHORS: Add Chandan Somani. 799f697e5 checkpatch: Print subject field if misspelled or missing. 9a50170a8 checkpatch: Add suggestions to the spell checker. d25c6bd8d checkpatch: Reorganize flagged words using a list. f770b8c13 AUTHORS: Add James Raphael Tiovalen. b2d45921a ovs-vsctl: Fix crash when routing is enabled. e769387b4 file, monitor: Add null pointer assertions for old and new ovsdb_rows. e71f1a2da ovsdb: Assert and check return values of `ovsdb_table_schema_get_column`. 00782baac AUTHORS: Add Sayali Naval. 8e073791d bridge: Fix unexpected values for IPFIX enable-input/output-sampling. fc06ea9a1 netdev-dpdk: Add custom rx-steering configuration. a5669fd51 netdev-dpdk: Drop TSO in case of conflicting virtio features. b4c7009c2 system-offloads-traffic.at: Add vxlan gbp offload test. 7f04588d7 netdev-tc-offloads: Probe for allowing vxlan gbp support. a2a3f1983 tc: Add vxlan encap action with gbp option offload. 256c1e581 tc: Pass encap entirely to nl_msg_put_act_tunnel_key_set. a4332b5e6 tc: Add vxlan gbp option flower match offload. c39d7d06f netlink: Add new function to add NLA_F_NESTED to nested netlink messages. 31baa7781 odp-util: Extract vxlan gbp option encoding to a function. 8c3d5488d odp-util: Extract vxlan gbp option decoding to a function. affb9b818 tc: Pass tunnel entirely to tunnel option parse and put functions. c2433bdfc dpif-netdev: Lockless meters. 2ece9c9ac ovsdb: raft: Fix RAFT paper link. 9b4d2ad8e conntrack: Allow to dump userspace conntrack expectations. 34ace16cb tests: Add macro to common file. d56932aac checkpatch: Ignore yml files when checking line lengths. 903294cde dpif: Add coverage counters for dpif_operate() failures. c91867030 MAINTAINERS: Add Eelco Chaudron. 07f6d6a0c Add editorconfig file. 3337e6d91 userspace: Enable L4 checksum offloading by default. 5d11c47d3 userspace: Enable IP checksum offloading by default. 4433cc686 dpif-netdev: Show netdev offloading flags. 22df63c38 Documentation: Document netdev offload. e3ba0be48 seq: Make read of the current value atomic. 04f854f93 fatal-signal: Don't share signal fds/handles with forked process. 469e98e16 ovsdb: monitor: Destroy initial change set when new columns added. 759a29dc2 backtrace: Extend the backtrace functionality. 474a179af cpu: Fix cpuid check for some AMD processors. 106ef2186 tc: Fix crash on malformed reply from kernel. 64cdc290e appveyor: Silence the git clone of pthreads4w. 8bcc6d694 netdev-dpdk: Fix warning with gcc 13. 359cabbd6 netdev-offload: Fix some typos. ef1da757f ovsdb: condition: Process condition changes incrementally. d56366bfa tests: Check ovsdb-server logs in OVSDB tests. 1335af2f5 MAINTAINERS.rst: Move several people to emeritus status e3d0e84ed utilities/bashcomp: Fix PS1 generation on new bash. c3e410a03 netdev-offload-dpdk: Fix crash in debug log. 9dad8dfd1 netdev-dpdk: Check rx/tx descriptor sizes for device. 0af352b6d netdev-dpdk: Remove requested descriptors from get_config. 59c908410 ofproto-dpif-upcall: Don't set statistics to 0 when they jump back. 0826de990 stream-ssl: Disable alerts on unexpected EOF. d51a4ef0a tests: layer3-tunnels: Skip bareudp tests if not supported by kernel. 68d6d2777 AUTHORS: Add yangchang. 263fcdfdb ovs-fields: Modify the width of tpa and spa. 701c2dbfb userspace: Add new option srv6_flowlabel in SRv6 tunnel. f328fd489 netdev-native-tnl: Add ipv6_label param in netdev_tnl_ip_build_header. eb8c19eba netdev-native-tnl: Add ipv6_label param in netdev_tnl_push_ip_header. ce8828a37 netdev-vport: RCU-fy tunnel config. 0c4b299eb smap: Make argument of smap_add_ipv6 constant. be6f096fb netdev-vport: Fix unsafe handling of GRE sequence number. 8045c0f8d tests: dpdk: Pass `--no-pci` to tests that do not use physical ports. 5cb543bc5 MAINTAINERS.rst: Make myself an active maintainer 965c2955e test-stream: Add ssl tests for stream open block. f3f3be682 tests-ovsdb: Switch OVSDB_START_IDLTEST to macro. 64e4cca5c AUTHORS: Add Zhiqi Chen. ffb8b743b dpctl: Fix dereferencing null pointer in parse_ct_limit_zones(). cd608cf96 netdev-offload: Fix deadlock/recursive use of the netdev_hmap_rwlock rwlock. 14773af4b ofproto-dpif-xlate: Fix use-after-free when xlate_actions(). 1a1b3106d ci: Separate DPDK from OVS build. 46240314a ovsdb-idl.at: Fix write-changed-only tests without change tracking. 77d822898 tc: Fix cleaning chains. 572e89f41 AUTHORS: Add Stefan, Luca and Max. b456b1a02 python-stream: Handle SSL error in do_handshake. c3559dffc dpif-netlink: Fix memory leak dpif_netlink_open(). 8d59ab31d ofp-parse: Check ranges on string to uint32_t conversion. 3fa0fc582 util: Fix an issue that thread name cannot be set. 36c8c101c doc: Fix the list of supported tunnels in README. 70ba6e97d learning-switch: Fix coredump of OpenFlow15 learning-switch. 07c27226e ovsdb: Monitor: Keep and maintain the initial change set. 172c935ed ovsdb: Avoid converting database twice on an initiator. 08449bb47 ovsdb: Perform conversion with no data for clustered databases. 4d6cdd8e0 ovsdb: Allow conversion records with no data in a clustered storage. a73b0206b ovsdb: Check for ephemeral columns before writing a new schema. 5575539f6 ovsdb-tool: Fix cluster-to-standalone for DB conversion records. d70688a72 system-offloads-traffic: Fix tc ingress pps check for meter offload. 9fa612959 ovs-dpctl: Add new command dpctl/ct-[sg]et-sweep-interval. 75eae6560 github: Test building Fedora RPMs. 7864b380d AUTHORS: Add Songtao Zhan. 8cba7a76d ovs-tcpdump: Stdout is shutdown before ovs-tcpdump exit. 9d840923d ofproto-dpif-xlate: Always mask ip proto field. e41bdb176 conntrack-tp: Fix clang warning. b53547668 AUTHORS: Add Faicker Mo. f9507c1ea netdev-offload-tc: Del ufid mapping if device not exist. daeab9548 db-ctl-base: Partially revert b8bf410a5. 0f34ecbd5 vswitch.xml: Add description of SRv6 tunnel and related options. 306583b56 netdev-tc-offloads: Fix misaligned 8 byte read. 7381fd440 odp: Add SRv6 tunnel actions. 03fc1ad78 userspace: Add SRv6 tunnel support. 349112f97 flow: Support rt_hdr in parse_ipv6_ext_hdrs(). 57b9fc50d tnl-ports: Support multiple nw_protos. 0db74e0eb tests: Define new ADD_VETH_NS macro. b354cee2e ovs-thread: Fix cpus not read for the first 10s. 79f936744 dpif-netlink: Always create at least 1 handler. d53ee36aa netdev-offload-tc: Fix parse_tc_flower_to_actions() reporting errors. b3935cf90 tests/mfex: Retain support for cryptography pre-v37. 07cf5810d dpdk: Allow retaining CAP_SYS_RAWIO privileges. e90a0727f vswitch: Add missing documentation for "ct_flush" capability. ebe98c587 dpctl: Fix flush-conntrack with datapath as argument. a4cd2afea ofproto-dpif-upcall: Remove redundant time_msec() in revalidate(). 29720e378 ofproto-dpif-upcall: Wait for valid hw flow stats before applying min-revalidate-pps. 51778134d system-traffic: Fix conntrack test cases which are failing with af_xdp. 49e534cd3 route-table: Retrieving the preferred source address from Netlink. b801f1aa0 ovs-router: Introduce src option in ovs/route/add command. 01acf09f7 ofproto: Fix man page for tunnel related commands. 915f084b9 ovs-router: Cleanup parser for ovs/route/add command. de6589799 netdev-dummy: Support multiple IP addresses. f65d1951d AUTHORS: Add Fangrui Song. 71ca8393b treewide: Remove uses of ATOMIC_VAR_INIT. e3c821f8c netdev-windows: Add checking when creating netdev with system type on Windows bfc0d5da3 ofproto-dpif-upcall: Include hardware offloaded flows in total flows. 4d69c1900 ofproto-dpif-upcall: Reset ukey's last stats value if the datapath changed. 489553b1c classifier: Fix missing masks on a final stage with ports trie. 8bd688063 system-traffic.at: Add icmp error tests while dnatting address and port. 5f0fdf5e2 test: Move check for tc ingress pps support to test script. f1f278f5e ipfix: Make template and stats interval configurable. b5313a8ce ofproto: Fix re-creation of tunnel backing interfaces on restart. cf288fdfe AUTHORS: Add Liang Mancang and Viacheslav Galaktionov. c156f9bc5 ofproto: Include flow cookies in bridge/dump-flows output. b0d9a1efc conntrack: Fix conntrack_clean may access the same exp_list each time. 71e5669af ovs-actions: Correct typo in ovs-actions man page. 2b1c70656 ofproto-ipfix: Use per-domain template timeouts. 564dc0f2c MAINTAINERS: Move myself to emeritus status. 481e3fa69 AUTHORS: Add Miika Petäjäniemi. a6195e2c4 netdev-linux: Add jitter parameter to the netem qos options. f3c6cb907 AUTHORS: Add Vladislav Odintsov. 4f27d5a02 utilities: Add support to set umask in ovs-ctl. 1f47d7399 Set release date for 3.1.0. cd1cf6a24 test: Remove duplicate test from system-offloads-traffic.at. 6c24851f4 ofproto-dpif-upcall: Use last known stats ukey stats on revalidate missed dp flows. 0a7587034 conntrack: Properly unNAT inner header of related traffic. fc3d5e1da sparse: Fix build with DPDK and GCC 12. 5f219af8b ovsdb-server: Fix handling of DNS name for listener configuration. 7bb0c33d7 tests: Comment currently failing TC system-traffic tests. 594d1fee5 tests: Fix reading of OpenFlow byte counters in GRE test cases. a08a589ce netdev-offload-tc: If the flow has not been used, report it as such. d57299fc6 odp-util: Make odp_flow_key_from_flow__ nlattr order the same as the kernel. 25b6f5585 test: Fix 'conntrack - Multiple ICMP traverse' for tc case. 3655ddb4f test: Tc does not support conntrack timeout, skip the related test. b292cce2f netdev-offload-tc: Conntrack ALGs are not supported with tc. 7a176f963 test: Flush datapath when changing rules on the fly. 564d09ef5 netdev-offload-tc: Fix tc conntrack force commit support. 320928710 test: Do not use MPLS implicit null label in test cases. f68e757ef tests: Include working system-traffic tests into the system-offloads-testsuite. 5dfc8309d ofproto-dpif-upcall: New ukey needs to take the old ukey's dump seq. e85e8a754 hash: Avoid 64bit crc intrinsics on 32bit aligned data. 4339e7b19 dp-packet: Allocate on cacheline boundary with DPDK. 531c17023 netdev-dummy: Allocate dummy_packet_stream on cacheline boundary. b1f58f507 netdev-offload-tc: Preserve tc statistics when flow gets modified. d6501c660 sparse: Fix numa.h for libnuma >= 2.0.13. 4fd2d46c0 AUTHORS: Add wangchuanlei. e22e1f672 dpctl: Add support to count upcall packets. e1e5eac5b tc: Add TCA_KIND flower to delete and get operation to avoid rtnl_lock(). 3f85b11d5 system-offloads-traffic: Skip tests if nc is not present. 6e5661d17 system-traffic: Remove unnecessary dependency on nc. 9117f4d54 netdev-offload-tc: Fix misaligned access to ct label. 3beff0a6b dpif-netdev-perf: Add metric averages when no iterations. 7db18054f dpif-netdev-perf: Remove not a number stat value. 4f0a728a5 system-traffic.at: Skip the 'ICMP6 Related' test if nc is missing. 6ad35dd80 utilities: Add revalidator measurement script and needed USDT probes. c3ed0bf34 tests/mfex: Silence Blowfish/CAST5 deprecation warnings. e5b3cb999 revalidator: Allow min-revalidator-pps to be 0. ebaee4462 netdev-dpdk: Free mbufs in bulk. b7f540129 ovsdb: Don't convert unchanged columns during database conversion. e0e4266a9 ovsdb-types: Add functions to compare types for equality. 948767a18 dpif-netdev: Set PMD load based sleep start/inc to 1 us. f62629a55 dpif-netdev: Set timer slack for PMD threads. e24b68fa7 netdev-dpdk: Fix deadlock due to virtqueue stats retrieval. 7402dae8f ovsdb: Fix database statistics during the database replacement. b02356ebb Prepare for post-3.1.0 (3.1.90). Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* recipes/classes/scripts: Drop SRCPV usageBruce Ashfield2023-08-241-1/+1
| | | | | | | | | bitbake has been enhanced such that SRCPV is no longer needed in PV to handle updating git hashes and task signatures. We can simplify our PV by dropping SRCPV Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* openvswitch: 3.1.2Bruce Ashfield2023-08-241-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bumping ovs to version v3.1.2-12-g8b1795c69, which comprises the following commits: 8b1795c69 ovsdb-tool: Fix json leak while showing clustered log. d4d068fef ovsdb-server: Fix excessive memory usage on DB open. 369daff0d tests: Add ovsdb execution cases for set size constraints. eb33626b5 ovsdb: relay: Fix handling of XOR updates with size constraints. 8d2c8c33e ovsdb: file: Fix diff application to a default column value. 379755815 ovsdb: file: Fix inability to read diffs that violate type size. 96d02ee7a ovs-tcpdump: Clear auto-assigned ipv6 address of mirror port. 618d3bdbb ofproto-dpif: Fix removal of renamed datapath ports. 11c542104 netdev-dpdk: Negotiate delivery of per-packet Rx metadata. cad4759fa ofproto-dpif-upcall: Mirror packets that are modified. 17022ea06 vswitchd: Wait for a bridge exit before replying to exit unixctl. 4aba34b82 Prepare for 3.1.3. 916777447 Set release date for 3.1.2. aba1862d8 ofproto-dpif-upcall: Don't set statistics to 0 when they jump back. 859071224 ovsdb: monitor: Destroy initial change set when new columns added. 54e45e3fe ovsdb: Monitor: Keep and maintain the initial change set. 5fe322e16 fatal-signal: Don't share signal fds/handles with forked process. 3fcb81784 cpu: Fix cpuid check for some AMD processors. 01f0668fd tc: Fix crash on malformed reply from kernel. 45dba48f3 netdev-dpdk: Fix warning with gcc 13. faddfa21d utilities/bashcomp: Fix PS1 generation on new bash. 33db42a34 netdev-offload-dpdk: Fix crash in debug log. 55535451b stream-ssl: Disable alerts on unexpected EOF. e3b84fd4a tests: layer3-tunnels: Skip bareudp tests if not supported by kernel. e91339405 ovs-fields: Modify the width of tpa and spa. 23d77ba10 netdev-vport: RCU-fy tunnel config. 0f303e4a7 smap: Make argument of smap_add_ipv6 constant. 467b891f7 netdev-vport: Fix unsafe handling of GRE sequence number. ea2014688 tests: dpdk: Pass `--no-pci` to tests that do not use physical ports. f4cc9ca82 dpctl: Fix dereferencing null pointer in parse_ct_limit_zones(). 9e27e8fe8 netdev-offload: Fix deadlock/recursive use of the netdev_hmap_rwlock rwlock. 087439e41 ofproto-dpif-xlate: Fix use-after-free when xlate_actions(). bf9c834e6 ci: Separate DPDK from OVS build. bf1b32e20 ovsdb-idl.at: Fix write-changed-only tests without change tracking. c6cb82887 tc: Fix cleaning chains. 29c61a402 python-stream: Handle SSL error in do_handshake. 615548e53 dpif-netlink: Fix memory leak dpif_netlink_open(). 42edc9a1d ofp-parse: Check ranges on string to uint32_t conversion. d3a479c4b learning-switch: Fix coredump of OpenFlow15 learning-switch. 9529e9aa9 ovsdb: Allow conversion records with no data in a clustered storage. 7006bb112 ovsdb: Check for ephemeral columns before writing a new schema. 27678b3a1 ovsdb-tool: Fix cluster-to-standalone for DB conversion records. 771c989a9 ovs-tcpdump: Stdout is shutdown before ovs-tcpdump exit. Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* ovs: fix some installed packages in openvswitch cannot be executedXiangyu Chen2023-07-252-0/+44
| | | | | | | | | | | | | | | | | | | | | The variable "PYTHON3" in Makefile.am set as python3, this cause the following scripts error: /usr/sbin/ovs-bugtool Not found the interpreter python3 /usr/bin/ovs-pcap Not found the interpreter python3 /usr/bin/ovs-test Not found the interpreter python3 /usr/bin/ovs-tcpdump Not found the interpreter python3 /usr/bin/ovs-tcpundump Not found the interpreter python3 /usr/bin/ovs-vlan-test Not found the interpreter python3 /usr/bin/ovs-l3ping Not found the interpreter python3 /usr/bin/ovs-parse-backtrace Not found the interpreter python3 /usr/bin/ovs-dpctl-top Not found the interpreter python3 /usr/share/openvswitch/scripts/ovs-check-dead-ifs Not found the interpreter python3 /usr/share/openvswitch/scripts/ovs-check-dead-ifs Not found the interpreter python3 /usr/share/openvswitch/scripts/ovs-monitor-ipsec Not found the interpreter python3 /usr/share/openvswitch/scripts/ovs-vtep Not found the interpreter python3 Signed-off-by: Xiangyu Chen <xiangyu.chen@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* ovs: update to 3.1.1Bruce Ashfield2023-04-211-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bumping ovs to version v3.1.1-2-g771c989a9, which comprises the following commits: 771c989a9 ovs-tcpdump: Stdout is shutdown before ovs-tcpdump exit. 8ac6375ca Prepare for 3.1.2. 0187eadfc Set release date for 3.1.1. 61b39d8c4 ofproto-dpif-xlate: Always mask ip proto field. 8019b5896 conntrack-tp: Fix clang warning. b184a68a2 netdev-offload-tc: Del ufid mapping if device not exist. 037e2d916 db-ctl-base: Partially revert b8bf410a5. fee5ea720 netdev-tc-offloads: Fix misaligned 8 byte read. fff04b838 ovs-thread: Fix cpus not read for the first 10s. b2b467b3a dpif-netlink: Always create at least 1 handler. 0f30961e0 netdev-offload-tc: Fix parse_tc_flower_to_actions() reporting errors. 3f50354a9 vswitch: Add missing documentation for "ct_flush" capability. 504f8c859 dpctl: Fix flush-conntrack with datapath as argument. 24b47072f ofproto-dpif-upcall: Wait for valid hw flow stats before applying min-revalidate-pps. 9f9b4de38 system-traffic: Fix conntrack test cases which are failing with af_xdp. dcdff1f42 netdev-windows: Add checking when creating netdev with system type on Windows 39a7a18c3 ofproto-dpif-upcall: Include hardware offloaded flows in total flows. f7378bc7f ofproto-dpif-upcall: Reset ukey's last stats value if the datapath changed. 694c7b4e0 classifier: Fix missing masks on a final stage with ports trie. 87249e136 ofproto: Fix re-creation of tunnel backing interfaces on restart. cb4eecd01 conntrack: Fix conntrack_clean may access the same exp_list each time. 372e1a835 ovs-actions: Correct typo in ovs-actions man page. 9c34fc2f6 ofproto-ipfix: Use per-domain template timeouts. b72a7f925 Prepare for 3.1.1. 3c2bea086 Set release date for 3.1.0. bb925b002 ofproto-dpif-upcall: Use last known stats ukey stats on revalidate missed dp flows. ed44eefb8 conntrack: Properly unNAT inner header of related traffic. a8580e508 sparse: Fix build with DPDK and GCC 12. 3ac908fd4 ovsdb-server: Fix handling of DNS name for listener configuration. 188da42e3 netdev-offload-tc: If the flow has not been used, report it as such. a77b8a32c netdev-offload-tc: Conntrack ALGs are not supported with tc. 34fabdce5 netdev-offload-tc: Fix tc conntrack force commit support. ec26862f6 ofproto-dpif-upcall: New ukey needs to take the old ukey's dump seq. 68e8ecaee netdev-offload-tc: Preserve tc statistics when flow gets modified. 4e3ac0d80 sparse: Fix numa.h for libnuma >= 2.0.13. 9629c0b4c tc: Add TCA_KIND flower to delete and get operation to avoid rtnl_lock(). f3988b8c6 netdev-offload-tc: Fix misaligned access to ct label. c48aaf289 dpif-netdev: Set PMD load based sleep start/inc to 1 us. 7aea2f9cd dpif-netdev: Set timer slack for PMD threads. f7da18a96 netdev-dpdk: Fix deadlock due to virtqueue stats retrieval. 21ccb0c88 ovsdb: Fix database statistics during the database replacement. 8986d4d55 Prepare for 3.1.0. 43266915a ovs-vsctl: Do not sent 'set_db_change_aware'. 8833e7c8e ovsdb-idl: Provide API to disable set_db_change_aware request. 08146bf7d openflow: Add extension to flush CT by generic match. a9ae73b91 ofp, dpif: Allow CT flush based on partial match. de3bbdc47 dpif-netdev: Add PMD load based sleeping. f4c884135 util: Add non quiesce xnanosleep. 4de6b009c Documentation: Remove link to obsolete sources. 68ff5e981 Documentation: Remove reference to RST online editor. 8ef198425 Documentation: Fix link to Netperf. 61e2259cf Documentation: Fix link to AppVeyor. 7e18ae63a Documentation: Fix link to iproute2 git repository. c7da49bc6 netdev-offload-dpdk: Fix transfer flows. bd14aa31e tests: Add unit tests to rculist. e5d92c1a5 cirrus: Update to use FreeBSD 12.4. 264ae342d system-dpdk: Fix error message in ping vhost-user ports. c9e10ac57 netdev-dpdk: Drop coverage counter for vhost IRQs. 3b29286db netdev-dpdk: Add per virtqueue statistics. 006e1c6db tc: Add support for TCA_STATS_PKT64. a7826d05b Documentation: Fix links in maintainers.rst. 1584062b9 Documentation: Fix links in the DPDK guide on physical ports. 461ab419e treewide: Don't use non-portable '==' with test command. 182b9cb35 dpif: Fix tunnel key set for IPv6 tunnels with SLOW_ACTION. 62e85106b utilities: Add USDT script to monitor dpif netlink execute message queuing. 9736b971b rhel: Enable AF_XDP by default in Fedora builds. e44e80343 acinclude.m4: Build with AF_XDP support by default if possible. 771a55825 Documentation/afxdp: Use packaged libbpf/libxdp for the build. 649dbc19f github: Test AF_XDP build using libbpf instead of kernel sources. b17cadff1 netdev-afxdp: Hide too large memset from sparse. 1dcc490d4 netdev-afxdp: Allow building with libxdp and newer libbpf. 0d8318db6 netdev-afxdp: Disable -Wfree-nonheap-object on receive. d83d7c491 ci: Fix overriding OPTS provided from the yml. 46e04ec31 dpif-netdev: Calculate per numa variance. ad6e506fc dpif-netdev: Rename pmd_info_show_rxq variables. e9ab15f4f docs: Add documentation for pmd-rxq-show secs parameter. 526230bfa dpif-netdev: Make pmd-rxq-show time configurable. 9a86a3dd6 travis: Drop support. d5469cb74 Makefile: Add USDT scripts to make install and fedora/debian test rpm. 685973a9f ovsdb-server: Don't log when memory-trim-on-compaction doesn't change. 863d2e1a8 python: Don't exit OFPFlow constructor. 22eb22438 tests: Verify flows in odp.at are parseable. fc3f918cb tests: Verify flows in ofp-actions are parseable. c395e9810 python: Interpret free keys as output in clone. 542fdad70 python: Fix output=CONTROLLER action. 1850e5e68 python: Support case-insensitive OpenFlow actions. 75a6e8db9 python: Return list of actions for odp action clone. d33e548fc python: Make key-value matching strict by default. fe204743c python: Add explicit decoders for all ofp actions. 3648fec08 python: Include aliases in ofp_fields.py. c627cfd9c python: Fix datapath flow decoders. 9855f35dd dpif-netdev/mfex: Add AVX512 NVGRE traffic profiles. 363cc2683 dpif-netdev/dpcls: Specialize 8, 1 and 5, 2 signatures. a879beb4d odp-execute: Add ISA implementation of set_masked IPv6 action c1daeb4b4 AUTHORS: Add Qian Chen. 7490f281f lldp: Fix bugs when parsing malformed AutoAttach. 0d23948a5 ovs-thread: Detect changes in number of CPUs. d34245ea1 ovs-ctl: Allow inclusion of hugepages in coredumps. c82f496c3 dpif-netdev: Use unmasked key when adding datapath flows. 79e7756a5 utilities: Add a GDB macro to dump hmap structures. bf8fa1fe4 dpdk: Fix typo in v22.11.1 tarball extract example. 1ea0fa4ad rhel: Avoid creating an empty database file. 69e71bf79 odp-execute: Add check for L4 header size. a787fbbf9 ovsdb-cs: Consider default conditions implicitly acked. 739bcf226 odp-execute: Fix ipv4 missing clearing of connection tracking fields. 481555587 faq: Update some wording since kernel module is already removed. 6bc92db36 rculist: Use rculist_back_protected to access prev. e83dad6e5 ovsdb: Count weak reference objects. 093915e04 vswitch.ovsschema: Set bfd_status to ephemeral. b8bf410a5 db-ctl-base: Use partial map/set updates for last add/set commands. a77c7796f dpdk: Update to use v22.11.1. 55b9507e6 ovsdb-idl: Add the support to specify the uuid for row insert. 954ae38a1 odp-util: Fix reporting unknown keys as keys with bad length. cd475f976 ovs-dpctl-top: Fix ovs-dpctl-top via pipe. 59e8cb8a0 rhel: Move conf.db to /var/lib/openvswitch, using symlinks. b22c4d840 netdev: Assume default link speed to be 10 Gbps instead of 100 Mbps. d240f72ad netdev-dpdk: Cleanup mempool selection code. 126e6046e netdev-dpdk: Move DPDK netdev related configuration. 0937209fc netdev-dpdk: Cleanup code when DPDK is disabled. 22413fe8a lacp: Modify the comment misspelling. 5b06970e8 ofp-msgs: Fix comment typo. 2496d8543 rculist: Fix iteration macros. c6062d107 vswitchd: Publish per iface received multicast packets. 8b3c86897 learn: Fix parsing immediate value for a field match. 62ac7b8a5 datapath-windows: Check the condition to reset pseudo header checksum on Rx side bb9fedb79 netdev-offload-dpdk: Enhance the support of tunnel pop action c230c7579 netdev-offload-tc: Reserve lower tc prios for ip ethertypes 48a0adefa dpif-netlink: Remove redundant null assignment 6ccf8efff tc: Fix coverity dereference null return value d77f93f36 tc: Pass tun_metadata by reference 165edb9ae ci: Update meson requirement for DPDK. c8a08db10 ovsdb: transaction: Fix weak reference leak. 9a638044e ovsdb: transaction: Refactor assess_weak_refs. 235fc6f4c AUTHORS: Add Daniel Ding. 02be2c318 netdev-linux: Fix inability to apply QoS on ports with custom qdiscs. a3848d98e conntrack: Show parent key if present. fec5424ae tc: Fix misaligned writes while parsing pedit. 0bd4155f5 odp-util: Add missing separator in format_odp_conntrack_action(). 0d0f282c1 vswitch.xml: Fix the name of rstp-path-cost option. f1eb850ae mac-learning: Fix learned fdb entries not age out issue. a1de888ab ofproto-dpif-xlate: Update tunnel neighbor when receive gratuitous ARP. 2158254fc utilities: Add a GDB macro to dump any cmap structure. 46ab9d80c bond: Fix crash while logging not yet enabled member. eb86c28dd ovs-tcpdump: Cleanup mirror port on SIGHUP/SIGTERM. c98762d91 netdev-dpdk: Fix tx_dropped counters value. 2db297ea3 AUTHORS: Add Robin Jarry. 97873af37 Documentation: Use new syntax for dpdk port representors. ffcb6f115 netdev-linux: Allow meter to work in tc software datapath when tc-policy is specified 743499607 Revert "tc: Fix stats dump when using same meter table" 7a5ee3251 tc: On last action use drop action attribute instead of pipe 850e63902 AUTHORS: Add Wilson Peng. ba9e387dc unaligned: Correct the stats of packet_count and byte_count on Windows. 9c27bd230 ct-dpif: Replace ct_dpif_format_flags() with format_flags_masked(). f7ae3f93c tests: Fix filtering of whole-second durations. 77f739914 ofproto-dpif-xlate: Allow sample when no in_port. 76ab364ea netdev-offload: Set 'miss_api_supported' to be under netdev. 31db0e043 cmap: Add thread fence for slot update. 6f5353839 ofproto-dpif-xlate: Do not use zero-weight buckets in select groups. edeefe762 github: Update versions of action dependencies. dc5410452 ovsdb: Fix race for datum JSON string reference counter. ccd26e79e ovs-tcpdump: Fix bond port unable to capture jumbo frames. 96b26dce1 ofproto-dpif-upcall: Print more data on unassociated datapath ports. 0b21e2343 json: Fix deep copy of objects and arrays. b5d972299 Add support for OpenSSL 3.0 functions. 1a9482d53 dhparams: Fix .c file generation with OpenSSL >= 3.0. 6c4735406 AUTHORS: Add Fengqi Li. 691c5a5de daemon-unix: Fix file descriptor leak when monitor restarts child. b8932f5b3 vconn: Allow ECONNREFUSED in refuse connection test. 46606cb2d sparse: Add a guard for netinet/ip6.h header on FreeBSD. 9b1a897e2 dpdk: Use DPDK 21.11.2 release. 5a686267d lib: Add support for sets of UUIDs. 62dab6a52 m4: Test avx512 for x86 only. 57b72c552 AUTHORS: Add Xavier Simonart. 02f31a126 ovsdb-idl: Preserve references for rows deleted in same IDL run as their insertion. 3b786f5cf system-dpdk: Improve user configured mempool test. 7eee450f8 datapath-windows: Fix icmp related error code. b26015c33 datapath-windows: support meter action initial version 7af5c33c1 datapath-windows: Add IPv6 conntrack ip fragment support on windows 54a618f0b datapath-windows: Alg support for ftp and tftp in conntrack 7a9dc1950 datapath-windows: Correct Geneve IPV6 header checksum parameter 753c4f57b AUTHORS: Add Christopher Aubut. a39ee99ed python: idl: Fix idl.Row.__str__ method. 586adfd04 bond: Avoid deadlock while updating post recirculation rules. 647551935 ofproto-dpif-upcall: Add debug commands to pause/resume revalidators. 2e74c4475 test-list: Fix false-positive build failure with GCC 12. a93d0b74d ofproto-dpif-trace: add --name option for ofproto/trace. 950aee1f7 checkpatch: Add check for egrep/fgrep. b1550ddde AUTHORS: Add Andreas Stieger. 75c355adc tests: Fix tests with GNU grep 3.8. dd9881ed5 tc: Fix stats dump when using same meter table 108a48d6a cirrus: Upgrade to FreeBSD 13.1 image. 49dec9242 AUTHORS: Add Jon Kohler. c0e053f6d netdev-linux: Skip some internal kernel stats gathering. b2151d8fd tests: Use _DAEMONIZE macro's to start tcpdump. 49efc63ad ofproto-dpif-xlate: Fix error messages for nonexistent ports/recirc_ids. 4f5decf4a ofproto-dpif-xlate: Optimize datapath action set by removing last clone action. d046453b5 ofproto-dpif-xlate: Clear tunnel wc bits if original packet is non-tunnel. 5046f2e35 sset, smap, hmapx: Reserve hash map space while cloning. a32a4e1fa raft: Fix unnecessary periodic compactions. 1336eeb57 netdev-offload-tc: Parse tunnel options only for geneve ports. e5f79eaea ovsdb: Don't store rows that didn't change in transaction history. 0c4b06319 netlink-conntrack: Do not fail to parse if optional TCP protocol attributes are not found. 78dad3a0c python-c-ext: Use designated initializers for type and module. ff55e8f38 netdev-offload-tc: Add missing handling of the tunnel source port. 262eded5f netdev-offload-tc: Fix ignoring unknown tunnel keys. 7a2663467 netdev-offload-tc: Use masks instead of keys while parsing tunnel attributes. 5d91bdf12 netdev-offload-tc: Explicitly handle mask for the tunnel destination port. 7a6c8074c netdev-offload-tc: Fix the mask for tunnel metadata length. 8d35e5faf AUTHORS: Add Michael Santana. 960c0e742 Set release date for 3.0.0. 8f62b45e4 releases: Mark 2.17 as a new LTS release. 516f181a2 docs: Remove remaining references to OVS kmod and XenServer. 2803b3fb5 handlers: Fix handlers mapping. a5cacea5f handlers: Create additional handler threads when using CPU isolation. 83c9518e7 xenserver: Remove xenserver. ac1332216 acinclude: Improve vpopcntdq build check. 39364e11d packets: Fix misaligned access to ip6_hdr. 16193fe73 AUTHORS: Add Miro Tomaska. 1731ed43c python: Do not send non-zero flag for a SSL socket. d1864effe ovsdb: Fix copying weak references into transaction history. b0e8668f3 dpif-netdev: Simplify AVX512 build time checks to enhance readability. a7045017d github: Move CI to ubuntu 20.04 base image. 1fd336cce netdev-offload-tc: Disable offload of IPv6 fragments. 269a947c7 ovs-save: Use right OpenFlow version for add-tlv-map. b47ebf718 system-traffic: Fix IPv4 fragmentation test sequence for check-kernel. d6c6b216e system-traffic: Fix incorrect neigh entry in ipv6 header modification test. 6fcd733f7 system-traffic: Don't run IPv6 header modification test on kernels < 5.19. 434025a15 python: Fix E275 missing whitespace after keyword. 398623a63 tc: Use sparse hex dump while printing inconsistencies. a7680c3ca netdev-offload-tc: Print unused mask bits on failure. 823d4f6bc dynamic-string: Add function for a sparse hex dump. 050dc8fed system-offloads-traffic: Fix waiting for netcat indefinitely. 01edbc3ad dpif-netlink: Fix incorrect bit shift in compat mode. 91b41af0d checkpatch: Add check for a Fixes tag. 6a9ec13aa python: Use setuptools instead of distutils. 47cfa8941 AUTHORS: Add Salem Sol. 2ff43c78c packets: Re-calculate IPv6 checksum only for first frag upon modify. d9268782a netdev-linux: set correct action for packets that passed policer c43da842f test-ovsdb: Fix false-positive leaks from LeakSanitizer. 7670c7c2e m4: Update ax_func_posix_memalign to the latest version. 97adbe943 m4: Replace obsolete AC_HELP_STRING with AS_HELP_STRING. 593b26e52 debian: Fix incorrect linkage of the python C extension. 791c47273 python: Add ability to pass extra libs and cflags for C extension. 66824fb8d libopenvswitch.pc: Add missing libs for a static build. a68002cd9 rhel: Stop installing internal headers. 099d1c745 python-c-ext: Handle initialization failures. 318adf3f3 AUTHORS: Add Tao Liu. 8166c066a netdev-linux: Do not touch LAG members if master is not attached to OVS. 378b51c6b netdev: Clear auto_classified if netdev reopened with the type specified. 1cecd385f system-offloads-traffic: Avoid check_pkt_len action test random failures. f36acef00 system-traffic: Properly stop dangling ping after geneve test. 97211927f conntrack: Fix conntrack multiple new state. d3c14abf4 python-c-ext: Fix a couple of build warnings. 54ebc235a python-c-ext: Remove Python 2 support. 2f4eb2d8c odp-execute: Avoid unnecessary logging for action implementations. ad026f40d system-dpdk: Add testpmd clean up in MTU unit tests. 5cd03632d AUTHORS: Add Harold Huang. 48ae7b802 netdev-offload-dpdk: Setting RSS hash types in RSS action. fcdf8ae4a lib: Print nw_frag in flow key. b31ed07b7 ovsdb: Remove extra make target dependency for local-config.5. 81d186c1c ci: Prefer pip3 to install unit test dependencies. 99587921c Prepare for post-3.0.0 (3.0.90). Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* ovs: Uprev from 3.0.3 to 3.0.4Xiangyu Chen2023-04-171-3/+3
| | | | | | | Pickup the latest security and bug fixes for the ovs. Signed-off-by: Xiangyu Chen <xiangyu.chen@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* treewide: bulk update patches with status fieldBruce Ashfield2023-01-276-0/+12
| | | | | | | | | | | | | | | While the insane.bbclass upstream-status check hasn't been made default, users of meta-virtualization may have it enabled in their distros .. so the effect is the same. We must have this tracking tag in out patches. This is a bulk update to add the tag and silence the QA message. As packages get updated, the normal/routine process of checking the patches will continue, and the status fields may (or may not) get more useful. Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* ovs: update CVE_VERSION to 3.0.3Xiangyu Chen2023-01-191-1/+1
| | | | | Signed-off-by: Xiangyu Chen <xiangyu.chen@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* ovs: update to 3.0.3Bruce Ashfield2023-01-104-43/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The linux datapath has been removed, so we drop our kernel_module patch, as well as the install rules around modules_install. We refresh one patch, but otherwise, the build is unchanged. We also pick up the following commits: 7b5c4240c python: Fix datapath flow decoders. 57049862f Prepare for 3.0.4. 726c7b797 Set release date for 3.0.3. 953fa9c40 lldp: Fix bugs when parsing malformed AutoAttach. 982158827 dpif-netdev: Use unmasked key when adding datapath flows. 7aeb7f1ce odp-execute: Add check for L4 header size. 2410b9559 ovsdb-cs: Consider default conditions implicitly acked. a984a22e5 odp-execute: Fix ipv4 missing clearing of connection tracking fields. c272928c8 faq: Update some wording since kernel module is already removed. 52b85e54a rculist: Use rculist_back_protected to access prev. 192db0d03 Prepare for 3.0.3. ea6c986ff Set release date for 3.0.2. 5898bba3d odp-util: Fix reporting unknown keys as keys with bad length. c47b8fd5a ovs-dpctl-top: Fix ovs-dpctl-top via pipe. ebf52fd37 rculist: Fix iteration macros. 998fc998f vswitchd: Publish per iface received multicast packets. 0d31e8573 learn: Fix parsing immediate value for a field match. eccfce96b datapath-windows: Check the condition to reset pseudo header checksum on Rx side c9c602b6f netdev-offload-dpdk: Enhance the support of tunnel pop action e3963987a ci: Update meson requirement for DPDK. 4b6c748f8 ovsdb: transaction: Fix weak reference leak. d78eef089 ovsdb: transaction: Refactor assess_weak_refs. e17707fcd ovs-tcpdump: Cleanup mirror port on SIGHUP/SIGTERM. 6690ed80c netdev-linux: Fix inability to apply QoS on ports with custom qdiscs. bfc572f58 tc: Fix misaligned writes while parsing pedit. 89f3dd0c2 odp-util: Add missing separator in format_odp_conntrack_action(). 4cdf15787 vswitch.xml: Fix the name of rstp-path-cost option. 02ab8d169 mac-learning: Fix learned fdb entries not age out issue. ef6da6a8f ofproto-dpif-xlate: Update tunnel neighbor when receive gratuitous ARP. 48f19bdfb bond: Fix crash while logging not yet enabled member. b41427513 netdev-dpdk: Fix tx_dropped counters value. c7d9ee706 tc: On last action use drop action attribute instead of pipe 4a2fe9f1e netdev-linux: Allow meter to work in tc software datapath when tc-policy is specified d2ebceaff Revert "tc: Fix stats dump when using same meter table" 24c5414ec unaligned: Correct the stats of packet_count and byte_count on Windows. 892346cd2 tests: Fix filtering of whole-second durations. 958664218 netdev-offload: Set 'miss_api_supported' to be under netdev. 64b79581b cmap: Add thread fence for slot update. ae188cf7b ofproto-dpif-xlate: Do not use zero-weight buckets in select groups. 7cbcf3e42 github: Update versions of action dependencies. c0eb7f652 ovsdb: Fix race for datum JSON string reference counter. 3e2596f19 ovs-tcpdump: Fix bond port unable to capture jumbo frames. a8e316aee json: Fix deep copy of objects and arrays. c4bb0d8db Prepare for 3.0.2. 228600969 Set release date for 3.0.1. 50feac16f Add support for OpenSSL 3.0 functions. 61df71366 dhparams: Fix .c file generation with OpenSSL >= 3.0. 446018dfd daemon-unix: Fix file descriptor leak when monitor restarts child. 4cc16e7f9 vconn: Allow ECONNREFUSED in refuse connection test. 92d587a99 dpdk: Use DPDK 21.11.2 release. d7e3bf2d8 m4: Test avx512 for x86 only. e379e42d4 ovsdb-idl: Preserve references for rows deleted in same IDL run as their insertion. a841d55e6 datapath-windows: Correct Geneve IPV6 header checksum parameter 6636fc9ff python: idl: Fix idl.Row.__str__ method. 3bcb21a88 bond: Avoid deadlock while updating post recirculation rules. 97cc13084 ofproto-dpif-upcall: Add debug commands to pause/resume revalidators. f555cec36 test-list: Fix false-positive build failure with GCC 12. fc5a49045 tests: Fix tests with GNU grep 3.8. 787648996 tc: Fix stats dump when using same meter table dcbdadaa5 cirrus: Upgrade to FreeBSD 13.1 image. 02bfa84df netdev-linux: Skip some internal kernel stats gathering. 5737cdcc8 tests: Use _DAEMONIZE macro's to start tcpdump. bb949d595 ofproto-dpif-xlate: Fix error messages for nonexistent ports/recirc_ids. ee2254be2 ofproto-dpif-xlate: Optimize datapath action set by removing last clone action. d5932c8d7 ofproto-dpif-xlate: Clear tunnel wc bits if original packet is non-tunnel. 887b12251 raft: Fix unnecessary periodic compactions. dbbe4c55e netdev-offload-tc: Parse tunnel options only for geneve ports. 6e8da6fbb netdev-offload-tc: Add missing handling of the tunnel source port. 737d2cb5a netdev-offload-tc: Fix ignoring unknown tunnel keys. b32bee91d netdev-offload-tc: Use masks instead of keys while parsing tunnel attributes. 417600e68 netdev-offload-tc: Explicitly handle mask for the tunnel destination port. fafb386a3 netdev-offload-tc: Fix the mask for tunnel metadata length. 1123e5485 Prepare for 3.0.1. 99e0cad9e Set release date for 3.0.0. 2810ab2bf releases: Mark 2.17 as a new LTS release. de9e4f649 docs: Remove remaining references to OVS kmod and XenServer. 746e11520 handlers: Fix handlers mapping. a489eb3d2 handlers: Create additional handler threads when using CPU isolation. aaaebdf2e xenserver: Remove xenserver. 686bdae1e acinclude: Improve vpopcntdq build check. 14d59d8ec packets: Fix misaligned access to ip6_hdr. ddff8a7e3 python: Do not send non-zero flag for a SSL socket. 112e1c68e ovsdb: Fix copying weak references into transaction history. 2972c18d0 dpif-netdev: Simplify AVX512 build time checks to enhance readability. 16d0fcfa7 github: Move CI to ubuntu 20.04 base image. 50d13fb2b netdev-offload-tc: Disable offload of IPv6 fragments. bd4a72d28 ovs-save: Use right OpenFlow version for add-tlv-map. f77c14b63 system-traffic: Fix IPv4 fragmentation test sequence for check-kernel. ae74f3ffe system-traffic: Fix incorrect neigh entry in ipv6 header modification test. 0c10b785a system-traffic: Don't run IPv6 header modification test on kernels < 5.19. 941c6bda0 python: Fix E275 missing whitespace after keyword. 9fbc79d51 tc: Use sparse hex dump while printing inconsistencies. bb5a5bacb netdev-offload-tc: Print unused mask bits on failure. 2b53191e1 dynamic-string: Add function for a sparse hex dump. a78680634 system-offloads-traffic: Fix waiting for netcat indefinitely. 9554bd068 dpif-netlink: Fix incorrect bit shift in compat mode. 33ac6983b python: Use setuptools instead of distutils. e94b71578 packets: Re-calculate IPv6 checksum only for first frag upon modify. 5ce25c4b7 netdev-linux: set correct action for packets that passed policer bfb07d6b1 test-ovsdb: Fix false-positive leaks from LeakSanitizer. 7e2a5f8ad m4: Update ax_func_posix_memalign to the latest version. 95ab03020 m4: Replace obsolete AC_HELP_STRING with AS_HELP_STRING. 9c8ea6aca debian: Fix incorrect linkage of the python C extension. e0b417a03 python: Add ability to pass extra libs and cflags for C extension. de1decb45 libopenvswitch.pc: Add missing libs for a static build. 13b9fcf7e rhel: Stop installing internal headers. b4df85397 python-c-ext: Handle initialization failures. 55896a146 netdev-linux: Do not touch LAG members if master is not attached to OVS. 6d0fdae1f netdev: Clear auto_classified if netdev reopened with the type specified. f8f2c1178 system-offloads-traffic: Avoid check_pkt_len action test random failures. f62591653 system-traffic: Properly stop dangling ping after geneve test. 13de99ebd conntrack: Fix conntrack multiple new state. 6a75842cd python-c-ext: Fix a couple of build warnings. e57e91422 python-c-ext: Remove Python 2 support. b1524cb94 odp-execute: Avoid unnecessary logging for action implementations. 9ee6a71b3 system-dpdk: Add testpmd clean up in MTU unit tests. 384be3d4c netdev-offload-dpdk: Setting RSS hash types in RSS action. 9e83717ef lib: Print nw_frag in flow key. 75ca657b2 ovsdb: Remove extra make target dependency for local-config.5. 6e91000df ci: Prefer pip3 to install unit test dependencies. e2e8d7cd3 Prepare for 3.0.0. 1b53826d6 ofproto/bond: Add knob 'all-members-active'. 73ba04fd7 python: Add unit tests for filtering engine. 686bb5e72 python: Add unit tests to datapath parsing. 7448cbb4e python: Add unit tests for openflow parsing. 3425d01a9 python: Add unit tests for ListParser. 445dceb88 python: Introduce unit tests. 6a71bc09b python: Add a json encoder to flow fields. 7e588e82f python: Add flow filtering syntax. 076663b31 python: Add ovs datapath flow parsing. 3923b9331 python: Introduce OpenFlow Flow parsing. 1215cf133 python: Add flow base class. 61e040fc2 build-aux: Generate ofp field decoders. d542f0ea8 build-aux: Split extract-ofp-fields. 7803743a0 python: Add list parser. dcd17a896 python: Add mask, ip and eth decoders. 12bc968e2 python: Add generic Key-Value parser. 02341a187 systemd-dpdk: Fix typo's and capitalize first word. bf4782911 tests: Add OVS-DPDK MTU unit tests. ddaf4fe0e tests: Add OVS-DPDK QoS unit tests 3476bd393 Documentation: Remove kernel module documentation. dc433e25e acinclude.m4: Remove support for building the OVS kernel module. 422e90437 make: Remove the Linux datapath. 86642de3a tests: Remove support for check-kmod test. c94ae8a75 rhel: Stop packaging OVS kernel module. b6941ca7b ci: Stop building OVS kernel module. 16bec677a debian: Add option to build without DPDK. c78e7efa7 docs: Update package references in debian/ubuntu related docs. 3e31a2daf debian: Fix generation of copyright file. 6ad3be974 debian: Fix build of python json C extension. 671f93fe4 python: Allow building json C extension with static OVS library. ae262ddf2 ci: Separate job for debs, ensure built pkg is tested. 999032261 debian: Update packaging source from Debian/Ubuntu. 9f4f2bb7d checkpatch: Ignore line length and leading whitespace for debian/*. 02428f715 debian: Archive debian packaging source. 92eb03f7b odp-execute: Add ISA implementation of set_masked IPv4 action bcfe58543 odp-execute: Add ISA implementation of set_masked ETH 277f2375c odp-execute: Add ISA implementation of push_vlan action. 398f80fff odp-execute: Add ISA implementation of pop_vlan action. 529af6714 odp-execute: Add ISA implementation of actions. b52e0b396 acinclude: Add configure option to enable actions autovalidator at build time. 1713fc011 odp-execute: Add command to switch action implementation. eec822761 odp-execute: Add auto validation function for actions. 70b559e97 odp-execute: Add function pointer for pop_vlan action. 95e4a35b0 odp-execute: Add function pointers to odp-execute for different action implementations. d807a2bb4 AUTHORS: Add Jinjun Gao. c5553ce2f ovsdb/TODO: Update the list of tasks. 2fc29c427 man: Fix various typos across manual pages. 0443c1557 Fix spelling error exposed in binaries. 70a9f9e96 system-dpdk: Add unit test for user configured mempools. 55ba0e81d system-dpdk: Split ovsdb creation and vswitchd start. 3757e9f8e netdev-dpdk: Add shared mempool config. eacc544c4 tc: Fix misaligned access while creating pedit actions. e5162ac42 tc: Fix misaligned access to struct tcf_t for police action. 0d153bffb netdev-linux: Fix leak of a tc police get/del reply. 4dd68ff85 ovsdb: Add missing ovs-thread include. 3cd2cbd68 ovsdb: Prepare snapshot JSON in a separate thread. 485ac63d1 ovsdb: Add lazy-copy support for ovsdb_datum objects. 02dabb21f tests: Add check_pkt_len action test to system-offload-traffic. 492061257 system-offloads-traffic: Properly initialize offload before testing. e4daf88a4 netdev-offload-tc: Handle check_pkt_len datapath action. dd03672f7 netdev-offload-tc: Move flower_to_match action handling to isolated function. 64365293a netdev-offload-tc: Move flow_put action handling to isolated function. b15952590 conntrack: Check for expiration before comparing the keys during the lookup. 78387e88b conntrack: Use an atomic conn expiration value. 3d9c1b855 conntrack: Replace timeout based expiration lists with rculists. 4847baf4a conntrack-tp: Use a cmap to store timeout policies. 6edc278c8 conntrack: Use a cmap to store zone limits. cfba95158 utilities/bashcomp: Fix incorrect file mode. 23d496ac5 acinclude: Fix double -Werror. e773140ec ovsdb: Enable memory trimming after compaction by default. fe7382db6 tests: Add test for later IPv6 fragments nw_proto=44. 5d875809a meta-flow: Document nw_proto limitation for IPv6 later frags. f32bebc42 dpif-avx512: Add support for simple match lookup. dfff8b67b dpif-netdev: Refactor simple match lookup functions. eb8ebf8c4 doc: Add meter offload topic document 5660b89a3 dpif-netlink: Offloading meter to tc police action 218304df1 netdev-offload-tc: Offloading rules with police actions f6ed09ef5 netdev-offload-tc: Cleanup police actions with reserved indexes on startup 4c226944f netdev-offload-tc: Implement meter offload API for tc 5c039ddc6 netdev-linux: Add functions to manipulate tc police action ed2300cca netdev-linux: Refactor put police action netlink message a9b8cdde6 tc: Add support parsing tc police action 922b850f0 netdev-offload: Add meter offload API 0dd409c2a netdev-dpdk: Delay vhost mempool creation. b80f58cde dpif-netdev/mfex: Add ipv6 profile based hashing. 8cab30a9d dpif-netdev/mfex: Add AVX512 ipv6 traffic profiles. 3e6be8a0a mfex_avx512: Calculate miniflow_bits at compile time. 95be97a5a mfex_avx512: Calculate pkt offsets at compile time. 3a5d05c1e AUTHORS: Add Jeffrey Walton. 7d746f764 util: Update cache line size on PowerPC. 7045e91a9 Pmd.at: fix dpcls and dpif configuration test cases. e72b05686 tests/mfex: Improve pcap script for mfex tests. 6f24c2bc7 ovsdb: Add Local_Config schema. 603bc853f dpif-netdev: Fix leak of AVX512 DPIF scratch pad. c8bff848a ofproto-dpif-xlate: No clone when tunnel push is last action. 22ac9d6aa AUTHORS: Add Seamus Ryan. 09a2b8028 tests: Add ovs-dpdk rate limiting unit tests. e4a2b0109 AUTHORS: Add Ales Musil. fe171e4f1 dpif-netdev: Refactor AVX512 runtime checks. 6835d4b01 python: Add Python bindings TODO file. a9ec4e3be ovsdb-server: Log database transactions for user requested tables. c558f9f1e ovsdb-idl: Get per-database memory usage statistics. 23ed22594 dpif-netdev-extract-avx512: Protect GCC builtin usage. 8c1c447a1 ovs-tcpdump: Default to OVS_RUNDIR if present. 751d05b47 dpcls: Add unlisted alias for subtable lookup command. cb9ae5f0f ovsdb: Fix memory leak on error path in ovsdb_file_read__(). 299050c2d odp-util: Ignore unknown attributes in parse_key_and_mask_to_match(). 29a2f1835 ofproto-dpif: Avoid unneccesary backer revalidation. 509c32765 lldp: Fix lldp memory leak. f1c51be50 ipfix: Trigger revalidation if ipfix options changes. 4e1e1e189 conntrack: Fix incorrect bit shift while hashing nat range. 334d43bc0 packets: Fix misaligned write to MPLS lse. a2d202bde tc: Fix misaligned access to stats and time values. 499b9d73c odp-util: Fix unaligned access to tunnel id. 888193cec ofpbuf: Fix offsetting a NULL pointer in ofpbuf_reserve. 1dbc3b9f3 drop-stats.at: Fix frequent failures of the recursion too deep test. d632ad0aa odp_util: Fix parse_key_and_mask_to_match() vlan parsing. 70f81aa23 datapath-windows: Update layers for multiple tunnels processing bca410283 datapath-windows: Fix GRE/VxLAN/STT Tunnel RX. 88e3ae5d6 ofproto-dpif-xlate: Fix internal CT state for non-recirc traffic. ca4421851 classifier: Adjust segment boundary to execute prerequisite processing. c0d7d630b ovs-tcpdump: Fix error when stopping ovs-tcpdump. 165f5fbb5 conntrack: Limit port clash resolution attempts. c608ace71 conntrack: Remove the IP iterations in nat_get_unique_l4. 071b802c6 checkpatch.py: Add checks for easy-to-misuse APIs. 805e9340d ofproto-dpif: Fix meter use-after-free. c67941e97 ovs-rcu: Add ovsrcu_barrier. ba462b358 dpif-netdev: Fix ALB 'rebalance_intvl' max hard limit. 83c0a3647 dpif-netdev: Fix ALB parameters type mismatch. 31dfea34c AUTHORS: Add Michael Phelan. 87ef13b00 dpdk: Use DPDK 21.11.1 release. cb1c64007 acinclude: Add seperate checks for AVX512 ISA. fb85ae434 automake.mk: Remove -mavx512dq CFLAG from AVX512 library. 34a77ca70 dpif-netdev-extract: Remove unnecessary compiler targets. 66c85fae3 dpif-netdev-lookup: Fix GCC 5 warning. 90cadf170 dpif-netdev-private-extract: Fix typo VMBI -> VBMI. 2c24daa09 raft: Don't use HMAP_FOR_EACH_SAFE when logging commands. 3ecfaf136 dpif-netdev: Restructure rxq schedule logging. 37ccbd9c9 dpif-netdev: Split function to find lowest loaded PMD thread core. 04e5adfed ovsdb: raft: Fix transaction double commit due to lost leadership. 336d7dd7c dynamic-string: Fix undefined behavior due to offsetting null pointer. e8f557df3 sha1: Use implementation from openssl if available. 7b3a4c2e8 Revert "odp-util: Always report ODP_FIT_TOO_LITTLE for IGMP." 482abeae5 ofproto-dpif-xlate: Fix netdev native tunnel neigh discovery spa. c5bcbd58d ovs-router: Expose the ovs_router_get_netdev_source_address function. 743b53622 ofproto-dpif: Trigger revalidation if ct tp changes. bb78070fc Carefully release NBL in Windows 738c76a50 dpcls: Change info-get function to fetch dpcls usage stats. da9424ad0 tests: Properly kill ovsdb test processes. e5d4f011a AUTHORS: Add Han Ding. 8ce7ead8c ovs-save: Get highest ofp version error. 5ec547330 dpif-netdev: Only hash port number when necessary. d7c0b90fa ci: Add UB Sanitizer. c8c49a9db netdev-linux: Properly access 32-bit aligned rtnl_link_stats64 structs. a5cc859a4 ofp-actions: Use aligned structures when decoding ofp actions. 08c3e5e37 ofp-errors: Ensure parsed OFPT_ERROR messages are properly aligned. 933aaf944 ofp-actions: Ensure aligned accesses to masked fields. 471babb81 treewide: Avoid offsetting NULL pointers. 3764f5188 treewide: Fix invalid bit shift operations. 9dd3031d2 Documentation: Fix use of rst verbatim code chunk syntax. 6c5046209 vswitchd.xml: Fix whitespace. b3bbfc172 utilities: Handle dumping packets in GDB TUI. dd4d8e34b ofproto-dpif-xlate: Remove mirror assert. b91025187 Documentation: Clarify QEMU version requirement. 6882c45d4 docs: Note ALLOW_EXPERIMENTAL_API for tunnel offloads. 7e7083cc4 dpif-netdev: Replace loop iterating over packet batch with macro. 8523ee2f8 netdev-dpdk: Fix tx drops statistic for a down netdev. c896bffd8 netdev-dpdk: Remove a leftover lock annotation. 29b94e12d netdev-dpdk: Refactor the DPDK transmit path. 8c506d372 ofp-monitor: Fix abort on malformed flow update event. e8515c8cc ovs-monitor-ipsec: Allow custom options per tunnel. af864cedb dpif-netdev/mfex: Add ipv4 profile based hashing. dc8082276 netdev-offload-dpdk: Fix ethernet type for VLANs. 9b7ed5f6f netdev-offload-dpdk: Use has_vlan match attribute. 7d3555442 python: idl: Raise AttributeError from uuid_to_row. 218dad97d windows: Fix NEWS and add OVS version in FAQ. c3e64047d ofp-monitor: Support flow monitoring for OpenFlow 1.3, 1.4+. d8ab75cd6 ofp-monitor: Extend Flow Monitoring support for OF 1.0-1.2 with Nicira Extensions. d94cd0d3e ovsdb-idl: Support write-only-changed IDL monitor mode. b7aaf41eb AUTHORS: Add Thilak Raj Surendra Babu. c1c8cb8a1 ofproto-dpif-xlate: Clear out vlan flow fields while processing native tunnel. 2080979ae dpif-netdev-avx512: Fix overflow of UINT32_C(1). 5db8aa39d dpif-netdev-avx512: Fix ubsan shift error in bitmasks. 4e3966e64 python: Politely handle misuse of table.condition. b21e2805d AUTHORS: Add Dincer Beken. 0e0eef533 ofproto-xlate: Fix crash when forwarding packet between legacy_l3 tunnels. 4ea1bb639 system-traffic: Fix fragment reassembly with L3 L4 protocol information. 53b75e91d datapath-windows: Add IPv6 conntrack support on Windows. 96dc66dda cirrus: Update FreeBSD versions. edb233586 datapath-windows: Add IPv6 Geneve tunnel support in Windows 9d70f4a7c NEWS: Highlight libopenvswitch API change caused by UB fixes. 21b76c774 netdev-offload-tc: Check for ct_state flag combinations that are not offloadable. d29491eeb python: idl: Set cond_changed to true if condition change requested. 9a67d883d dpif-netdev: Fix dp_netdev_get_pmd() function getting correct core_id. 853a89c4f AUTHORS: Update email for Rosemarie O'Riorden. 2f16123c1 json: Improve string parsing. 3b18b8656 alb.at: Add tests for cross-numa polling. c591827ec dpif-netdev: Fix PMD auto load balance with pmd-rxq-isolate. cdc9a196b pmd.at: Add tests for multi non-local numa pmds. da6ce41d8 dpif-netdev: Fix non-local numa selection for more than two numas. 4b5c3b66a dpif-netdev: Fix typo in function name. 8ff9dec46 AUTHORS: Add Abhiram R N. 7539b4e45 netdev-vport: Register IFINDEX for ERSPAN device. 3a3a76334 signals: Add support for sigdescr_np. e3de0bd82 python: idl: Set cond_changed to false if last id is zero. 0027b3b46 ofproto-dpif-xlate: Fix NULL pointer dereference in xlate_normal(). efa6f1f2e ofproto/ofproto-dpif: Fix dpif_type for userspace tunnels. b16270e69 sset: add SHORT version of SAFE loop macros. 7aff8a511 sparse: bump recommended version and include headers. b54067b24 idlc: support short version of SAFE macros. d293965d7 rculist: use multi-variable helpers for loop macros. 745c80f52 hindex: remove the next variable in safe loops. 2d4027738 hindex: use multi-variable iterators. ef3961648 cmap: use multi-variable iterators. 9e56549c2 hmap: use short version of safe loops if possible. 860e69a8c hmap: implement UB-safe hmap pop iterator. 9e8d960a6 hmap: use multi-variable helpers for hmap loops. e9bf5bffb list: use short version of safe loops if possible. d4566085e list: use multi-variable helpers for list loops. 5a2940978 util: add helpers to overload SAFE macro. 882689711 util: add safe multi-variable iterators. 187a602fa util: add multi-variable loop iterator macros. 08e9e5337 ovsdb: raft: Fix inability to read the database with DNS host names. d96d14b14 openvswitch.h: Align uAPI definition with the kernel. 9d8645951 system-traffic.at: Fix flaky DNAT load balancing test. 5f76d0ded Set release date for 2.17.0. 635cb95e0 dpif-netdev: Keep orig_in_port as a field of the flow. 2e2217c12 tests: Fix incorrect usage of OVS_WAIT_UNTIL. 31b467a75 odp-util: Fix output for tc to be equal to kernel. 6d76cfc44 netdev-offload-tc: Fix IP and port ranges in flower returns. 38298a877 netdev-offload-tc: Fix use of ICMP values instead of masks defines. a03963695 netdev-offload-tc: Always include conntrack information to tc. db40eb79e netdev-offload-tc: Check for valid netdev ifindex in flow_put. b4868ee16 netdev-offload-tc: Set the correct VLAN_VID and VLAN_PCP masks. 2bdf5b288 netdev-offload-tc: Add debug logs on tc rule verify failures. 920ec5761 tc: Keep header rewrite actions order. be93ce40e faq: Update OVS/DPDK version table for OVS 2.15/2.16 c44876b9e system-dpdk: Fix mfex autovalidator tests. 3bd593917 ofp-prop: Silence the 'may be uninitialized' warning. b1e783dde tests: Ignore log about failing to set NETLINK_EXT_ACK. 8d480c5ce ovsdb-cluster.at: Avoid test failures due to different hashing. c356f6c0b dpif-netdev: Simplify atomic function pointer stores. f77dbc1eb ofproto: Use xlate map for uuid lookups. ba4ec2914 AUTHORS: Add Hongzhi Guo. b46fd37ab ofproto: Add refcount to ofproto to fix ofproto use-after-free. 7baed8fe6 ovs-monitor-ipsec: Add list-commands command. a9f5ee119 ofproto-dpif: Trigger revalidation when ipfix config set. 545b64415 conntrack: Prefer dst port range during unique tuple search. ec85f5325 conntrack: Select correct sport range for well-known origin sport. 10b55282a ipsec: StrongSwan report connection update failures to ovs logs. 7bd08b6c1 AUTHORS: Add Mohammad Heib. 02cff6b2d ipsec: Libreswan report connection failures to ovs logs. 9016592ca netdev-dpdk: Add mempool count in cmd get-mempool-info. 7ed60839d system-tso: Skip encap tests when userspace TSO is enabled. f34a7626c tc: Fix stats byte count on fragmented packets. de634e422 compat: Add gen_stats include to define tc hw stats. 015994d37 ovsdb: row: Optimize row updates by applying diffs in-place. a3e97b1af ovsdb: relay: Add transaction history support. 999ba294f ovsdb: raft: Fix inability to join the cluster after interrupted attempt. 6de8868d1 reconnect: Fix broken inactivity probe if there is no other reason to wake up. 7aaa5b813 datapath-windows: Fix NXM_OF_IP_TOS issue 4f933301f Documentation: Update USDT documentation to include systemtap dependency. 4628be9ff ovsdb-idl: Fix use-after-free when destroying an IDL loop. 31dc72c64 dpif-netdev: Use dp_netdev reference in offload threads. 7d8b6ab64 dpif-netdev: Fix a race condition in deletion of offloaded flows. a81bb674e dpif-netdev: Move port flush after datapath reconfiguration. f92e6946d dpif-netdev-dpcls: Make subtable reprobe thread-safe. 5f4dfcccb ci: Fix typo in variable name. 3ffeb03fe dp-packet: Ensure packet base is always non-NULL. 172d8bfed bfd: lldp: stp: Fix misaligned packet field access. b9e8354d0 ovsdb-idlc: Avoid accessing member within NULL idl index cursors. b07c2e92e stopwatch: Fix buffer underflow when computing percentiles. 5a9bb85ca dpif-netdev: Fix misaligned access. 8ed26a8be treewide: Don't pass NULL to library functions that expect non-NULL. 989895501 system-traffic.at: Avoid sporadic failures during conntrack IPv6 HTTP/FTP tests. e969370d3 system-traffic.at: Do not use ranges with broadcast address. 78ff3961c daemon-unix: Close log file in monitor process while waiting on child. b9cf52070 system-dpdk.at: Add warning log in mfex fuzzy test. f0a9000ca ofproto: Fix ipfix not always sampling on egress. 96ad83bc7 tc: Fix incorrect TC rule for decap+encap datapath flow. ab4d3bfbe netdev-dpdk: Update to use RTE_ETH namespace defines. 4f810deab dpif-netdev: fix vlan and ipv4 parsing in avx512 d5453008c ci: Install wheel before installing any other python packages. f81483ad5 odp-util: Fix tunnel key attr for GTP-U. 28f36edd1 ovsdb-idl: Only process successful txn in ovsdb_idl_loop_run. 97772a9b2 AUTHORS: Add Wan Junjie. cbcd9ca42 ofproto-dpif-upcall: Fix n_revalidators on upcall show. 33027afd2 acinclude: Detect avx512 vpopcntdq compiler support. 0bca7fa1a Documentation: Fix userspace Tx steering section. a7f52b7eb vswitchd.xml: Add missing tx-steering PMD option. 53a540e53 ovsdb-idl: ovsdb_idl_loop_destroy must also destroy the committing txn. 712202ff7 ofproto-dpif-xlate: Fix packet drops with decap action on MPLS Multicast. 3ae3e8605 tests: Fix cosmetic errors in system-traffic.at. 5202710a7 python: idl: Clear last_id on reconnect if condition changes in-flight. c1691ccea ovsdb-cs: Clear last_id on reconnect if condition changes in-flight. 718dc8fca python: idl: Resend requested but not acked conditions when reconnecting. 9632f5551 tests: Add de-serialization check to the json string benchmark. 4056ae487 ofp-flow: Skip flow reply if it exceeds the maximum message size. 77967b53f conntrack: Check TCP state while testing established connections pick up. 6e13565dd ovsdb: transaction: Keep one entry in the transaction history. 3a05c6370 ovsdb-cs: Fix ignoring of the last id from the initial monitor reply. dadd8357f ofproto-dpif: Fix issue with non-reversible actions on a patch ports. 0a395a52d NEWS: Fix some typo. 5b3bb16b8 ovs-monitor-ipsec: Fix generated strongSwan ipsec.conf for IPv6. 8723063c3 system-dpdk: Fix MFEX logs check. 0506efbd0 datapath-windows: Pickup Ct tuple as CT lookup key in function OvsCtSetupLookupCtx c6f0b623e Prepare for post-2.17.0 (2.17.90). Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* openvswitch: Fix INSTALL_MOD_PATHPaul Barker2022-10-082-2/+2
| | | | | | | | | If the usrmerge DISTRO_FEATURE is enabled, modules should be installed under /usr/lib instead of /lib. We can handle this by using ${root_prefix} in INSTALL_MOD_PATH. Signed-off-by: Paul Barker <paul.barker@sancloud.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* openvswitch: uprev from v2.17.0-30-g2404d4536 to v2.17.1He Zhe2022-04-201-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | commits short log: 41bb202fb (tag: v2.17.1) Set release date for 2.17.1. 8f42d4f59 NEWS: Highlight libopenvswitch API change caused by UB fixes. 14301b3a3 netdev-offload-tc: Check for ct_state flag combinations that are not offloadable. 3a2eef792 python: idl: Set cond_changed to true if condition change requested. d05ccf288 dpif-netdev: Fix dp_netdev_get_pmd() function getting correct core_id. 79e291f98 alb.at: Add tests for cross-numa polling. 9c3b74fb2 dpif-netdev: Fix PMD auto load balance with pmd-rxq-isolate. 8580ff9dd pmd.at: Add tests for multi non-local numa pmds. 6bf4eeddb dpif-netdev: Fix non-local numa selection for more than two numas. c41434b3b dpif-netdev: Fix typo in function name. e0aa5e132 python: idl: Set cond_changed to false if last id is zero. 8da40d31c ofproto-dpif-xlate: Fix NULL pointer dereference in xlate_normal(). 63a903ab4 ofproto/ofproto-dpif: Fix dpif_type for userspace tunnels. 14d54eb8b sset: add SHORT version of SAFE loop macros. f0e63b115 sparse: bump recommended version and include headers. 70b87cf72 idlc: support short version of SAFE macros. 3777ed90c rculist: use multi-variable helpers for loop macros. bb52e9beb hindex: remove the next variable in safe loops. 7d6cbfa24 hindex: use multi-variable iterators. 97ad96b63 cmap: use multi-variable iterators. cd62fda22 hmap: use short version of safe loops if possible. d56bfd752 hmap: implement UB-safe hmap pop iterator. e2c835486 hmap: use multi-variable helpers for hmap loops. 897d6647e list: use short version of safe loops if possible. 979a9eb5b list: use multi-variable helpers for list loops. 6bacf802c util: add helpers to overload SAFE macro. f127123d6 util: add safe multi-variable iterators. 38e73f0b6 util: add multi-variable loop iterator macros. e91edf456 ovsdb: raft: Fix inability to read the database with DNS host names. The ptest results BEFORE uprev: ERROR: 2340 tests were run, 30 failed unexpectedly. 65 tests were skipped. failed cases: 10 11 12 13 14 15 16 17 18 462 769 785 786 787 788 791 792 793 1024 1180 1181 1182 1183 1184 1185 1290 1291 2387 2391 2394 The ptest results AFTER uprev: ERROR: 2343 tests were run, 30 failed unexpectedly. 65 tests were skipped. failed cases: 10 11 12 13 14 15 16 17 18 462 769 785 786 787 788 791 792 793 1025 1183 1184 1185 1186 1187 1188 1293 1294 2390 2394 2397 Signed-off-by: He Zhe <zhe.he@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* ovs: update to v2.17.0Bruce Ashfield2022-03-284-136/+23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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>
* global: update licence values to SPDX valuesBruce Ashfield2022-02-181-1/+1
| | | | | | | | | | These changes are the result of running the convert-spdx-licenses.py oe-core script. There's no impact to the build, but we will avoid issues when interacting with core QA by the alignment. Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* openvswitch: uprev from v2.15.1 to v2.15.3He Zhe2022-02-041-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | commits short logs: e4d2df62e (tag: v2.15.3) Set release date for 2.15.3. b8baa1141 python: Add cooperative_yield() API method to Idl. 7834abc66 ofproto-dpif-xlate: Snoop ingress packets and update neigh cache if needed. 833c02daa tnl-neigh-cache: Do not refresh the entry while revalidating. e2182eca8 tnl-neigh-cache: Include expected array sizes in prototypes. 566fe4372 tnl-neigh-cache: Read/write expires atomically. d477f6000 compat: handle NF_REPEAT error on nf_conntrack_in. 0590e8838 flow: Consider dataofs when parsing TCP packets. 7266042d8 tests/flowgen: Fix packet data endianness. d2e0632db ofproto: Fix resource usage explosion due to removal of large number of flows. 0a7e66e37 ofproto: Fix resource usage explosion while processing bundled FLOW_MOD. 68466efed tests/flowgen: Fix length field of 802.2 data link header. 2a2185f9e ovs-lib: Backup and remove existing DB when joining cluster. fcbc29c6f docs/dpdk: Fix install doc. a5d97d420 ovs-save: Save igmp flows in ofp_parse syntax. 1cbd1f0f5 faq: Update OVS/DPDK version table for OVS 2.13/2.14. 01bc910e5 ofproto-dpif-xlate: Fix check_pkt_larger incomplete translation. 08a270dda datapath-windows: Reset flow key after Ipv4 fragments are reassembled eca2d50d4 datapath-windows:Reset PseudoChecksum value only for TX direction offload case 031cf67e0 netdev-offload-tc: Verify the flower rule installed. 952e85150 ci: Make linux-prepare trust system installs. 2cf63851a Prepare for 2.15.3. 63f9a7c5d (tag: v2.15.2) Set release date for 2.15.2. b7d9c491e datapath-windows: add layers when adding the deferred actions 3f718857e ofproto-dpif-xlate: Fix zone set from non-frozen-metadata fields. ea2ca0af1 dpif-netdev: Fix use-after-free on PACKET_OUT of IP fragments. 9f964354e tunnel-push-pop.at: Mask source port in tunnel header. 58397f222 dpdk-stub: Change the ERR log to DBG. 2a963fc31 python: idl: Avoid sending transactions when the DB is not synced up. 9efa2ea61 ipf: release unhandled packets from the batch f8274b78c datapath-windows:adjust Offset when processing packet in POP_VLAN action a2f860aa2 cirrus: Reduce memory requirements for FreeBSD VMs. 7788f1579 netdev-linux: Fix a null pointer dereference in netdev_linux_notify_sock(). dd32deba6 pcap-file: Fix memory leak in ovs_pcap_open(). 9f2f66c8e odp-util: Fix a null pointer dereference in odp_flow_format(). 02b0c265c odp-util: Fix a null pointer dereference in odp_nsh_key_from_attr__(). 031eff456 netdev-dpdk: Fix RSS configuration for virtio. 09cd9570d ipf: Fix only nat the first fragment in the reass process. ef8ca3e19 dpif-netdev: Fix crash when PACKET_OUT is metered. d3ff41d60 tc: Set action flags for tunnel_key release. 079a4de72 netlink-socket: Replace error with txn->error when logging nacked transactions. f8cc5aa35 dynamic-string: Fix a crash in ds_clone(). 64d1bba91 dpif-netdev: fix memory leak in dpcls subtable set command 90b219275 dpif-netdev: Do not flush PMD offloads on reload. b29b04f85 dpif-netdev: Fix offloads of modified flows. 1d0b89ea7 dpif-netdev: Fix flow modification after failure. 8d84a4b16 netdev-offload-dpdk: Fix IPv6 rewrite cast-align warning. f3f7849cb daemon-unix: Fix leak of a fork error message. 8aa0f0374 ovsdb-cs: Perform forced reconnects without a backoff. ee4e034dc datapath-windows:Correct checksum for DNAT action 72132a940 bond: Fix broken rebalancing after link state changes. aa84cfe25 dpif-netlink: Fix report_loss() message. aec05f7cd ovsdb-server: Fix memleak when failing to read storage. 05bdf11fc conntrack: Init hash basis first at creation. 94e3b9d9c netdev-linux: Ignore TSO packets when TSO is not enabled for userspace. 842bfb899 conntrack: Handle already natted packets. ab873c1af conntrack: Document all-zero IP SNAT behavior and add a test case. 86d6a9ee1 python: Fix Idl.run change_seqno update. 1ba0c8365 bridge: Use correct (legacy) role names in database. 7e5293ea5 Prepare for 2.15.2. The ptest results BEFORE uprev: ERROR: 2231 tests were run, 27 failed unexpectedly. 62 tests were skipped. Failed tests: checkpatch - sign-offs checkpatch - parenthesized constructs checkpatch - parenthesized constructs - for checkpatch - comments checkpatch - whitespace around operator checkpatch - whitespace around cast ovs-ofctl snoop tunnel - table version tunnel_push_pop - erspan tunnel_push_pop - action tunnel_push_pop - packet_out tunnel_push_pop_ipv6 - ip6gre tunnel_push_pop_ipv6 - ip6erspan tunnel_push_pop_ipv6 - action PMD - non pmd device ofproto-dpif - recirculation after resubmit ofproto-dpif - sFlow packet sampling - IPv4 collector ofproto-dpif - sFlow packet sampling - IPv6 collector ofproto-dpif - sFlow packet sampling - LACP structures ofproto-dpif - sFlow packet sampling - tunnel set ofproto-dpif - sFlow packet sampling - tunnel push ofproto-dpif - sFlow packet sampling - MPLS bridge - multiple bridges share a controller bridge - add port after stopping controller mcast - check multicasts to trunk ports are not duplicated ptap - triangle bridge setup with L2 and L3 GRE tunnels ptap - L3 over patch port The ptest results AFTER uprev: ERROR: 2266 tests were run, 27 failed unexpectedly. 65 tests were skipped. Failed tests: checkpatch - sign-offs checkpatch - parenthesized constructs checkpatch - parenthesized constructs - for checkpatch - comments checkpatch - whitespace around operator checkpatch - whitespace around cast ovs-ofctl snoop tunnel - table version tunnel_push_pop - erspan tunnel_push_pop - action tunnel_push_pop - packet_out tunnel_push_pop - packet_out debug_slow tunnel_push_pop_ipv6 - ip6gre tunnel_push_pop_ipv6 - ip6erspan tunnel_push_pop_ipv6 - action PMD - non pmd device ofproto-dpif - sFlow packet sampling - IPv4 collector ofproto-dpif - sFlow packet sampling - IPv6 collector ofproto-dpif - sFlow packet sampling - LACP structures ofproto-dpif - sFlow packet sampling - tunnel set ofproto-dpif - sFlow packet sampling - tunnel push ofproto-dpif - sFlow packet sampling - MPLS bridge - multiple bridges share a controller bridge - add port after stopping controller mcast - check multicasts to trunk ports are not duplicated ptap - triangle bridge setup with L2 and L3 GRE tunnels ptap - L3 over patch port Signed-off-by: He Zhe <zhe.he@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* openvswitch: systemd: add option -p for mkir commandChangqing Li2022-01-161-1/+1
| | | | | | | | To avoid "cannot create directory '/var/log/openvswitch': File exists" when service is restart Signed-off-by: Changqing Li <changqing.li@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* openvswitch: fix configure error with dpdk enabledChen Qi2021-11-192-4/+2
| | | | | | | | | | | | | When enabling 'dpdk' PACKAGECONFIG, the following error appears. | configure: error: Could not find DPDK library in default search path Fix the error by tweaking the configure option regarding dpdk. Add pkgconfig to 'inherit' because pkgconfig is required at do_configure when dpdk is enabled. Signed-off-by: Chen Qi <Qi.Chen@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* global: convert github SRC_URIs to use https protocolBruce Ashfield2021-11-021-1/+1
| | | | | | | | | | | github is removing git:// access, and fetches will start experiencing interruptions in service, and eventually will fail completely. bitbake will also begin to warn on github src_uri's that don't use https. So we convert the meta-virt instances to use protocol=https (done using the oe-core contrib conversion script) Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* ovs: update to 2.15.1Bruce Ashfield2021-09-302-102/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | We drop a previously backported patch, and bump to version v2.15.1-30-gf8274b78c, which comprises the following commits: f8274b78c datapath-windows:adjust Offset when processing packet in POP_VLAN action a2f860aa2 cirrus: Reduce memory requirements for FreeBSD VMs. 7788f1579 netdev-linux: Fix a null pointer dereference in netdev_linux_notify_sock(). dd32deba6 pcap-file: Fix memory leak in ovs_pcap_open(). 9f2f66c8e odp-util: Fix a null pointer dereference in odp_flow_format(). 02b0c265c odp-util: Fix a null pointer dereference in odp_nsh_key_from_attr__(). 031eff456 netdev-dpdk: Fix RSS configuration for virtio. 09cd9570d ipf: Fix only nat the first fragment in the reass process. ef8ca3e19 dpif-netdev: Fix crash when PACKET_OUT is metered. d3ff41d60 tc: Set action flags for tunnel_key release. 079a4de72 netlink-socket: Replace error with txn->error when logging nacked transactions. f8cc5aa35 dynamic-string: Fix a crash in ds_clone(). 64d1bba91 dpif-netdev: fix memory leak in dpcls subtable set command 90b219275 dpif-netdev: Do not flush PMD offloads on reload. b29b04f85 dpif-netdev: Fix offloads of modified flows. 1d0b89ea7 dpif-netdev: Fix flow modification after failure. 8d84a4b16 netdev-offload-dpdk: Fix IPv6 rewrite cast-align warning. f3f7849cb daemon-unix: Fix leak of a fork error message. 8aa0f0374 ovsdb-cs: Perform forced reconnects without a backoff. ee4e034dc datapath-windows:Correct checksum for DNAT action 72132a940 bond: Fix broken rebalancing after link state changes. aa84cfe25 dpif-netlink: Fix report_loss() message. aec05f7cd ovsdb-server: Fix memleak when failing to read storage. 05bdf11fc conntrack: Init hash basis first at creation. 94e3b9d9c netdev-linux: Ignore TSO packets when TSO is not enabled for userspace. 842bfb899 conntrack: Handle already natted packets. ab873c1af conntrack: Document all-zero IP SNAT behavior and add a test case. 86d6a9ee1 python: Fix Idl.run change_seqno update. 1ba0c8365 bridge: Use correct (legacy) role names in database. 7e5293ea5 Prepare for 2.15.2. b855bbc32 Set release date for 2.15.1. 007a4f48f dpif-netdev: Apply subtable-lookup-prio-set on any datapath. c93358a56 netlink: removed incorrect optimization 31626579f ovs-actions.xml: Add missing bracket. 30596ec27 netdev-offload-tc: Use nl_msg_put_flag for OVS_TUNNEL_KEY_ATTR_CSUM. 728980291 conntrack: Increment coverage counter for all bad checksum cases. 881d71ea2 datapath-windows: Specify external include paths 934668c29 Remove Python 2 leftovers. aaa596705 ipf: Fix a use-after-free error, and remove the 'do_not_steal' flag. bc0aa785a ovsdb-idl: Fix the database update signaling if it has never been connected. 559426d2b ofproto: Fix potential NULL dereference in ofproto_ct_*_zone_timeout_policy(). f31070e27 ofproto: Fix potential NULL dereference in ofproto_get_datapath_cap(). 8995d5311 dpif-netlink: Fix send of uninitialized memory in ct limit requests. 0c056891c ofproto-dpif: Fix use of uninitialized attributes of timeout policy. 121a67cad netdev-linux: Fix use of uninitialized LAG master name. 5f27ff1cf ofp_actions: Fix set_mpls_tc formatting. e87adce83 dpif-netdev: Remove meter rate from the bucket size calculation. a3ee3258e ovs-ofctl: Fix coredump when using "add-groups" command. c5d2a6275 raft: Transfer leadership before creating snapshots. 553d52392 ovsdb-cs: Consider all tables when computing expected cond seqno. 8d0aebcc4 dpdk: Use DPDK 20.11.1 release. 21452722b github: Fix up malformed /etc/hosts. 90d1984b9 doc: automake: Add support for sphinx 4.0. 38a8bed70 cirrus: Look up existing versions of python dependencies. 255c38c74 ofp-group: Use big-enough buffer in ofputil_format_group(). f2c0744d2 ofproto/ofproto-dpif-sflow: Check sflow agent in case of race ab157ef34 dpif: Fix use of uninitialized execute hash. b1fded020 odp-util: Fix use of uninitialized erspan metadata. f473ee568 dpif-netlink: Fix using uninitialized info.tc_modify_flow_deleted in out label. 2721606bd netdev-offload-tc: Probe for support for any of the ct_state flags. 091bc48d9 compat: Add ct_state flags definitions. 1307e90e3 Add test cases for ingress_policing parameters d184c6ce6 netdev-linux: correct unit of burst parameter cab998e50 ipsec: Fix IPv6 default route support for Libreswan. b9ab7827e ovsdb-idl: Mark arc sources as updated when destination is deleted. c82d2e3fb ovsdb-idl: Preserve references for deleted rows. 9a24ecbc2 ovsdb-idl.at: Make test outputs more predictable. 8d71feb1b ovs-ofctl: Fix segfault due to bad meter n_bands. 3a716b1d9 dpif-netdev: Refactor and fix the buckets calculation. 73ece9c87 dpif-netdev: Fix the meter buckets overflow. d5dc16670 python: Send notifications after the transaction ends. 556e65e17 ovs-ctl: Allow recording hostname separately. 3982aee45 dpif-netdev: Fix crash when add dp flow without in_port field. 02096f1b3 Documentation: Fix DPDK qos example. 8f1dda316 raft: Report disconnected in cluster/status if candidate retries election. 79e9749da raft: Reintroduce jsonrpc inactivity probes. 2e84a4adb ovsdb-cs: Fix use-after-free for the request id. d2c311dce connmgr: Check nullptr inside ofmonitor_report(). 7307af690 ovsdb-client: Fix needs-conversion when SERVER is explicitly specified. 2a7a63571 windows, tests: Modify service test. 9b48549c6 netdev-linux: Fix indentation. 861a9f3b4 ofproto-dpif-upcall: Fix ukey leak on udpif destroy. 339044c3c ci: Use parallel build for distcheck. 38744b1bc ofp-actions: Fix use-after-free while decoding RAW_ENCAP. 33abe6c05 Prepare for 2.15.1. 8dc1733ea Set release date for 2.15.0. Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* ovs: add upstream-status to CVE patchBruce Ashfield2021-09-161-0/+2
| | | | | | The patch file itself is missing an upstream-status, so we add it here. Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* openvswitch: fix CVE-2021-36980Zqiang2021-09-162-0/+98
| | | | | | | | | | | | | | | | Open vSwitch (aka openvswitch) 2.11.0 through 2.15.0 has a use-after-free in decode_NXAST_RAW_ENCAP (called from ofpact_decode and ofpacts_decode) during the decoding of a RAW_ENCAP action. Reference: https://nvd.nist.gov/vuln/detail/CVE-2021-36980 Patches from: https://github.com/openvswitch/ovs/commit/65c61b0c23a0d474696d7b1cea522a5016a8aeb3 Signed-off-by: Zqiang <qiang.zhang@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* global: overrides syntax conversionBruce Ashfield2021-08-022-27/+27
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | OEcore/bitbake are moving to use the clearer ":" as an overrides separator. This is pass one of updating the meta-virt recipes to use that syntax. This has only been minimally build/runtime tested, more changes will be required for missed overrides, or incorrect conversions Note: A recent bitbake is required: commit 75fad23fc06c008a03414a1fc288a8614c6af9ca Author: Richard Purdie <richard.purdie@linuxfoundation.org> Date: Sun Jul 18 12:59:15 2021 +0100 bitbake: data_smart/parse: Allow ':' characters in variable/function names It is becomming increasingly clear we need to find a way to show what is/is not an override in our syntax. We need to do this in a way which is clear to users, readable and in a way we can transition to. The most effective way I've found to this is to use the ":" charater to directly replace "_" where an override is being specified. This includes "append", "prepend" and "remove" which are effectively special override directives. This patch simply adds the character to the parser so bitbake accepts the value but maps it back to "_" internally so there is no behaviour change. This change is simple enough it could potentially be backported to older version of bitbake meaning layers using the new syntax/markup could work with older releases. Even if other no other changes are accepted at this time and we don't backport, it does set us on a path where at some point in future we could require a more explict syntax. I've tested this patch by converting oe-core/meta-yocto to the new syntax for overrides (9000+ changes) and then seeing that builds continue to work with this patch. (Bitbake rev: 0dbbb4547cb2570d2ce607e9a53459df3c0ac284) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* openvswitch: fix clobbered SRC_URIBruce Ashfield2021-04-091-12/+8
| | | | | | | | | | | | | | | commit 1b83c21436b2 [openvswitch: Fix build with musl libc] mistakenly copies common files and then clobbers the SRC_URI. While we could drop the SRC_URI components from the .inc now that we only have one active version in master (_git), we avoid that for now, since it is possible that a LTS version will be introduced in future cycles. So to fix the oddity, we drop the common components from the _git SRC_URI and append versus clobber. Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* openvswitch: uprev from 2.13 to 2.15Zqiang2021-03-114-35/+42
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - OVSDB: * Changed format in which ovsdb transactions are stored in database files. Now each transaction contains diff of data instead of the whole new value of a column. New ovsdb-server process will be able to read old database format, but old processes will *fail* to read database created by the new one. For cluster and active-backup service models follow upgrade instructions in 'Upgrading from version 2.14 and earlier to 2.15 and later' section of ovsdb(7). * New unixctl command 'ovsdb-server/get-db-storage-status' to show the status of the storage that's backing a database. * New unixctl command 'ovsdb-server/memory-trim-on-compaction on|off'. If turned on, ovsdb-server will try to reclaim all the unused memory after every DB compaction back to OS. Disabled by default. * Maximum backlog on RAFT connections limited to 500 messages or 4GB. Once threshold reached, connection is dropped (and re-established). Use the 'cluster/set-backlog-threshold' command to change limits. - DPDK: * Removed support for vhost-user dequeue zero-copy. * Add support for DPDK 20.11. - Userspace datapath: * Add the 'pmd' option to "ovs-appctl dpctl/dump-flows", which restricts a flow dump to a single PMD thread if set. * New 'options:dpdk-vf-mac' field for DPDK interface of VF ports, that allows configuring the MAC address of a VF representor. * Add generic IP protocol support to conntrack. With this change, all none UDP, TCP, and ICMP traffic will be treated as general L3 traffic, i.e. using 3 tupples. * Add parameters 'pmd-auto-lb-load-threshold' and 'pmd-auto-lb-improvement-threshold' to configure PMD auto load balance behaviour. - The environment variable OVS_UNBOUND_CONF, if set, is now used as the DNS resolver's (unbound) configuration file. - Linux datapath: * Support for kernel versions up to 5.8.x. - Terminology: * The terms "master" and "slave" have been replaced by "primary" and "secondary", respectively, for OpenFlow connection roles. * The term "slave" has been replaced by "member", for bonds, LACP, and OpenFlow bundle actions. - Support for GitHub Actions based continuous integration builds has been added. - Bareudp Tunnel * Bareudp device support is present in linux kernel from version 5.7 * Kernel bareudp device is not backported to ovs tree. * Userspace datapath support is not added - ovs-dpctl and 'ovs-appctl dpctl/': * New commands '{add,mod,del}-flows' where added, which allow adding, deleting, or modifying flows based on information read from a file. - IPsec: * Add option '--no-cleanup' to allow ovs-monitor-ipsec to stop without tearing down IPsec tunnels. * Add option '--no-restart-ike-daemon' to allow ovs-monitor-ipsec to start without restarting ipsec daemon. - Building the Linux kernel module from the OVS source tree is deprecated * Support for the Linux kernel is capped at version 5.8 * Only bug fixes for the Linux OOT kernel module will be accepted. * The Linux kernel module will be fully removed from the OVS source tree in OVS branch 2.18 fix some do_patch error about local patch. Signed-off-by: Zqiang <qiang.zhang@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* openvswitch: set CVE_VERSIONChen Qi2021-03-041-0/+1
| | | | | | | | | CVE entries are using version 2.xx.xx, our PV is 2.13+xxx, this causes problem for CVE detection. So we need to set a CVE_VERSION for better CVE scanning. Signed-off-by: Chen Qi <Qi.Chen@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* openvswitch: use /run instead of /var/run in systemd service fileChen Qi2020-10-272-0/+103
| | | | | | | | /var/run has been deprecated by systemd, so use /run instead, as suggested by systemd. Signed-off-by: Chen Qi <Qi.Chen@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* openvswitch-git: refresh patch to fix patch-fuzz warningChangqing Li2020-03-021-2/+4
| | | | | Signed-off-by: Changqing Li <changqing.li@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* openvswitch: uprev from v2.12 to v2.13Mark Asselstine2020-02-206-467/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Another straightforward uprev with one fairly large change in the changelog. The Open Virtual Network component has now been moved to its own repo (https://github.com/ovn-org/ovn.git). If you were using this functionality a new recipe will need to be created. The ptest results are similar to after the v2.12 uprev ERROR: 2206 tests were run, 28 failed unexpectedly. 62 tests were skipped. The failed tests were in the following areas: checkpatch.at (5) ovs-ofctl.at (1) tunnel.at(1) tunnel-push-pop.at(3) tunnel-push-pop-ipv6.at(3) dpif-netdev.at (1) pmd.at(1) ofproto-dpif.at (7) bridge.at (2) ovsdb-idl.at(1) mcast-snooping.at(1) packet-type-aware.at(2) None of these affect core functionality or usecases and are similar to the results we see with v1.12. If specific usecases are affected by these failures we should address them on a need to fix basis. Signed-off-by: Mark Asselstine <mark.asselstine@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* openvswitch: uprev from v2.11 to v2.12Mark Asselstine2020-02-135-26/+74
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | A mostly straightforward uprev. Unfortunately a required patch for python3 is only available on a non-release branch so we must carry it in order to build (the discussion on the mailing list was that an uprev might have avoided this, but this is not the case). The ptest results are similar to after the v2.11 uprev ERROR: 2413 tests were run, 23 failed unexpectedly. 383 tests were skipped. NOTE, however, that they have now marked many tests as 'skipped', such as the python2 results, so the failed and skipped numbers have essentially swapped with each other. The failed tests were in the following areas: checkpatch.at (5) ovs-ofctl.at (1) dpif-netdev.at (1) ofproto-dpif.at (6) bridge.at (2) ovn.at (2) ovn-controller-vtep.at (6) Most were issues with the test or expectations that source code would be available. There might be an issue around packaging of "/vswitchd/vswitch.ovsschema" but we should be able to overlook this for now, as we have with previous versions. Signed-off-by: Mark Asselstine <mark.asselstine@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* openvswitch: drop LSB bitsMark Asselstine2019-09-142-2/+10
| | | | | | | | | | | | | openembedded-core commit fb064356af61 [Remove LSB support] dropped the 'lsb' recipe which caused openvswitch to throw a dependency fail for both sysvinit and systemd builds. LSB init functions for log_begin_msg, log_end_msg and others were being used. We now use the functions from ovs-lib which are part of OVS and supply the remaining ones directly. This allows us to regain the functionality and drop the dependency on 'lsb'. Signed-off-by: Mark Asselstine <mark.asselstine@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* openvswitch: install ovs-systemd-reloadChen Qi2019-08-301-0/+3
| | | | | | | | | Install ovs-systemd-reload as openvswitch.service uses it. openvswitch.service:ExecReload=/usr/share/openvswitch/scripts/ovs-systemd-reload Signed-off-by: Chen Qi <Qi.Chen@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* openvswitch: uprev from v2.10.1 to v2.11Hongzhi.Song2019-02-033-31/+35
| | | | | | | | | | | | | | | | | | | | | | | | | The v2.11 version fixed a bug as follow. Error info: ovs|00002|db_ctl_base|ERR|external-ids:hostname=: argument does not end in "=" followed by a value. The result of ptest between v2.11 and v2.10.1 is similar. v2.11: ERROR: 2765 tests were run, 317 failed (1 expected failure). 85 tests were skipped. v2.10.1: ERROR: 2662 tests were run, 311 failed (1 expected failure). 85 tests were skipped. I checked the detailed result. The failed tests were mostly related to python2 as the image only use python3. Signed-off-by: Hongzhi.Song <hongzhi.song@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* Use SRCPV instead of SRCREV where possiblePaul Barker2019-01-161-1/+1
| | | | | | | | This change reduces the length of ${PV} for several recipes and gives us auto-incrementing version numbers. Signed-off-by: Paul Barker <paul@betafive.co.uk> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* openvswitch: uprev from 2.10.0 to 2.10.1Mark Asselstine2018-11-292-2/+2
| | | | | | Pickup the latest security and bug fixes for openvswitch. Signed-off-by: Mark Asselstine <mark.asselstine@windriver.com>
* openvswitch: Make openvswitch a machine_arch packageMark Hatle2018-10-181-0/+2
| | | | | | | | | | Openvswitch recipe depends on the kernel source, which is machine specific. It can then use this machine specific resource to configure and build the recipe. This mix causes the hash values of this package to change based on the machine, so this package must also be a machine_arch package. Signed-off-by: Mark Hatle <mark.hatle@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* openvswitch: Turn off ssl integration by defaultJason Wessel2018-09-061-0/+1
| | | | | | | | | | | | | | | The openssl library is an optional component for the openvswitch. The problem with it enabled by default is that it will consume system entropy to try to initialize the openssl library even though we are not using it by default. With the 4.16 kernel and up there is not always enough entropy available at the early boot time which can cause a lengthy stall, while waiting to initialize the openvswitch. If ssl is needed, it can of course be turned on with the package config option "ssl". Signed-off-by: Jason Wessel <jason.wessel@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* openvswitch: do not use 'exit 1' to postpone to first bootHongxu Jia2018-09-051-11/+2
| | | | | | | | | Since `229f4e9 package.bbclass: add support for pkg_postinst_ontarget()' applied in oe-core, use pkg_postinst_ontarget to run postinst at first boot. Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* openvswitch: fixup the ovsdb-server.serviceMark Asselstine2018-09-043-6/+40
| | | | | | | | | The service currently fails to run since the runtime directories aren't being created. Create the runtime directories and fixup the path to echo to get things working again. Signed-off-by: Mark Asselstine <mark.asselstine@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* openvswitch: uprev to v2.10.0Mark Asselstine2018-09-044-20/+20
| | | | | | | | | | | | | | | | | | | | | | | | | | The current version (v2.9.3) started to fail to build due to changes in openssl. Upstream must have run into similar issues as this was identified and addressed in v2.10.0 by including a copy of 'dhparams.c' instead of relying on it being generated. (see commit "dhparams: Add pregenerated .c file to the repository.") Additionally v2.10.0 is better aligned for our kernel and dpdk versions: kernel === 2.10.x 3.10 to 4.17 dpdk === 2.10.x 17.11.3 The changes in this commit allow for the building of v2.10.0. A second commit will be necessary to deal with a few runtime changes which prevent ovsdb-server from starting correctly. Signed-off-by: Mark Asselstine <mark.asselstine@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* openvswitch: remove unused patchesMark Asselstine2018-06-0510-1789/+0
| | | | | | | | | commit 1fd1ff372014 [openvswitch: uprev to v2.9.2] left a bunch of unused patches in place. Remove unreferenced patches as they are no longer needed. Signed-off-by: Mark Asselstine <mark.asselstine@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* openvswitch: uprev to v2.9.2Mark Asselstine2018-06-037-73/+443
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This brings us up to date with the latest upstream release. I suspect there will be an upcoming release to add compatibility with DPDK v18.05 (the DPDK release is due out any day now) but getting this fairly large release bump out of the way first will facilitate any upcoming uprev. We are able to drop they python3 patches as they have been merged upstream. Some scripts which needed to be updated to use python3 disappeared, new ones appeared so the 'use python3' patches are updated accordingly. Beyond this the biggest change is related to the systemd unit files, the ovsdb-server has been updated upstream to be generated on the fly via the spec file, we mimic this in the install_prepend. We also add the various configuration files which the unit files source before launching the services. As usual this was tested against out typical usecases including usage in meta-overc. As well the ptests have been run and the results are no better or worse. Previous version: ERROR: 2332 tests were run, 21 failed unexpectedly. 3 tests were skipped. New version: ERROR: 2527 tests were run, 29 failed unexpectedly. 3 tests were skipped. Signed-off-by: Mark Asselstine <mark.asselstine@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* openvswitch: refresh patches to fix QA warningYi Zhao2018-04-1617-132/+88
| | | | | | | | Refresh patches with devtool command to fix do_patch warning. Drop CVE-2017-9263.patch since it had been fixed upstream. Signed-off-by: Yi Zhao <yi.zhao@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* openvswitch: drop no longer existing python3 dependenciesMark Asselstine2018-01-301-3/+3
| | | | | | | | | | | | | | | | | Several python3 packages have been removed as the functionality has been moved into python3 core. As such we can no longer RDEPENDS on these packages, nor is there a need to. See similar commits in meta-openembedded: df997e0747de - Remove deprecated python3-subprocess from the RDEPENDS 90b1f996af78 - Remove deprecated python3-argparse from the RDEPENDS ef52e9980433 - Remove deprecated python3-lang from the RDEPENDS This is fallout from openembedded core commit: 54ac820b8a63 - python3: Restructure python3 packaging and replace it with autopackaging Signed-off-by: Mark Asselstine <mark.asselstine@windriver.com>
* openvswitch: uprev to 2.7.3 (latest 2.7.x stable)Mark Asselstine2018-01-292-2/+2
| | | | | | | | | Eventually we will have to move to OVS 2.8.x or 2.9.x to support the version of DPDK in meta-dpdk but before we make a version jump(s) let's uprev to the latest 2.7.x stable release. Signed-off-by: Mark Asselstine <mark.asselstine@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* openvswitch: Fix compile problems with i586-nlpJason Wessel2017-08-291-0/+6
| | | | | | | | | | | | | | | | | | | | | | | | | If you have in your $CC from the compiler template any kind of directive which contains a comma character it is going to cause ovs to not build due to the macro expansion in the Makefile: CC = $(if $(C),env REAL_CC="'"$CC"'" CHECK="$(SPARSE) -I $(top_srcdir)/include/sparse $(SPARSEFLAGS) $(SPARSE_EXTRA_INCLUDES) " cgcc $(CGCCFLAGS),'"$CC" Put more simply: CC = $(if $(C), CONFIGURE_CC_DEFINITION, cgcc args CONFIGURE_CC_DEFINITION) The CONFIGURE_CC_DEFINITION for the i585-nlp definition had "-Wa,-momit-lock-prefix=yes". The comma there caused a strings to "break" in the wrong place in the $(if) macro and the build of recipe will fail with the error shown below: /bin/sh: -c: line 1: unexpected EOF while looking for matching `"' /bin/sh: -c: line 3: syntax error: unexpected end of file The solution is to transform the "-Wa," -> "-Xassembler ". Signed-off-by: Jason Wessel <jason.wessel@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* openvswitch: force PYTHON to python3Mark Asselstine2017-08-221-0/+1
| | | | | | | | | | | | | | | | Openvswitch has been created to search for and use both py2 and py3, with a preference for py2. There is no configure option to force the use of py3 only, and many of the scripts only use the value of PYTHON and not PYTHON3 (again there is a general preference for py2). In order to force this issue we set PYTHON to 'python3'. This isn't ideal but allows for the desired outcome without us having to carry changes against upstream OVS. During our py3 work with OVS this change was identified but for some reason was not included as part of the already merged changes. Signed-off-by: Mark Asselstine <mark.asselstine@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* openvswitch: add libcap-ng PACKAGECONFIGChen Qi2017-08-171-1/+2
| | | | | | | Add PACKAGECONFIG for libcap-ng, and default to enable it. Signed-off-by: Chen Qi <Qi.Chen@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* openvswitch: fix dpdk PACKAGECONFIGChen Qi2017-08-031-1/+3
| | | | | | | | | | | | Add dpdk as a runtime dependency when 'dpdk' PACKAGECONFIG is enabled. Also, introduce a variable DPDK_INSTALL_DIR, and default it to /opt/dpdk. This is because users might install DPDK into different locations, e.g. /usr. And it would easy for users to override this variable to make openvswitch build with dpdk correctly. Signed-off-by: Chen Qi <Qi.Chen@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* openvswitch: backport py3 fixupsMark Asselstine2017-07-1310-1/+1677
| | | | | | | | | | | | | | | While attempting to get ovs to be built and run with py3 (completely free of py2) host contamination was found (builds on hosts without python-six installed would fail). It was also determined that pyc files were still being generated with py2 and not py3. This resulted in more work being done to achieve the desired results. This work was sent upstream and subsequently merged. Unfortunately this didn't make v2.7.1 and may not be available until the next major release, so here we backport these commits and adjust the recipe to get a clean py3 only build. Signed-off-by: Mark Asselstine <mark.asselstine@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* openvswitch: uprev to v2.7.1Mark Asselstine2017-07-133-72/+2
| | | | | | | | | | | Released at the end of June 2017 this is a bugfix release with no major functional changes. Surprisingly the patch for CVE-2017-9263 is still not applied upstream so we continue to carry this change. The remaining patches were audited and cleaned up as needed. Signed-off-by: Mark Asselstine <mark.asselstine@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>