From patchwork Thu Aug 20 22:49:27 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Gregory Rose X-Patchwork-Id: 1348654 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.136; helo=silver.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=omdAeLd3; dkim-atps=neutral Received: from silver.osuosl.org (smtp3.osuosl.org [140.211.166.136]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 4BXfxL2ymKz9sPB for ; Fri, 21 Aug 2020 08:50:14 +1000 (AEST) Received: from localhost (localhost [127.0.0.1]) by silver.osuosl.org (Postfix) with ESMTP id BF36722925; Thu, 20 Aug 2020 22:50:09 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from silver.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 49dMwXCdeymx; Thu, 20 Aug 2020 22:50:05 +0000 (UTC) Received: from lists.linuxfoundation.org (lf-lists.osuosl.org [140.211.9.56]) by silver.osuosl.org (Postfix) with ESMTP id E4B0F2043D; Thu, 20 Aug 2020 22:50:04 +0000 (UTC) Received: from lf-lists.osuosl.org (localhost [127.0.0.1]) by lists.linuxfoundation.org (Postfix) with ESMTP id A700CC0889; Thu, 20 Aug 2020 22:50:04 +0000 (UTC) X-Original-To: dev@openvswitch.org Delivered-To: ovs-dev@lists.linuxfoundation.org Received: from silver.osuosl.org (smtp3.osuosl.org [140.211.166.136]) by lists.linuxfoundation.org (Postfix) with ESMTP id 8C7EDC0051 for ; Thu, 20 Aug 2020 22:50:03 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by silver.osuosl.org (Postfix) with ESMTP id 5A9DC228BA for ; Thu, 20 Aug 2020 22:50:03 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from silver.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id VOkTJc2vgPhS for ; Thu, 20 Aug 2020 22:50:02 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-pl1-f194.google.com (mail-pl1-f194.google.com [209.85.214.194]) by silver.osuosl.org (Postfix) with ESMTPS id CF8252043D for ; Thu, 20 Aug 2020 22:50:01 +0000 (UTC) Received: by mail-pl1-f194.google.com with SMTP id k13so1591232plk.13 for ; Thu, 20 Aug 2020 15:50:01 -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=sl6I3uQvyuVt4fDdFXXRv5Zb4+M1QbnKWeS4PTSL1PE=; b=omdAeLd3bOKwWryf8rpeZVbXptCLHKoGPHqfXbBTjEYRxGd4qfgToXRXxVgze8rGFC 58PXELSVBlqv2CCmach9f80X4CN9CNUPZZB4ev8tUpT/0yY0LlU2EQWA7I3rF5xPA7Gz 2KWZIZ6I/hS/24SWI+yrCpnHE2jqB2zU/lZVqGwdl93MZJieyJjI7/CaEd4NSYyDyIde FjZYajrrNPdq8c5QzQqgyjvL6WXCcjdBOTWS0QGurhzrMI8c5NCLDj7wVRgl6P2LWpze tg2DMV55JSyVte2e6l2rIk/qiq+i7hVpdK+KZJ4pGCCthCqQGNcjBfuJ2pzg+YDEh6S/ l08A== 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=sl6I3uQvyuVt4fDdFXXRv5Zb4+M1QbnKWeS4PTSL1PE=; b=E9cFQfbDOvDzGJUFw66BlxamNoQh0aOZwdRdyX45QDlw/YKdEPtHf1NIVtx9Go6a0W cEPde7UCaMKx+Wa/5YzHNwegqRno2W6G4AJz0IWEtV5fuRIZYBk9niqfZrPeZBTKw4dH cCHiSvHDKPmqKh1YabuK38iCpHXlCTVzIjjmAuzuXbaEV1Mk2yJXKnyzHV7xeWbcw+m6 GoJdbVwouxTQCITmItT3RVac5wCu/BNGjmR2oiZ7QcoB8GbYOCS3/MD7TbVSG2qTjxR0 bRVQPYn8xijy0N96bEcBgQvQo9lqyPayMoVnA8o51nBKwMoY8W73HVjNUC5GoDHRMT0/ V5Cw== X-Gm-Message-State: AOAM5326ReX25uci4RwIv6XCwR1vddEpqXCqIYfyNs837wPhmHabrcwN 24YPDE++7jGj7z2iYP1KfhfLTvsrdo9ndg== X-Google-Smtp-Source: ABdhPJzasOvxSh2ltC3Z+I7/R1XOwO/WGne4gN8OoY4KTGEv359ZadNV2Er5BrEGUp2dFScm9qek9Q== X-Received: by 2002:a17:902:b594:: with SMTP id a20mr462085pls.339.1597963800969; Thu, 20 Aug 2020 15:50:00 -0700 (PDT) Received: from gizo.domain (97-115-99-106.ptld.qwest.net. [97.115.99.106]) by smtp.gmail.com with ESMTPSA id y6sm116866pfr.61.2020.08.20.15.49.59 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Thu, 20 Aug 2020 15:50:00 -0700 (PDT) From: Greg Rose To: dev@openvswitch.org Date: Thu, 20 Aug 2020 15:49:27 -0700 Message-Id: <1597963790-12362-1-git-send-email-gvrose8192@gmail.com> X-Mailer: git-send-email 1.8.3.1 MIME-Version: 1.0 Subject: [ovs-dev] [PATCH 00/23] Add support for Linux kernels up to 5.9.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.9. 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. Passes Travis here: https://travis-ci.org/github/gvrose8192/ovs-experimental/builds/719740165 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 (2): acinclude: Enable builds up to Linux 5.9 Documentation: Update faq and NEWS for kernel 5.9 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 Documentation/faq/releases.rst | 2 +- NEWS | 2 + acinclude.m4 | 7 +- datapath/conntrack.c | 11 ++ datapath/datapath.c | 220 +++++++++++++++-------- datapath/datapath.h | 2 + datapath/flow.c | 13 ++ datapath/flow_netlink.c | 18 +- datapath/flow_table.c | 214 +++++++++++----------- datapath/linux/compat/include/linux/compiler.h | 13 ++ datapath/linux/compat/include/linux/skbuff.h | 7 + datapath/linux/compat/include/linux/static_key.h | 7 + datapath/vport.c | 5 +- 13 files changed, 330 insertions(+), 191 deletions(-)