From patchwork Mon Oct 12 20:24:47 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Gregory Rose X-Patchwork-Id: 1381132 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=openvswitch.org (client-ip=140.211.166.137; helo=fraxinus.osuosl.org; envelope-from=ovs-dev-bounces@openvswitch.org; receiver=) Authentication-Results: ozlabs.org; dmarc=fail (p=none dis=none) header.from=gmail.com Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20161025 header.b=ce3OjWJp; dkim-atps=neutral Received: from fraxinus.osuosl.org (smtp4.osuosl.org [140.211.166.137]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 4C99Ck6LNSz9sSn for ; Tue, 13 Oct 2020 07:25:22 +1100 (AEDT) Received: from localhost (localhost [127.0.0.1]) by fraxinus.osuosl.org (Postfix) with ESMTP id E1C56864E6; Mon, 12 Oct 2020 20:25:20 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from fraxinus.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id rBT630NOrMKu; Mon, 12 Oct 2020 20:25:17 +0000 (UTC) Received: from lists.linuxfoundation.org (lf-lists.osuosl.org [140.211.9.56]) by fraxinus.osuosl.org (Postfix) with ESMTP id B85908647F; Mon, 12 Oct 2020 20:25:17 +0000 (UTC) Received: from lf-lists.osuosl.org (localhost [127.0.0.1]) by lists.linuxfoundation.org (Postfix) with ESMTP id 99AB5C0052; Mon, 12 Oct 2020 20:25:17 +0000 (UTC) X-Original-To: dev@openvswitch.org Delivered-To: ovs-dev@lists.linuxfoundation.org Received: from hemlock.osuosl.org (smtp2.osuosl.org [140.211.166.133]) by lists.linuxfoundation.org (Postfix) with ESMTP id 53F0EC0051 for ; Mon, 12 Oct 2020 20:25:16 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by hemlock.osuosl.org (Postfix) with ESMTP id 4BDD7878B9 for ; Mon, 12 Oct 2020 20:25:16 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from hemlock.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id cLD2tUeWlIB9 for ; Mon, 12 Oct 2020 20:25:15 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-pg1-f196.google.com (mail-pg1-f196.google.com [209.85.215.196]) by hemlock.osuosl.org (Postfix) with ESMTPS id C52E687850 for ; Mon, 12 Oct 2020 20:25:15 +0000 (UTC) Received: by mail-pg1-f196.google.com with SMTP id b193so14604506pga.6 for ; Mon, 12 Oct 2020 13:25:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=Ydmxk99Lcl0Mwm7hJynlwpKZ7i11kkSqK3YluZKRjk8=; b=ce3OjWJpOIfp4cEZUPq8giW5fzmhRyf9y7M02i3f/R0zFEaRTmLJKEwz1HPdBdEm7a 2y8ptdTbfE9Bydh8oungJn+EHj7/+CtBmT4QO3bUMrTxAS0MXSbxlUOyJLhZRMyMhJPZ ifbQ0s6KbRx2L3eRSq1qfdrfgRQynDr+LBJJ9RILhz6HEkApwmyssYKhG2kT6kThx9pY XKuSmStaYW2NL+dqWcIomKt2tXi2U8u6ZNkrAR61n913ddICg9wg/PdAD8PEU9i5YOTa 5ksSeM98mjgvsWZYosTqQH7OkOK8OrWNdguvg8h214jk5s4ypcpsKAtC2th5RLzPuNHn 6eig== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=Ydmxk99Lcl0Mwm7hJynlwpKZ7i11kkSqK3YluZKRjk8=; b=X+OIbKAOGzWgws+fSAMmO/Y/WUwWoF7IrQMTOIFjwFHzEJlSM4Xdm+LX302tMgrZxy y8bhVxIl53qvgVTeyogfv/e7hcTilcOhOPQvztUAbSWul2yH9Vu952kn9s8ForV+3AxD 96TtwJqRes4nFJ2C0AzPMbE4VGan/Nvp/TSsO5ZuXDhM/4GnWRJtnrRRTvBaTLISWmrQ FSKdbqJhpj7jNqTYxxXwKNZuWr4HxTyHFbsQhAeROddUsnJjllz867hD+m62vo1shVBg g9v78riXUI4nYz8gME6tAWcGm1RetgZrFvkuNLGOMnEcFr1vFck7SqHYvmpK2Y6u52Md JMzA== X-Gm-Message-State: AOAM531rpE//cLB3QDAGNVInsM4hPEqva7e/fbLK8ZIW7j/OfJ1DnLB/ zYMBYKNqkfOFlVYYbV8Pk3bxuLzHC+jZgA== X-Google-Smtp-Source: ABdhPJyogmODL7quF/XsLxurre7WX9ai7c+el4R5xF34aeEBv1GcEryG4lD1U/8e/EuTeH2NrulU9g== X-Received: by 2002:a63:511d:: with SMTP id f29mr14699747pgb.11.1602534314848; Mon, 12 Oct 2020 13:25:14 -0700 (PDT) Received: from VMware-box.domain (97-115-80-55.ptld.qwest.net. [97.115.80.55]) by smtp.googlemail.com with ESMTPSA id w135sm11384421pfc.103.2020.10.12.13.25.13 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 12 Oct 2020 13:25:14 -0700 (PDT) From: Greg Rose To: dev@openvswitch.org Date: Mon, 12 Oct 2020 13:24:47 -0700 Message-Id: <20201012202511.21000-1-gvrose8192@gmail.com> X-Mailer: git-send-email 2.17.1 MIME-Version: 1.0 Subject: [ovs-dev] [PATCH V4 00/24] Add support for Linux kernels up to 5.8.x X-BeenThere: ovs-dev@openvswitch.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: ovs-dev-bounces@openvswitch.org Sender: "dev" This patch set will add support for Linux kernels up to 5.8. In addition there are quite a few patches for openvswitch on the Linux kernel mailing list that have not been backported - here is a first batch attempting to catch up on some of that technical debt. There will be a follow up batch of patches to this one but I didn't want the patch bomb to get too large. V4 passes Travis here: https://travis-ci.org/github/gvrose8192/ovs-experimental/builds/735114390 --- V2 - V2 of this patch set changes the NEWS as suggested by Ilya - Moves the acinclude patch for 5.8 support to the end of the patch series - Reduces targeted Linux kernel support to 5.8 since 5.9 is still not baked - Updates the travis kernel test list - Adds tags from authors from the first patch series. V3 - Add tag from Eelco Chaldron - Mix mistaken warning message in acinclude.m4 - Remember to add link to passing Travis build in cover letter V4 - Add portion change in ovs_dp_cmd_set missed in previous patch set - Simplify the WRITE_ONCE macro implemention for compat. Eelco Chaudron (1): datapath: return an error instead of doing BUG_ON() Enrico Weigelt (1): datapath: drop unneeded likely() call around IS_ERR() Greg Rose (3): acinclude: Enable builds up to Linux 5.8 travis: Update kernel list as of 5.8 Documentation: Update faq and NEWS for kernel 5.8 Guillaume Nault (1): datapath: fix GFP flags in rtnl_net_notifyid() Jason A. Donenfeld (1): datapath: use skb_list_walk_safe helper for gso segments Kees Cook (1): datapath: Distribute switch variables for initialization Paolo Abeni (3): datapath: fix flow command message size datapath: drop unneeded BUG_ON() in ovs_flow_cmd_build_info() datapath: remove another BUG_ON() Paul Blakey (1): datapath: Set OvS recirc_id from tc chain index Taehee Yoo (1): datapath: do not update max_headroom if new headroom is equal to old headroom Tonghao Zhang (9): datapath: don't unlock mutex when changing the user_features fails datapath: optimize flow-mask looking up datapath: simplify the flow_hash datapath: add likely in flow_lookup datapath: fix possible memleak on destroy flow-table datapath: simplify the ovs_dp_cmd_new datapath: select vport upcall portid directly datapath: don't call pad_packet if not necessary datapath: use hlist_for_each_entry_rcu instead of hlist_for_each_entry Yifeng Sun (1): datapath: Print error when ovs_execute_actions() fails aaron conole (1): datapath: support asymmetric conntrack .travis.yml | 4 +- Documentation/faq/releases.rst | 1 + NEWS | 2 + acinclude.m4 | 7 +- datapath/conntrack.c | 11 + datapath/datapath.c | 224 ++++++++++++------ datapath/datapath.h | 2 + datapath/flow.c | 13 + datapath/flow_netlink.c | 18 +- datapath/flow_table.c | 214 +++++++++-------- .../linux/compat/include/linux/compiler.h | 8 + datapath/linux/compat/include/linux/skbuff.h | 7 + .../linux/compat/include/linux/static_key.h | 7 + datapath/vport.c | 5 +- 14 files changed, 330 insertions(+), 193 deletions(-)