Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/76484/?format=api
http://patchwork.dpdk.org/api/patches/76484/?format=api", "web_url": "http://patchwork.dpdk.org/project/dpdk/patch/20200904054020.77648-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": "<20200904054020.77648-1-haiyue.wang@intel.com>", "list_archive_url": "https://inbox.dpdk.org/dev/20200904054020.77648-1-haiyue.wang@intel.com", "date": "2020-09-04T05:40:20", "name": "[v1] net: expand the data size of L3 length to 16 bits", "commit_ref": null, "pull_url": null, "state": "superseded", "archived": true, "hash": "645408cacfe4302dd9b4f2b428f3195ae42ef2fe", "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/20200904054020.77648-1-haiyue.wang@intel.com/mbox/", "series": [ { "id": 11942, "url": "http://patchwork.dpdk.org/api/series/11942/?format=api", "web_url": "http://patchwork.dpdk.org/project/dpdk/list/?series=11942", "date": "2020-09-04T05:40:20", "name": "[v1] net: expand the data size of L3 length to 16 bits", "version": 1, "mbox": "http://patchwork.dpdk.org/series/11942/mbox/" } ], "comments": "http://patchwork.dpdk.org/api/patches/76484/comments/", "check": "success", "checks": "http://patchwork.dpdk.org/api/patches/76484/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 F31A4A04C5;\n\tFri, 4 Sep 2020 07:51:04 +0200 (CEST)", "from [92.243.14.124] (localhost [127.0.0.1])\n\tby dpdk.org (Postfix) with ESMTP id 6217A1BC25;\n\tFri, 4 Sep 2020 07:51:04 +0200 (CEST)", "from mga17.intel.com (mga17.intel.com [192.55.52.151])\n by dpdk.org (Postfix) with ESMTP id 06379DE0\n for <dev@dpdk.org>; Fri, 4 Sep 2020 07:51:02 +0200 (CEST)", "from fmsmga004.fm.intel.com ([10.253.24.48])\n by fmsmga107.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384;\n 03 Sep 2020 22:51:02 -0700", "from npg-dpdk-haiyue-3.sh.intel.com ([10.67.118.150])\n by fmsmga004.fm.intel.com with ESMTP; 03 Sep 2020 22:51:00 -0700" ], "IronPort-SDR": [ "\n eHlSiBoVmMn85IP602sEv8xQKTSCblDPXgwSlUqhXhXwe4v/1BGe8oMJF2O6FfX8cLIMt9NwuB\n Sz5LQg/C+Sag==", "\n QSQy9sIBuMGVjHlV738vNuiZ8f5rNfuTtTAZGQLUIn62qIF+e2AUZO1Bic9WFK2iszi/TMEO6q\n t7GZOy4Vp8Dg==" ], "X-IronPort-AV": [ "E=McAfee;i=\"6000,8403,9733\"; a=\"137749404\"", "E=Sophos;i=\"5.76,388,1592895600\"; d=\"scan'208\";a=\"137749404\"", "E=Sophos;i=\"5.76,388,1592895600\"; d=\"scan'208\";a=\"326498649\"" ], "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": "Haiyue Wang <haiyue.wang@intel.com>, Olivier Matz <olivier.matz@6wind.com>", "Date": "Fri, 4 Sep 2020 13:40:20 +0800", "Message-Id": "<20200904054020.77648-1-haiyue.wang@intel.com>", "X-Mailer": "git-send-email 2.28.0", "MIME-Version": "1.0", "Content-Transfer-Encoding": "8bit", "Subject": "[dpdk-dev] [PATCH v1] net: expand the data size of L3 length to 16\n\tbits", "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 IPv6 can have large extension header, like the \"Segment Routing\" may\nhave (32 + 1) * 8 = 264 bytes, the 8 bits size of L3 length can't handle\nthis case correctly.\n\nSigned-off-by: Haiyue Wang <haiyue.wang@intel.com>\n---\n lib/librte_net/rte_net.h | 4 ++--\n 1 file changed, 2 insertions(+), 2 deletions(-)", "diff": "diff --git a/lib/librte_net/rte_net.h b/lib/librte_net/rte_net.h\nindex 94b06d9ee..992fb088a 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+\tuint16_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 inner_l3_len;\n \tuint8_t inner_l4_len;\n };\n \n", "prefixes": [ "v1" ] }{ "id": 76484, "url": "