Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/49099/?format=api
https://patches.dpdk.org/api/patches/49099/?format=api", "web_url": "https://patches.dpdk.org/project/dpdk/patch/20181219060451.6827-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": "<20181219060451.6827-2-xiliang@redhat.com>", "list_archive_url": "https://inbox.dpdk.org/dev/20181219060451.6827-2-xiliang@redhat.com", "date": "2018-12-19T06:04:51", "name": "kni:fix build failure as \"ndo_change_mtu_rh74\" not found in RHEL8", "commit_ref": null, "pull_url": null, "state": "superseded", "archived": true, "hash": "e67d52b8f6a906b75aa7523863f1113821cb55f5", "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/20181219060451.6827-2-xiliang@redhat.com/mbox/", "series": [ { "id": 2858, "url": "https://patches.dpdk.org/api/series/2858/?format=api", "web_url": "https://patches.dpdk.org/project/dpdk/list/?series=2858", "date": "2018-12-19T06:04:51", "name": "kni:fix build failure as \"ndo_change_mtu_rh74\" not found in RHEL8", "version": 1, "mbox": "https://patches.dpdk.org/series/2858/mbox/" } ], "comments": "https://patches.dpdk.org/api/patches/49099/comments/", "check": "success", "checks": "https://patches.dpdk.org/api/patches/49099/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 206D11BA68;\n\tWed, 19 Dec 2018 07:05:14 +0100 (CET)", "from mx1.redhat.com (mx1.redhat.com [209.132.183.28])\n\tby dpdk.org (Postfix) with ESMTP id 8C1D11B4AF\n\tfor <dev@dpdk.org>; Wed, 19 Dec 2018 07:05:12 +0100 (CET)", "from smtp.corp.redhat.com\n\t(int-mx08.intmail.prod.int.phx2.redhat.com [10.5.11.23])\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 D4F1C83F40\n\tfor <dev@dpdk.org>; Wed, 19 Dec 2018 06:05:11 +0000 (UTC)", "from localhost.localdomain.com (unknown [10.66.70.108])\n\tby smtp.corp.redhat.com (Postfix) with ESMTPS id B680A277B3;\n\tWed, 19 Dec 2018 06:05:10 +0000 (UTC)" ], "From": "Xiao Liang <xiliang@redhat.com>", "To": "dev@dpdk.org", "Cc": "xiliang@redhat.com", "Date": "Wed, 19 Dec 2018 14:04:51 +0800", "Message-Id": "<20181219060451.6827-2-xiliang@redhat.com>", "In-Reply-To": "<20181219060451.6827-1-xiliang@redhat.com>", "References": "<20181219060451.6827-1-xiliang@redhat.com>", "MIME-Version": "1.0", "Content-Type": "text/plain; charset=UTF-8", "Content-Transfer-Encoding": "8bit", "X-Scanned-By": "MIMEDefang 2.84 on 10.5.11.23", "X-Greylist": "Sender IP whitelisted, not delayed by milter-greylist-4.5.16\n\t(mx1.redhat.com [10.5.110.27]); Wed, 19 Dec 2018 06:05:11 +0000 (UTC)", "Subject": "[dpdk-dev] [PATCH] kni:fix build failure as \"ndo_change_mtu_rh74\"\n\tnot 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 1 file changed, 2 insertions(+), 1 deletion(-)", "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 \n", "prefixes": [] }{ "id": 49099, "url": "