Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/76631/?format=api
http://patchwork.dpdk.org/api/patches/76631/?format=api", "web_url": "http://patchwork.dpdk.org/project/dpdk/patch/20200907015651.956011-1-haiyue.wang@intel.com/", "project": { "id": 1, "url": "http://patchwork.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": "<20200907015651.956011-1-haiyue.wang@intel.com>", "list_archive_url": "https://inbox.dpdk.org/dev/20200907015651.956011-1-haiyue.wang@intel.com", "date": "2020-09-07T01:56:50", "name": "[v3] net: adjust the header length parse size", "commit_ref": null, "pull_url": null, "state": "accepted", "archived": true, "hash": "cf6252cf82c11dc5c74e64a1f07b5667805c585d", "submitter": { "id": 1044, "url": "http://patchwork.dpdk.org/api/people/1044/?format=api", "name": "Wang, Haiyue", "email": "haiyue.wang@intel.com" }, "delegate": { "id": 319, "url": "http://patchwork.dpdk.org/api/users/319/?format=api", "username": "fyigit", "first_name": "Ferruh", "last_name": "Yigit", "email": "ferruh.yigit@amd.com" }, "mbox": "http://patchwork.dpdk.org/project/dpdk/patch/20200907015651.956011-1-haiyue.wang@intel.com/mbox/", "series": [ { "id": 11977, "url": "http://patchwork.dpdk.org/api/series/11977/?format=api", "web_url": "http://patchwork.dpdk.org/project/dpdk/list/?series=11977", "date": "2020-09-07T01:56:50", "name": "[v3] net: adjust the header length parse size", "version": 3, "mbox": "http://patchwork.dpdk.org/series/11977/mbox/" } ], "comments": "http://patchwork.dpdk.org/api/patches/76631/comments/", "check": "success", "checks": "http://patchwork.dpdk.org/api/patches/76631/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 C6306A04BE;\n\tMon, 7 Sep 2020 04:07:48 +0200 (CEST)", "from [92.243.14.124] (localhost [127.0.0.1])\n\tby dpdk.org (Postfix) with ESMTP id 0D12C2BAB;\n\tMon, 7 Sep 2020 04:07:48 +0200 (CEST)", "from mga18.intel.com (mga18.intel.com [134.134.136.126])\n by dpdk.org (Postfix) with ESMTP id 7C7AC29AC\n for <dev@dpdk.org>; Mon, 7 Sep 2020 04:07:46 +0200 (CEST)", "from fmsmga007.fm.intel.com ([10.253.24.52])\n by orsmga106.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384;\n 06 Sep 2020 19:07:45 -0700", "from npg-dpdk-haiyue-3.sh.intel.com ([10.67.118.172])\n by fmsmga007.fm.intel.com with ESMTP; 06 Sep 2020 19:07:43 -0700" ], "IronPort-SDR": [ "\n ud9BF1LnxdCRod9vdiY/I+LOE4IBZsu/QwmuUmt9PsfMcnpjO1Tp68WqMT5y9AD2F/Pke16HgR\n KiX+AFx6/39Q==", "\n /Q7Eu9bqsYmbbNM+MN1+S268R9B3J7ksBsyQ42oNUS5M6cAFMhSmpEskExT4Iu84/4Rhox317z\n IZMV/uRvz5yA==" ], "X-IronPort-AV": [ "E=McAfee;i=\"6000,8403,9736\"; a=\"145651372\"", "E=Sophos;i=\"5.76,400,1592895600\"; d=\"scan'208\";a=\"145651372\"", "E=Sophos;i=\"5.76,400,1592895600\"; d=\"scan'208\";a=\"284005307\"" ], "X-Amp-Result": "SKIPPED(no attachment in message)", "X-Amp-File-Uploaded": "False", "X-ExtLoop1": "1", "From": "Haiyue Wang <haiyue.wang@intel.com>", "To": "dev@dpdk.org", "Cc": "stephen@networkplumber.org, ferruh.yigit@intel.com,\n Haiyue Wang <haiyue.wang@intel.com>, Olivier Matz <olivier.matz@6wind.com>", "Date": "Mon, 7 Sep 2020 09:56:50 +0800", "Message-Id": "<20200907015651.956011-1-haiyue.wang@intel.com>", "X-Mailer": "git-send-email 2.28.0", "In-Reply-To": "<20200904054020.77648-1-haiyue.wang@intel.com>", "References": "<20200904054020.77648-1-haiyue.wang@intel.com>", "MIME-Version": "1.0", "Content-Transfer-Encoding": "8bit", "Subject": "[dpdk-dev] [PATCH v3] net: adjust the header length parse 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": "Enlarge the L3 and tunnel header length from 8-bit to 16-bit to handle\nthe bigger headers. And reorder the fields to avoid creating a structure\nhole.\n\nSigned-off-by: Haiyue Wang <haiyue.wang@intel.com>\n---\nv2: use bit field to avoid creating a structure hole.\nv3: use basic type and reorder to avoid structure hole.\n---\n lib/librte_net/rte_net.h | 8 ++++----\n 1 file changed, 4 insertions(+), 4 deletions(-)", "diff": "diff --git a/lib/librte_net/rte_net.h b/lib/librte_net/rte_net.h\nindex 94b06d9ee..434435ffa 100644\n--- a/lib/librte_net/rte_net.h\n+++ b/lib/librte_net/rte_net.h\n@@ -20,11 +20,11 @@ extern \"C\" {\n */\n struct rte_net_hdr_lens {\n \tuint8_t l2_len;\n-\tuint8_t l3_len;\n-\tuint8_t l4_len;\n-\tuint8_t tunnel_len;\n \tuint8_t inner_l2_len;\n-\tuint8_t inner_l3_len;\n+\tuint16_t l3_len;\n+\tuint16_t inner_l3_len;\n+\tuint16_t tunnel_len;\n+\tuint8_t l4_len;\n \tuint8_t inner_l4_len;\n };\n \n", "prefixes": [ "v3" ] }{ "id": 76631, "url": "