From patchwork Thu Dec 7 17:01:09 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Gregory Rose X-Patchwork-Id: 845687 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (mailfrom) smtp.mailfrom=openvswitch.org (client-ip=140.211.169.12; helo=mail.linuxfoundation.org; envelope-from=ovs-dev-bounces@openvswitch.org; receiver=) Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b="eI1gfzKH"; dkim-atps=neutral Received: from mail.linuxfoundation.org (mail.linuxfoundation.org [140.211.169.12]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 3yt1wQ679Nz9sNx for ; Fri, 8 Dec 2017 04:01:26 +1100 (AEDT) Received: from mail.linux-foundation.org (localhost [127.0.0.1]) by mail.linuxfoundation.org (Postfix) with ESMTP id 100E3C77; Thu, 7 Dec 2017 17:01:23 +0000 (UTC) X-Original-To: dev@openvswitch.org Delivered-To: ovs-dev@mail.linuxfoundation.org Received: from smtp1.linuxfoundation.org (smtp1.linux-foundation.org [172.17.192.35]) by mail.linuxfoundation.org (Postfix) with ESMTPS id 26E81C77 for ; Thu, 7 Dec 2017 17:01:21 +0000 (UTC) X-Greylist: whitelisted by SQLgrey-1.7.6 Received: from mail-pf0-f194.google.com (mail-pf0-f194.google.com [209.85.192.194]) by smtp1.linuxfoundation.org (Postfix) with ESMTPS id DA1B8A3 for ; Thu, 7 Dec 2017 17:01:20 +0000 (UTC) Received: by mail-pf0-f194.google.com with SMTP id y89so5119898pfk.0 for ; Thu, 07 Dec 2017 09:01:20 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id; bh=SGFKv4r5oqAfjhC5z+wmUdjRzw7yDye0/5fXFnHBMAo=; b=eI1gfzKHh4wYZfZG5vzT1MDWthTOaadXGYPXC4CItvwlPKI8XmsFlbyIEurLGONBi3 uJ5/ZkUZu4LHI/MoNAHi17/ANhe1/cH2ZSffy15YT5PKs+SulZW4YQ71SiCCm/FNUVmq gMFK+25rhzVE6RPW19Wtfd+omJH0UvuG+hwTuOh8ofe6sr+VnnSEC2OfJ4elA/rGDE0J mISO+VWY7u8UpS1WujqgSqwvO1PfZDOoEuZTx5BBNDMNhQNx8rGrXbDEXMD5kNvLWfm1 iqLo+Jg5SsXy4wSzSrFVl4DtsZLxXwQRZm7vxhJB0qqrNYqaJPAzIeNBI8H7TB3CwXkH /5CQ== 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; bh=SGFKv4r5oqAfjhC5z+wmUdjRzw7yDye0/5fXFnHBMAo=; b=onJ8qyNUEgYea8ylpUPS8NaxX83yOHpxrRuqzdLSP0xVvEVnlJgW3S+CdPNqUFiUSF 8CbPL6PDliHGW0qnc8KBGS0KB+QEgaX7X/cUmbMEfWNOP8pFmu480kX0h/qJMCrTp2rR 7XxGrLg+uxszFupb5bec890E+utI1NSXVrkQtKaCR46xo7+8CPFQE6IVhY2/Jy05HO3M UPxfhiV+3Eh0cAXCrjS6wEP1z1tG5sJSomlbx1KqLs/Ytt/nMKnBGPXzPCv2c8XP9mFQ te19xLBpxEFgJhtNLnnrBu5OZncTpksmYt59i4SLpYBJeHfASlutBYlGpNYYywvYjYJg kOuw== X-Gm-Message-State: AJaThX7i+3iTe2WhJOlzBm13VYGpffklN4jr9CVYCYTKaC0jFwgkmINj f1TtlT3NfqibLf15NFmgQq763eI/ X-Google-Smtp-Source: AGs4zMaua8kyXgpbrdHTE3uw2+jhUusOX8dzfOahsr0Kyi41DIfvxqhx19ohKkhSk4aPWp5qPMwLHA== X-Received: by 10.84.198.67 with SMTP id o61mr27179801pld.229.1512666079743; Thu, 07 Dec 2017 09:01:19 -0800 (PST) Received: from gizo.domain (67-5-143-47.ptld.qwest.net. [67.5.143.47]) by smtp.gmail.com with ESMTPSA id u18sm10549134pgn.72.2017.12.07.09.01.18 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 07 Dec 2017 09:01:18 -0800 (PST) From: Greg Rose To: dev@openvswitch.org Date: Thu, 7 Dec 2017 09:01:09 -0800 Message-Id: <1512666075-11857-1-git-send-email-gvrose8192@gmail.com> X-Mailer: git-send-email 1.8.3.1 X-Spam-Status: No, score=-1.7 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,FREEMAIL_ENVFROM_END_DIGIT,FREEMAIL_FROM, RCVD_IN_DNSWL_NONE autolearn=no version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on smtp1.linux-foundation.org Subject: [ovs-dev] [PATCH 0/6] Enable OVS on Linux 4.14 kernel X-BeenThere: ovs-dev@openvswitch.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: ovs-dev-bounces@openvswitch.org Errors-To: ovs-dev-bounces@openvswitch.org Various fixes and compat layer changes required to enable building OVS for the upstream Linux 4.14 kernel. The constant changing of the netdev_master_upper_dev_link parameters is a real headache. I couldn't think of any cleaner way to do it than the approach I used but I welcome suggestions on how to make that code less ugly - because it's ten miles of bad road ugly. But it does compile and pass basic checks on all of the currently supported kernels. There's more fixes for SKB_GSO_UDP - I'm not sure why these don't show up for the 4.13 or previous kernels but I think it has to do with the recent change to make sure the SKB_GSO_UDP was searched as a whole word and thus exposed more fractures. I updated .travis.yml to use all the most recent supported LTS and stable kernels from kernel.org. Greg Rose (6): datapath: Fix netdev_master_upper_dev_link for 4.14 compat: Do not include headers when not compiling datapath: Constify struct nf_conntrack_l4proto datapath: Fix SKB_GSO_UDP usage acinclude.m4: Enable Linux 4.14 travis: Update kernel test list from kernel.org .travis.yml | 17 ++++++++--------- acinclude.m4 | 7 +++++-- datapath/conntrack.c | 2 +- datapath/datapath.c | 9 ++++++--- datapath/linux/compat/include/linux/netdevice.h | 15 ++++++++++++++- datapath/linux/compat/ip_gre.c | 2 +- datapath/linux/compat/ip_output.c | 2 +- datapath/linux/compat/stt.c | 11 ++++++++++- datapath/vport-netdev.c | 9 ++++++++- 9 files changed, 54 insertions(+), 20 deletions(-)