From patchwork Fri Jul 8 20:03:34 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Gregory Rose X-Patchwork-Id: 1654379 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: bilbo.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=20210112 header.b=iPpEA/Ni; dkim-atps=neutral Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=openvswitch.org (client-ip=140.211.166.137; helo=smtp4.osuosl.org; envelope-from=ovs-dev-bounces@openvswitch.org; receiver=) Received: from smtp4.osuosl.org (smtp4.osuosl.org [140.211.166.137]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by bilbo.ozlabs.org (Postfix) with ESMTPS id 4LfkkN0G3Xz9s09 for ; Sat, 9 Jul 2022 06:03:55 +1000 (AEST) Received: from localhost (localhost [127.0.0.1]) by smtp4.osuosl.org (Postfix) with ESMTP id 1C54C4265E; Fri, 8 Jul 2022 20:03:54 +0000 (UTC) DKIM-Filter: OpenDKIM Filter v2.11.0 smtp4.osuosl.org 1C54C4265E Authentication-Results: smtp4.osuosl.org; dkim=fail reason="signature verification failed" (2048-bit key) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20210112 header.b=iPpEA/Ni X-Virus-Scanned: amavisd-new at osuosl.org Received: from smtp4.osuosl.org ([127.0.0.1]) by localhost (smtp4.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id qB6KtNRfISKc; Fri, 8 Jul 2022 20:03:53 +0000 (UTC) Received: from lists.linuxfoundation.org (lf-lists.osuosl.org [140.211.9.56]) by smtp4.osuosl.org (Postfix) with ESMTPS id 9170F42622; Fri, 8 Jul 2022 20:03:51 +0000 (UTC) DKIM-Filter: OpenDKIM Filter v2.11.0 smtp4.osuosl.org 9170F42622 Received: from lf-lists.osuosl.org (localhost [127.0.0.1]) by lists.linuxfoundation.org (Postfix) with ESMTP id 6036FC0035; Fri, 8 Jul 2022 20:03:51 +0000 (UTC) X-Original-To: dev@openvswitch.org Delivered-To: ovs-dev@lists.linuxfoundation.org Received: from smtp4.osuosl.org (smtp4.osuosl.org [IPv6:2605:bc80:3010::137]) by lists.linuxfoundation.org (Postfix) with ESMTP id DFCF8C002D for ; Fri, 8 Jul 2022 20:03:49 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by smtp4.osuosl.org (Postfix) with ESMTP id B9C2C42626 for ; Fri, 8 Jul 2022 20:03:49 +0000 (UTC) DKIM-Filter: OpenDKIM Filter v2.11.0 smtp4.osuosl.org B9C2C42626 X-Virus-Scanned: amavisd-new at osuosl.org Received: from smtp4.osuosl.org ([127.0.0.1]) by localhost (smtp4.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id tUqL2TgCmOED for ; Fri, 8 Jul 2022 20:03:48 +0000 (UTC) X-Greylist: whitelisted by SQLgrey-1.8.0 DKIM-Filter: OpenDKIM Filter v2.11.0 smtp4.osuosl.org CD8C042622 Received: from mail-pl1-x631.google.com (mail-pl1-x631.google.com [IPv6:2607:f8b0:4864:20::631]) by smtp4.osuosl.org (Postfix) with ESMTPS id CD8C042622 for ; Fri, 8 Jul 2022 20:03:48 +0000 (UTC) Received: by mail-pl1-x631.google.com with SMTP id z1so11391857plb.1 for ; Fri, 08 Jul 2022 13:03:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=BPSFe/IldhOGU6WeZyErXwMBKlvSA8dBPjkGFwu9lEg=; b=iPpEA/Ni+a1ls9GmH7UM4hW3K2iqxgy5Sc5Dt/QM7CtPGs2Y4VE0SLnNigpRqspzWn Z0zPGnJSc0/lMjKLjIbQsRL3nkzquw+OXiJ7OzG16BYeUEfyw/0Ue1N7X4jR2UgQeU1V 5P8bGnXXYQ94waqAl96TvVTTg9oCJzFPNpVvOpHWh+Cc0SRcp2S+gc7q4SThmKjppOTb 7FvIP7cjYbJphftkcobGiAXh0qyhuLk7qzfsZBOXDJeBeOhYar/qoV85r5gV5RPc5yye I9VOZgt+QF5FjB056IbuiT0c8zaJPs4U+uLzFUSLfBRgYmCnXU8t6Zcvu1FuQYiOyigi MG+A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=BPSFe/IldhOGU6WeZyErXwMBKlvSA8dBPjkGFwu9lEg=; b=wYrQc5av4g8PMapUZYKpaC4bQnZcaJ+K7Z7CCqvb7+dBJO6xM4UkiwEFRovA0UtXpK JpPRMiQ8zIevRZeKmPXp3JeEmQ7PBZ7azmP2B1A6TqqvFt3iApJzsLSdvseGfFSprw2D o4YnqUdNqUFiSmzlJH+v4ITvwKop2WYhmcKyvXo1k9PbDy78cmY6C7wUfCwFnlDmdcQK BOspzmdhSaLil8z3zHvDhCw3w5NLd+ndn8Zt2khK81nb8S+EbM3oOI+X4ZHabHjYUbfy 9PntJ8dKJ+6n0vvU7qouQwk5kg/BTmhp8Bf219eYpWT3zCzFPgwTHAStilvL00iWdGLW tzbQ== X-Gm-Message-State: AJIora9WGnGt8vE0eZrCfJZ+jimeCfagGuhA9HqWpsv5L2cQAwA9Jk4V NNMWa7qOrfeA8AVOaeWt9so08Q/WLV4= X-Google-Smtp-Source: AGRyM1vuo0IYNdGCFCKai/WNyHF07h8hjSeEJS6JWdiDYe+9rJt7+9e7jXRy8BJOu/FmdTyBUImPNg== X-Received: by 2002:a17:90a:ff94:b0:1ef:8e7b:c93f with SMTP id hf20-20020a17090aff9400b001ef8e7bc93fmr1739836pjb.104.1657310628076; Fri, 08 Jul 2022 13:03:48 -0700 (PDT) Received: from VMware-box.domain ([97.115.145.232]) by smtp.googlemail.com with ESMTPSA id q17-20020a656851000000b003fdc16f5de2sm28311085pgt.15.2022.07.08.13.03.47 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 08 Jul 2022 13:03:47 -0700 (PDT) From: Greg Rose To: dev@openvswitch.org Date: Fri, 8 Jul 2022 13:03:34 -0700 Message-Id: <20220708200340.13053-2-gvrose8192@gmail.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20220708200340.13053-1-gvrose8192@gmail.com> References: <20220708200340.13053-1-gvrose8192@gmail.com> Subject: [ovs-dev] [PATCH V3 1/7] Disable unsupported kernel builds 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: , MIME-Version: 1.0 Errors-To: ovs-dev-bounces@openvswitch.org Sender: "dev" Remove kernel based github workflows since the OVS kernel driver is no longer supported since Release 2.18 Signed-off-by: Greg Rose --- .github/workflows/build-and-test.yml | 53 ---------------------------- 1 file changed, 53 deletions(-) diff --git a/.github/workflows/build-and-test.yml b/.github/workflows/build-and-test.yml index 9e3583781..64454c5ea 100644 --- a/.github/workflows/build-and-test.yml +++ b/.github/workflows/build-and-test.yml @@ -9,21 +9,14 @@ jobs: automake libtool gcc bc libjemalloc1 libjemalloc-dev \ libssl-dev llvm-dev libelf-dev libnuma-dev libpcap-dev \ ninja-build selinux-policy-dev - deb_dependencies: | - linux-headers-$(uname -r) build-essential fakeroot devscripts equivs - AFXDP: ${{ matrix.afxdp }} ASAN: ${{ matrix.asan }} UBSAN: ${{ matrix.ubsan }} CC: ${{ matrix.compiler }} - DEB_PACKAGE: ${{ matrix.deb_package }} DPDK: ${{ matrix.dpdk }} DPDK_SHARED: ${{ matrix.dpdk_shared }} - KERNEL: ${{ matrix.kernel }} - KERNEL_LIST: ${{ matrix.kernel_list }} LIBS: ${{ matrix.libs }} M32: ${{ matrix.m32 }} OPTS: ${{ matrix.opts }} - TESTSUITE: ${{ matrix.testsuite }} name: linux ${{ join(matrix.*, ' ') }} runs-on: ubuntu-18.04 @@ -38,56 +31,13 @@ jobs: - compiler: clang opts: --disable-ssl - - compiler: gcc - testsuite: test - kernel: 3.16 - compiler: clang testsuite: test - kernel: 3.16 asan: asan - compiler: clang testsuite: test - kernel: 3.16 ubsan: ubsan - - compiler: gcc - testsuite: test - opts: --enable-shared - - compiler: clang - testsuite: test - opts: --enable-shared - - - compiler: gcc - testsuite: test - dpdk: dpdk - - compiler: clang - testsuite: test - dpdk: dpdk - - - compiler: gcc - testsuite: test - libs: -ljemalloc - - compiler: clang - testsuite: test - libs: -ljemalloc - - - compiler: gcc - kernel_list: 5.8 5.5 5.4 4.19 - - compiler: clang - kernel_list: 5.8 5.5 5.4 4.19 - - - compiler: gcc - kernel_list: 4.14 4.9 4.4 3.16 - - compiler: clang - kernel_list: 4.14 4.9 4.4 3.16 - - - compiler: gcc - afxdp: afxdp - kernel: 5.3 - - compiler: clang - afxdp: afxdp - kernel: 5.3 - - compiler: gcc dpdk: dpdk opts: --enable-shared @@ -111,9 +61,6 @@ jobs: m32: m32 opts: --disable-ssl - - compiler: gcc - deb_package: deb - steps: - name: checkout uses: actions/checkout@v2 From patchwork Fri Jul 8 20:03:35 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Gregory Rose X-Patchwork-Id: 1654382 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: bilbo.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=20210112 header.b=P/tSigNw; dkim-atps=neutral Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=openvswitch.org (client-ip=2605:bc80:3010::133; helo=smtp2.osuosl.org; envelope-from=ovs-dev-bounces@openvswitch.org; receiver=) Received: from smtp2.osuosl.org (smtp2.osuosl.org [IPv6:2605:bc80:3010::133]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by bilbo.ozlabs.org (Postfix) with ESMTPS id 4Lfkkd6rRvz9s09 for ; Sat, 9 Jul 2022 06:04:09 +1000 (AEST) Received: from localhost (localhost [127.0.0.1]) by smtp2.osuosl.org (Postfix) with ESMTP id DDE3041673; Fri, 8 Jul 2022 20:04:06 +0000 (UTC) DKIM-Filter: OpenDKIM Filter v2.11.0 smtp2.osuosl.org DDE3041673 Authentication-Results: smtp2.osuosl.org; dkim=fail reason="signature verification failed" (2048-bit key) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20210112 header.b=P/tSigNw X-Virus-Scanned: amavisd-new at osuosl.org Received: from smtp2.osuosl.org ([127.0.0.1]) by localhost (smtp2.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id HYZcI4IVgov7; Fri, 8 Jul 2022 20:04:00 +0000 (UTC) Received: from lists.linuxfoundation.org (lf-lists.osuosl.org [140.211.9.56]) by smtp2.osuosl.org (Postfix) with ESMTPS id B9CD04166D; Fri, 8 Jul 2022 20:03:58 +0000 (UTC) DKIM-Filter: OpenDKIM Filter v2.11.0 smtp2.osuosl.org B9CD04166D Received: from lf-lists.osuosl.org (localhost [127.0.0.1]) by lists.linuxfoundation.org (Postfix) with ESMTP id 169D3C0077; Fri, 8 Jul 2022 20:03:56 +0000 (UTC) X-Original-To: dev@openvswitch.org Delivered-To: ovs-dev@lists.linuxfoundation.org Received: from smtp3.osuosl.org (smtp3.osuosl.org [140.211.166.136]) by lists.linuxfoundation.org (Postfix) with ESMTP id B1E66C0082 for ; Fri, 8 Jul 2022 20:03:52 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by smtp3.osuosl.org (Postfix) with ESMTP id 7D22B60B85 for ; Fri, 8 Jul 2022 20:03:51 +0000 (UTC) DKIM-Filter: OpenDKIM Filter v2.11.0 smtp3.osuosl.org 7D22B60B85 Authentication-Results: smtp3.osuosl.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20210112 header.b=P/tSigNw X-Virus-Scanned: amavisd-new at osuosl.org Received: from smtp3.osuosl.org ([127.0.0.1]) by localhost (smtp3.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id DJpigbMp8PeB for ; Fri, 8 Jul 2022 20:03:49 +0000 (UTC) X-Greylist: whitelisted by SQLgrey-1.8.0 DKIM-Filter: OpenDKIM Filter v2.11.0 smtp3.osuosl.org A454D60B1B Received: from mail-pg1-x531.google.com (mail-pg1-x531.google.com [IPv6:2607:f8b0:4864:20::531]) by smtp3.osuosl.org (Postfix) with ESMTPS id A454D60B1B for ; Fri, 8 Jul 2022 20:03:49 +0000 (UTC) Received: by mail-pg1-x531.google.com with SMTP id s27so23171197pga.13 for ; Fri, 08 Jul 2022 13:03:49 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=l9INL1K/S7bxTDkieL0wLjsUzP1iyl4Fn0jOa/Kn4Go=; b=P/tSigNwICAJJdW0KRJ1IZzqeHC1JfrTY71xPYb/nwJOr0GLV343xUGtu5SVkxFm68 3WJUE5amiXGxhmt3HnQZ7/r/6/e5UAuGczi0ql3xPYqsRoq4bBGUu3BOmVb2uZAEGgsq PsupFRSpXIhxLkIrrU/BWw4WhfPDagvrj+ZJPnngY8wYuk3bCTm8aotVEX+4mQzZlpzN 5DfpLxutqXeuoRBuPeiq8w33dWlMT0ZQ5H4NqK5Fl3DqiEY2YQGIIFvSRLmwb3+gfp9p hLwIliI33nBYbhveDkDbW+Q5U1aJIB4tuQiK/Eo+SLoFo2dYAMdJtX4riC7igDdveak7 6Wfg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=l9INL1K/S7bxTDkieL0wLjsUzP1iyl4Fn0jOa/Kn4Go=; b=f2wrBwPNxwz+b/4DeJPt/K2nGRuVIXJ88qpAnE0wMy1+iYnwNxqH6Kl031fU1fEmoS LIRMiWCmlOVNIDc+h0qcM05zVq4jNz7m8KTXzxP9LvJMSz2NgcYmhbTpxNe79ufdwdvF VHyF79ky7MAIYIwQVRJVtugdQk7fllBo7AurxtCsOjhBP7GfMC1A+UfCgoVCxiE8Nm0h de0LaZ9FD8nezauLC5oLROP6QZ0+v5KaIST3tvdXKkvMWxUmTCTVpcLTWsdgGrR+8hH5 mtlIAkbOWbg4Swm91Eo5ddS4GgW9ajmdXnYVBdBywT2IYKgz4vtB6nj5bE6WQHk9Hcrn Mb9g== X-Gm-Message-State: AJIora9X1XK3BAr5B1XehwViXstA+tMK0J0zSdmweM5MIsLWkAiSBAXU 2FTn/ykJ5ikcAWeBGoK2G/JAk10nEzM= X-Google-Smtp-Source: AGRyM1snAm3J2KefneqvxYdsiZu7Cu8DbmRGAgu0RtvLo0mlSdtleBgbu1urWY/meE0Cnv7V7ByPxg== X-Received: by 2002:a63:5810:0:b0:40d:77fb:1c25 with SMTP id m16-20020a635810000000b0040d77fb1c25mr4714074pgb.570.1657310628696; Fri, 08 Jul 2022 13:03:48 -0700 (PDT) Received: from VMware-box.domain ([97.115.145.232]) by smtp.googlemail.com with ESMTPSA id q17-20020a656851000000b003fdc16f5de2sm28311085pgt.15.2022.07.08.13.03.48 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 08 Jul 2022 13:03:48 -0700 (PDT) From: Greg Rose To: dev@openvswitch.org Date: Fri, 8 Jul 2022 13:03:35 -0700 Message-Id: <20220708200340.13053-3-gvrose8192@gmail.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20220708200340.13053-1-gvrose8192@gmail.com> References: <20220708200340.13053-1-gvrose8192@gmail.com> Subject: [ovs-dev] [PATCH V3 2/7] rhel: Remove kernel mode spec 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: , MIME-Version: 1.0 Errors-To: ovs-dev-bounces@openvswitch.org Sender: "dev" Remove the kernel driver specification for RHEL 6.x, 7.x, 8.x and Fedora. Signed-off-by: Greg Rose --- Documentation/intro/install/rhel.rst | 18 ---- Vagrantfile | 9 +- poc/playbook-centos-builder.yml | 8 -- poc/playbook-fedora-builder.yml | 13 --- rhel/.gitignore | 4 - rhel/automake.mk | 22 ---- rhel/kmod-openvswitch-rhel6.spec.in | 123 ---------------------- rhel/openvswitch-dkms.spec.in | 103 ------------------ rhel/openvswitch-kmod-fedora.spec.in | 152 --------------------------- 9 files changed, 1 insertion(+), 451 deletions(-) delete mode 100644 rhel/kmod-openvswitch-rhel6.spec.in delete mode 100644 rhel/openvswitch-dkms.spec.in delete mode 100644 rhel/openvswitch-kmod-fedora.spec.in diff --git a/Documentation/intro/install/rhel.rst b/Documentation/intro/install/rhel.rst index b21b274b7..d1fc42021 100644 --- a/Documentation/intro/install/rhel.rst +++ b/Documentation/intro/install/rhel.rst @@ -194,24 +194,6 @@ the unit tests, run:: /lib/modules/2.6.32-279.el6.x86_64/build doesn't exist`` or similar, then the kernel-devel package is missing or buggy. -Kernel Module -~~~~~~~~~~~~~ - -On RHEL 6, to build the Open vSwitch kernel module run:: - - $ rpmbuild -bb rhel/kmod-openvswitch-rhel6.spec - -You might have to specify a kernel version and/or variants, e.g.:: - - $ rpmbuild -bb \ - -D "kversion 2.6.32-131.6.1.el6.x86_64" \ - -D "kflavors default debug kdump" \ - rhel/kmod-openvswitch-rhel6.spec - -This produces an "kmod-openvswitch" RPM for each kernel variant, in this -example: "kmod-openvswitch", "kmod-openvswitch-debug", and -"kmod-openvswitch-kdump". - .. _rhel-script-integrations: Red Hat Network Scripts Integration diff --git a/Vagrantfile b/Vagrantfile index 2cd603932..c2c59265d 100644 --- a/Vagrantfile +++ b/Vagrantfile @@ -54,7 +54,7 @@ cd /vagrant [ -f Makefile ] && ./configure && make distclean mkdir -p ~/build cd ~/build -/vagrant/configure --with-linux=/lib/modules/`uname -r`/build --enable-silent-rules +/vagrant/configure --enable-silent-rules SCRIPT $build_ovs = <