Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/55260/?format=api
http://patches.dpdk.org/api/patches/55260/?format=api", "web_url": "http://patches.dpdk.org/project/dpdk/patch/20190624164714.6560-5-stephen@networkplumber.org/", "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": "<20190624164714.6560-5-stephen@networkplumber.org>", "list_archive_url": "https://inbox.dpdk.org/dev/20190624164714.6560-5-stephen@networkplumber.org", "date": "2019-06-24T16:47:09", "name": "[v6,4/9] kni: drop unused fields", "commit_ref": null, "pull_url": null, "state": "accepted", "archived": true, "hash": "d37da3341adf7a1fb44c4ee0e3dabb6d169aabf3", "submitter": { "id": 27, "url": "http://patches.dpdk.org/api/people/27/?format=api", "name": "Stephen Hemminger", "email": "stephen@networkplumber.org" }, "delegate": { "id": 1, "url": "http://patches.dpdk.org/api/users/1/?format=api", "username": "tmonjalo", "first_name": "Thomas", "last_name": "Monjalon", "email": "thomas@monjalon.net" }, "mbox": "http://patches.dpdk.org/project/dpdk/patch/20190624164714.6560-5-stephen@networkplumber.org/mbox/", "series": [ { "id": 5138, "url": "http://patches.dpdk.org/api/series/5138/?format=api", "web_url": "http://patches.dpdk.org/project/dpdk/list/?series=5138", "date": "2019-06-24T16:47:05", "name": "kni: fixes and cleanups", "version": 6, "mbox": "http://patches.dpdk.org/series/5138/mbox/" } ], "comments": "http://patches.dpdk.org/api/patches/55260/comments/", "check": "fail", "checks": "http://patches.dpdk.org/api/patches/55260/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 317C21BD32;\n\tMon, 24 Jun 2019 18:47:35 +0200 (CEST)", "from mail-pg1-f195.google.com (mail-pg1-f195.google.com\n\t[209.85.215.195]) by dpdk.org (Postfix) with ESMTP id A97281BCEA\n\tfor <dev@dpdk.org>; Mon, 24 Jun 2019 18:47:26 +0200 (CEST)", "by mail-pg1-f195.google.com with SMTP id 196so7421391pgc.6\n\tfor <dev@dpdk.org>; Mon, 24 Jun 2019 09:47:26 -0700 (PDT)", "from hermes.lan (204-195-22-127.wavecable.com. [204.195.22.127])\n\tby smtp.gmail.com with ESMTPSA id\n\tf7sm12814023pfd.43.2019.06.24.09.47.24\n\t(version=TLS1_3 cipher=AEAD-AES256-GCM-SHA384 bits=256/256);\n\tMon, 24 Jun 2019 09:47:24 -0700 (PDT)" ], "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n\td=networkplumber-org.20150623.gappssmtp.com; s=20150623;\n\th=from:to:cc:subject:date:message-id:in-reply-to:references\n\t:mime-version:content-transfer-encoding;\n\tbh=BwV/bLfNBEHbbWxYej1CZA4dAMgB1xEzqt3/qXzzhdI=;\n\tb=ADVLDlBqJn9ZDTQINzcbWsrdQD6fQtDXWeQNLT2kiRM4hrc07rPh+Ry6KeaQiqVLhr\n\t05MIoZsSb3d3ExAFuwPWsk96cmVtBHtY2wlzi1i4alF2ewObwXkshPsmy9rZZUfP+O1I\n\tXRQ18lWTuqwm7Zo4iJ0w0KDJmIhfi9p4X04vSX83bA8PzAbxicxXZcSGHK/jUVqqVHas\n\tm8kFtHt3no1kowgqcSbHfzlngOFDKtNwO+fVzoaMRpPrtsc5rDRwEiOq9gU11akmNg5u\n\tRdPfUOoK/IIy/BjW2pmEEvx76gzHl5lkein5xdH4cyhCfAMh1G0NtEqlatpOJwNcHlGt\n\tkP6Q==", "X-Google-DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n\td=1e100.net; s=20161025;\n\th=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to\n\t:references:mime-version:content-transfer-encoding;\n\tbh=BwV/bLfNBEHbbWxYej1CZA4dAMgB1xEzqt3/qXzzhdI=;\n\tb=eR+BAR1uaQ+QoTwemFr+++5rfyP66/1RykZxKfHcN7weqM7Sy813xkkRjP8aK35ZNI\n\tb8K5PThvpBqmEg2rXVFGdGFOlZVcdSLeJv7x2y3DDNcQFmoHuunFlvg+expKY/l8f7Ej\n\tGqrE/ZCjMFnxTIynFO6HW2EWBZ+80fsgAvE3miLXGkbSeuLshzyODx1x3dqjb0j4ZjBn\n\thXaW+gTN5omPJhSG7WQT4/fI+C5d048Wx5YobsYh9PxZXN02bYarW1kFZwrUk6IaXf3x\n\tJG0dQArnCo0HPAQXopHGEYD59gKfGEOJNSCJ33XABkuvAG1zuw20AXPX7Q4QbYvyKXKJ\n\tboEg==", "X-Gm-Message-State": "APjAAAWI0S74AbpOJglD2+AFrZNR8GAI3/YlNu+MpRIC292uOs0ZsyhH\n\tNX/d2uOXL9m/yMnmbbGUvlwigtwFgdM=", "X-Google-Smtp-Source": "APXvYqweB4nhVSN5TUPapsEZR7a6mVlWNrPhuUTF042G2qsKsbaNUFNcLdYVoRirtwjCknAUAbMInQ==", "X-Received": "by 2002:a63:78c3:: with SMTP id\n\tt186mr34905209pgc.340.1561394845556; \n\tMon, 24 Jun 2019 09:47:25 -0700 (PDT)", "From": "Stephen Hemminger <stephen@networkplumber.org>", "To": "dev@dpdk.org", "Cc": "Stephen Hemminger <stephen@networkplumber.org>", "Date": "Mon, 24 Jun 2019 09:47:09 -0700", "Message-Id": "<20190624164714.6560-5-stephen@networkplumber.org>", "X-Mailer": "git-send-email 2.20.1", "In-Reply-To": "<20190624164714.6560-1-stephen@networkplumber.org>", "References": "<20190610175155.21374-1-stephen@networkplumber.org>\n\t<20190624164714.6560-1-stephen@networkplumber.org>", "MIME-Version": "1.0", "Content-Transfer-Encoding": "8bit", "Subject": "[dpdk-dev] [PATCH v6 4/9] kni: drop unused fields", "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": "Several fields were either totally unused or set and never used.\n\nSigned-off-by: Stephen Hemminger <stephen@networkplumber.org>\n---\n kernel/linux/kni/kni_dev.h | 5 -----\n kernel/linux/kni/kni_misc.c | 1 -\n 2 files changed, 6 deletions(-)", "diff": "diff --git a/kernel/linux/kni/kni_dev.h b/kernel/linux/kni/kni_dev.h\nindex 21e4b0d92368..f3e6c3ca4efa 100644\n--- a/kernel/linux/kni/kni_dev.h\n+++ b/kernel/linux/kni/kni_dev.h\n@@ -39,8 +39,6 @@ struct kni_dev {\n \t/* kni list */\n \tstruct list_head list;\n \n-\tint status;\n-\tuint16_t group_id; /* Group ID of a group of KNI devices */\n \tuint32_t core_id; /* Core ID to bind */\n \tchar name[RTE_KNI_NAMESIZE]; /* Network device name */\n \tstruct task_struct *pthread;\n@@ -79,9 +77,6 @@ struct kni_dev {\n \t/* mbuf size */\n \tuint32_t mbuf_size;\n \n-\t/* synchro for request processing */\n-\tunsigned long synchro;\n-\n \t/* buffers */\n \tvoid *pa[MBUF_BURST_SZ];\n \tvoid *va[MBUF_BURST_SZ];\ndiff --git a/kernel/linux/kni/kni_misc.c b/kernel/linux/kni/kni_misc.c\nindex 1fc5eeb9c8ca..b59cf24c2184 100644\n--- a/kernel/linux/kni/kni_misc.c\n+++ b/kernel/linux/kni/kni_misc.c\n@@ -346,7 +346,6 @@ kni_ioctl_create(struct net *net, uint32_t ioctl_num,\n \tkni = netdev_priv(net_dev);\n \n \tkni->net_dev = net_dev;\n-\tkni->group_id = dev_info.group_id;\n \tkni->core_id = dev_info.core_id;\n \tstrncpy(kni->name, dev_info.name, RTE_KNI_NAMESIZE);\n \n", "prefixes": [ "v6", "4/9" ] }{ "id": 55260, "url": "