Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/63042/?format=api
http://patches.dpdk.org/api/patches/63042/?format=api", "web_url": "http://patches.dpdk.org/project/dpdk/patch/20191115130328.25683-1-michael.pfeiffer@tu-ilmenau.de/", "project": { "id": 1, "url": "http://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": "<20191115130328.25683-1-michael.pfeiffer@tu-ilmenau.de>", "list_archive_url": "https://inbox.dpdk.org/dev/20191115130328.25683-1-michael.pfeiffer@tu-ilmenau.de", "date": "2019-11-15T13:03:28", "name": "[v2] kni: reduce interface name size", "commit_ref": null, "pull_url": null, "state": "accepted", "archived": true, "hash": "491887862fe8baf6c5f6562615d95855f5dfeaf4", "submitter": { "id": 1506, "url": "http://patches.dpdk.org/api/people/1506/?format=api", "name": "Michael Pfeiffer", "email": "michael.pfeiffer@tu-ilmenau.de" }, "delegate": { "id": 24651, "url": "http://patches.dpdk.org/api/users/24651/?format=api", "username": "dmarchand", "first_name": "David", "last_name": "Marchand", "email": "david.marchand@redhat.com" }, "mbox": "http://patches.dpdk.org/project/dpdk/patch/20191115130328.25683-1-michael.pfeiffer@tu-ilmenau.de/mbox/", "series": [ { "id": 7476, "url": "http://patches.dpdk.org/api/series/7476/?format=api", "web_url": "http://patches.dpdk.org/project/dpdk/list/?series=7476", "date": "2019-11-15T13:03:28", "name": "[v2] kni: reduce interface name size", "version": 2, "mbox": "http://patches.dpdk.org/series/7476/mbox/" } ], "comments": "http://patches.dpdk.org/api/patches/63042/comments/", "check": "success", "checks": "http://patches.dpdk.org/api/patches/63042/checks/", "tags": {}, "related": [], "headers": { "Return-Path": "<dev-bounces@dpdk.org>", "X-Original-To": "patchwork@inbox.dpdk.org", "Delivered-To": "patchwork@inbox.dpdk.org", "Received": [ "from dpdk.org (dpdk.org [92.243.14.124])\n\tby inbox.dpdk.org (Postfix) with ESMTP id E03E0A04C2;\n\tFri, 15 Nov 2019 14:03:43 +0100 (CET)", "from [92.243.14.124] (localhost [127.0.0.1])\n\tby dpdk.org (Postfix) with ESMTP id E37A42C08;\n\tFri, 15 Nov 2019 14:03:42 +0100 (CET)", "from smail.rz.tu-ilmenau.de (smail.rz.tu-ilmenau.de [141.24.186.67])\n by dpdk.org (Postfix) with ESMTP id 0B53A2BA8\n for <dev@dpdk.org>; Fri, 15 Nov 2019 14:03:42 +0100 (CET)", "from tywin.prakinf.tu-ilmenau.de (unknown [141.24.212.106])\n (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits))\n (No client certificate requested)\n by smail.rz.tu-ilmenau.de (Postfix) with ESMTPSA id C908358006E;\n Fri, 15 Nov 2019 14:03:41 +0100 (CET)" ], "From": "Michael Pfeiffer <michael.pfeiffer@tu-ilmenau.de>", "To": "ferruh.yigit@intel.com", "Cc": "dev@dpdk.org,\n\tMichael Pfeiffer <michael.pfeiffer@tu-ilmenau.de>", "Date": "Fri, 15 Nov 2019 14:03:28 +0100", "Message-Id": "<20191115130328.25683-1-michael.pfeiffer@tu-ilmenau.de>", "X-Mailer": "git-send-email 2.20.1", "In-Reply-To": "<20191115114107.30737-1-michael.pfeiffer@tu-ilmenau.de>", "References": "<20191115114107.30737-1-michael.pfeiffer@tu-ilmenau.de>", "MIME-Version": "1.0", "Content-Transfer-Encoding": "8bit", "Subject": "[dpdk-dev] [PATCH v2] kni: reduce interface name size", "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 <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 <mailto:dev-request@dpdk.org?subject=subscribe>", "Errors-To": "dev-bounces@dpdk.org", "Sender": "\"dev\" <dev-bounces@dpdk.org>" }, "content": "The name in rte_kni_device_info is passed to the kernel, which allows\ninterface names with at most 16 bytes (IFNAMSIZ). rte_kni_alloc with a\nlonger name currently trigger a kernel BUG in alloc_netdev_mqs in\nnet/core/dev.c. Reduce RTE_KNI_NAMESIZE to prevent this situation.\n\nSigned-off-by: Michael Pfeiffer <michael.pfeiffer@tu-ilmenau.de>\n---\n lib/librte_eal/linux/eal/include/rte_kni_common.h | 6 +++---\n 1 file changed, 3 insertions(+), 3 deletions(-)", "diff": "diff --git a/lib/librte_eal/linux/eal/include/rte_kni_common.h b/lib/librte_eal/linux/eal/include/rte_kni_common.h\nindex 46f75a710..b427cd56c 100644\n--- a/lib/librte_eal/linux/eal/include/rte_kni_common.h\n+++ b/lib/librte_eal/linux/eal/include/rte_kni_common.h\n@@ -15,10 +15,10 @@\n #include <rte_config.h>\n #endif\n \n-/**\n- * KNI name is part of memzone name.\n+/*\n+ * KNI name is part of memzone name. Must not exceed IFNAMSIZ.\n */\n-#define RTE_KNI_NAMESIZE 32\n+#define RTE_KNI_NAMESIZE 16\n \n #define RTE_CACHE_LINE_MIN_SIZE 64\n \n", "prefixes": [ "v2" ] }{ "id": 63042, "url": "