Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/49105/?format=api
https://patches.dpdk.org/api/patches/49105/?format=api", "web_url": "https://patches.dpdk.org/project/dpdk/patch/20181219070759.7538-2-xiliang@redhat.com/", "project": { "id": 1, "url": "https://patches.dpdk.org/api/projects/1/?format=api", "name": "DPDK", "link_name": "dpdk", "list_id": "dev.dpdk.org", "list_email": "dev@dpdk.org", "web_url": "http://core.dpdk.org", "scm_url": "git://dpdk.org/dpdk", "webscm_url": "http://git.dpdk.org/dpdk", "list_archive_url": "https://inbox.dpdk.org/dev", "list_archive_url_format": "https://inbox.dpdk.org/dev/{}", "commit_url_format": "" }, "msgid": "<20181219070759.7538-2-xiliang@redhat.com>", "list_archive_url": "https://inbox.dpdk.org/dev/20181219070759.7538-2-xiliang@redhat.com", "date": "2018-12-19T07:07:59", "name": "[v2] kni:fix build failure as \"ndo_change_mtu_rh74\" not found in RHEL8", "commit_ref": null, "pull_url": null, "state": "not-applicable", "archived": true, "hash": "66b2bb75705a972f82aabe9d8162b1e0e22e1c2b", "submitter": { "id": 1191, "url": "https://patches.dpdk.org/api/people/1191/?format=api", "name": "Xiao Liang", "email": "xiliang@redhat.com" }, "delegate": null, "mbox": "https://patches.dpdk.org/project/dpdk/patch/20181219070759.7538-2-xiliang@redhat.com/mbox/", "series": [ { "id": 2861, "url": "https://patches.dpdk.org/api/series/2861/?format=api", "web_url": "https://patches.dpdk.org/project/dpdk/list/?series=2861", "date": "2018-12-19T07:07:59", "name": "[v2] kni:fix build failure as \"ndo_change_mtu_rh74\" not found in RHEL8", "version": 2, "mbox": "https://patches.dpdk.org/series/2861/mbox/" } ], "comments": "https://patches.dpdk.org/api/patches/49105/comments/", "check": "success", "checks": "https://patches.dpdk.org/api/patches/49105/checks/", "tags": {}, "related": [], "headers": { "Return-Path": "<dev-bounces@dpdk.org>", "X-Original-To": "patchwork@dpdk.org", "Delivered-To": "patchwork@dpdk.org", "Received": [ "from [92.243.14.124] (localhost [127.0.0.1])\n\tby dpdk.org (Postfix) with ESMTP id 384F51BBFF;\n\tWed, 19 Dec 2018 08:08:33 +0100 (CET)", "from mx1.redhat.com (mx1.redhat.com [209.132.183.28])\n\tby dpdk.org (Postfix) with ESMTP id ABE531BBFC\n\tfor <dev@dpdk.org>; Wed, 19 Dec 2018 08:08:31 +0100 (CET)", "from smtp.corp.redhat.com\n\t(int-mx04.intmail.prod.int.phx2.redhat.com [10.5.11.14])\n\t(using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits))\n\t(No client certificate requested)\n\tby mx1.redhat.com (Postfix) with ESMTPS id 1373180E7B\n\tfor <dev@dpdk.org>; Wed, 19 Dec 2018 07:08:31 +0000 (UTC)", "from localhost.localdomain.com (unknown [10.66.70.108])\n\tby smtp.corp.redhat.com (Postfix) with ESMTPS id E97195DD64;\n\tWed, 19 Dec 2018 07:08:29 +0000 (UTC)" ], "From": "Xiao Liang <xiliang@redhat.com>", "To": "dev@dpdk.org", "Cc": "xiliang@redhat.com", "Date": "Wed, 19 Dec 2018 15:07:59 +0800", "Message-Id": "<20181219070759.7538-2-xiliang@redhat.com>", "In-Reply-To": "<20181219070759.7538-1-xiliang@redhat.com>", "References": "<20181219070759.7538-1-xiliang@redhat.com>", "MIME-Version": "1.0", "Content-Type": "text/plain; charset=UTF-8", "Content-Transfer-Encoding": "8bit", "X-Scanned-By": "MIMEDefang 2.79 on 10.5.11.14", "X-Greylist": "Sender IP whitelisted, not delayed by milter-greylist-4.5.16\n\t(mx1.redhat.com [10.5.110.25]); Wed, 19 Dec 2018 07:08:31 +0000 (UTC)", "Subject": "[dpdk-dev] [PATCH v2] kni:fix build failure as\n\t\"ndo_change_mtu_rh74\" not found in RHEL8", "X-BeenThere": "dev@dpdk.org", "X-Mailman-Version": "2.1.15", "Precedence": "list", "List-Id": "DPDK patches and discussions <dev.dpdk.org>", "List-Unsubscribe": "<https://mails.dpdk.org/options/dev>,\n\t<mailto:dev-request@dpdk.org?subject=unsubscribe>", "List-Archive": "<http://mails.dpdk.org/archives/dev/>", "List-Post": "<mailto:dev@dpdk.org>", "List-Help": "<mailto:dev-request@dpdk.org?subject=help>", "List-Subscribe": "<https://mails.dpdk.org/listinfo/dev>,\n\t<mailto:dev-request@dpdk.org?subject=subscribe>", "Errors-To": "dev-bounces@dpdk.org", "Sender": "\"dev\" <dev-bounces@dpdk.org>" }, "content": "'ndo_change_mtu_rh74' was changed to 'ndo_change_mtu' in RHEL8.\n\nBuild error log:\n/home/dpdk-18.11/kernel/linux/kni/compat.h:107:24: error: ‘const struct\nnet_device_ops’ has no member named ‘ndo_change_mtu_rh74’; did you mean\n‘ndo_change_mtu’?\n #define ndo_change_mtu ndo_change_mtu_rh74\n\n ^~~~~~~~~~~~~~~~~~~\nSigned-off-by: Xiao Liang <xiliang@redhat.com>\n---\n kernel/linux/kni/compat.h | 3 ++-\n kernel/linux/kni/ethtool/igb/kcompat.h | 3 ++-\n 2 files changed, 4 insertions(+), 2 deletions(-)", "diff": "diff --git a/kernel/linux/kni/compat.h b/kernel/linux/kni/compat.h\nindex 5aadebbcd..bc81d0c8d 100644\n--- a/kernel/linux/kni/compat.h\n+++ b/kernel/linux/kni/compat.h\n@@ -103,7 +103,8 @@\n #endif\n \n #if (defined(RHEL_RELEASE_CODE) && \\\n-\t(RHEL_RELEASE_CODE >= RHEL_RELEASE_VERSION(7, 5)))\n+\t(RHEL_RELEASE_CODE >= RHEL_RELEASE_VERSION(7, 5)) && \\\n+\t(RHEL_RELEASE_CODE < RHEL_RELEASE_VERSION(8, 0)))\n #define ndo_change_mtu ndo_change_mtu_rh74\n #endif\n \ndiff --git a/kernel/linux/kni/ethtool/igb/kcompat.h b/kernel/linux/kni/ethtool/igb/kcompat.h\nindex ae1b53093..2681be684 100644\n--- a/kernel/linux/kni/ethtool/igb/kcompat.h\n+++ b/kernel/linux/kni/ethtool/igb/kcompat.h\n@@ -3930,7 +3930,8 @@ skb_set_hash(struct sk_buff *skb, __u32 hash, __always_unused int type)\n #endif\n \n #if (defined(RHEL_RELEASE_CODE) && \\\n-\t(RHEL_RELEASE_VERSION(7, 5) <= RHEL_RELEASE_CODE))\n+\t(RHEL_RELEASE_CODE >= RHEL_RELEASE_VERSION(7, 5)) && \\\n+\t(RHEL_RELEASE_CODE < RHEL_RELEASE_VERSION(8, 0)))\n #define ndo_change_mtu ndo_change_mtu_rh74\n #endif\n \n", "prefixes": [ "v2" ] }{ "id": 49105, "url": "