Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/96499/?format=api
https://patches.dpdk.org/api/patches/96499/?format=api", "web_url": "https://patches.dpdk.org/project/dpdk/patch/20210731181327.660296-5-gakhil@marvell.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": "<20210731181327.660296-5-gakhil@marvell.com>", "list_archive_url": "https://inbox.dpdk.org/dev/20210731181327.660296-5-gakhil@marvell.com", "date": "2021-07-31T18:13:27", "name": "[4/4] security: add reserved bitfields", "commit_ref": null, "pull_url": null, "state": "superseded", "archived": true, "hash": "01ae7a188cab459c2c55dfad85d490c38ec786d2", "submitter": { "id": 2094, "url": "https://patches.dpdk.org/api/people/2094/?format=api", "name": "Akhil Goyal", "email": "gakhil@marvell.com" }, "delegate": { "id": 6690, "url": "https://patches.dpdk.org/api/users/6690/?format=api", "username": "akhil", "first_name": "akhil", "last_name": "goyal", "email": "gakhil@marvell.com" }, "mbox": "https://patches.dpdk.org/project/dpdk/patch/20210731181327.660296-5-gakhil@marvell.com/mbox/", "series": [ { "id": 18117, "url": "https://patches.dpdk.org/api/series/18117/?format=api", "web_url": "https://patches.dpdk.org/project/dpdk/list/?series=18117", "date": "2021-07-31T18:13:23", "name": "cryptodev and security ABI improvements", "version": 1, "mbox": "https://patches.dpdk.org/series/18117/mbox/" } ], "comments": "https://patches.dpdk.org/api/patches/96499/comments/", "check": "fail", "checks": "https://patches.dpdk.org/api/patches/96499/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 mails.dpdk.org (mails.dpdk.org [217.70.189.124])\n\tby inbox.dpdk.org (Postfix) with ESMTP id C3D69A0547;\n\tSat, 31 Jul 2021 20:14:03 +0200 (CEST)", "from [217.70.189.124] (localhost [127.0.0.1])\n\tby mails.dpdk.org (Postfix) with ESMTP id 105E4410FA;\n\tSat, 31 Jul 2021 20:14:00 +0200 (CEST)", "from mx0b-0016f401.pphosted.com (mx0b-0016f401.pphosted.com\n [67.231.156.173])\n by mails.dpdk.org (Postfix) with ESMTP id 32C5B40042\n for <dev@dpdk.org>; Sat, 31 Jul 2021 20:13:59 +0200 (CEST)", "from pps.filterd (m0045851.ppops.net [127.0.0.1])\n by mx0b-0016f401.pphosted.com (8.16.0.43/8.16.0.43) with SMTP id\n 16VIDqBc025488; Sat, 31 Jul 2021 11:13:56 -0700", "from dc5-exch02.marvell.com ([199.233.59.182])\n by mx0b-0016f401.pphosted.com with ESMTP id 3a561rrmrv-1\n (version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA384 bits=256 verify=NOT);\n Sat, 31 Jul 2021 11:13:56 -0700", "from DC5-EXCH01.marvell.com (10.69.176.38) by DC5-EXCH02.marvell.com\n (10.69.176.39) with Microsoft SMTP Server (TLS) id 15.0.1497.18;\n Sat, 31 Jul 2021 11:13:54 -0700", "from maili.marvell.com (10.69.176.80) by DC5-EXCH01.marvell.com\n (10.69.176.38) with Microsoft SMTP Server id 15.0.1497.18 via Frontend\n Transport; Sat, 31 Jul 2021 11:13:54 -0700", "from localhost.localdomain (unknown [10.28.36.185])\n by maili.marvell.com (Postfix) with ESMTP id 1CA833F707A;\n Sat, 31 Jul 2021 11:13:49 -0700 (PDT)" ], "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed; d=marvell.com;\n h=from : to : cc :\n subject : date : message-id : in-reply-to : references : mime-version :\n content-transfer-encoding : content-type; s=pfpt0220;\n bh=NZ4qYPLbns5xnjBKQSZOtTtl2Odbu0lvFz99p4e9/ds=;\n b=NYAPm5eg/+AHBeeqI2mu8Cx/5IMsjjOevvT0ejqt3KlX/Yk7NzyEJFxxmQ32GUOrTRWW\n mtrB5LihpatcPDpBoD3SmYwE91Bq6pQnextr1XFERsS+oP5YlZAtAmh3n2wDa0t2mKN1\n mtiH7IK0bCbQCTpGBIROXD+q6cSud8nxpcAbyLBG3fnsVKOmKRhjrr8Sy/1LOhDmCeRh\n A4+WpIFFp3LkSVOXlHDu5cn4GHYgHRw4JFhoepC78J/2QEMYtItRkNXh8jM/bGpsnkoO\n 7DCLv6/qlF7BSuMzsx4ojxi3xtSTXS+6bARYIxh8oSnaqvt09LWU3SkT2q6IU/aBJ7ma +g==", "From": "Akhil Goyal <gakhil@marvell.com>", "To": "<dev@dpdk.org>", "CC": "<thomas@monjalon.net>, <david.marchand@redhat.com>,\n <hemant.agrawal@nxp.com>, <anoobj@marvell.com>,\n <pablo.de.lara.guarch@intel.com>, <fiona.trahe@intel.com>,\n <declan.doherty@intel.com>, <matan@nvidia.com>, <g.singh@nxp.com>,\n <roy.fan.zhang@intel.com>, <jianjay.zhou@huawei.com>,\n <asomalap@amd.com>, <ruifeng.wang@arm.com>,\n Akhil Goyal <gakhil@marvell.com>", "Date": "Sat, 31 Jul 2021 23:43:27 +0530", "Message-ID": "<20210731181327.660296-5-gakhil@marvell.com>", "X-Mailer": "git-send-email 2.25.1", "In-Reply-To": "<20210731181327.660296-1-gakhil@marvell.com>", "References": "<20210731181327.660296-1-gakhil@marvell.com>", "MIME-Version": "1.0", "Content-Transfer-Encoding": "8bit", "Content-Type": "text/plain", "X-Proofpoint-ORIG-GUID": "20mVWSaP5IcPwmePlOzZhC341k-_y4QC", "X-Proofpoint-GUID": "20mVWSaP5IcPwmePlOzZhC341k-_y4QC", "X-Proofpoint-Virus-Version": "vendor=fsecure engine=2.50.10434:6.0.391, 18.0.790\n definitions=2021-07-31_05:2021-07-30,\n 2021-07-31 signatures=0", "Subject": "[dpdk-dev] [PATCH 4/4] security: add reserved bitfields", "X-BeenThere": "dev@dpdk.org", "X-Mailman-Version": "2.1.29", "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": "In struct rte_security_ipsec_sa_options, for every new option\nadded, there is an ABI breakage, to avoid, a reserved_opts\nbitfield is added to for the remaining bits available in the\nstructure.\nNow for every new sa option, these reserved_opts can be reduced\nand new option can be added. A corresponding exception is also\nadded in devtools/libabigail.abignore\n\nSigned-off-by: Akhil Goyal <gakhil@marvell.com>\n---\n devtools/libabigail.abignore | 4 ++++\n lib/security/rte_security.h | 6 ++++++\n 2 files changed, 10 insertions(+)", "diff": "diff --git a/devtools/libabigail.abignore b/devtools/libabigail.abignore\nindex 93158405e0..5d8da28e55 100644\n--- a/devtools/libabigail.abignore\n+++ b/devtools/libabigail.abignore\n@@ -52,3 +52,7 @@\n ; https://sourceware.org/bugzilla/show_bug.cgi?id=28060\n [suppress_type]\n \tname = rte_eth_dev_data\n+\n+; Ignore changes in reserved_opts bitfield of rte_security_ipsec_sa_options\n+[suppress_variable]\n+\tname = reserved_opts\ndiff --git a/lib/security/rte_security.h b/lib/security/rte_security.h\nindex 88d31de0a6..4606425e8d 100644\n--- a/lib/security/rte_security.h\n+++ b/lib/security/rte_security.h\n@@ -181,6 +181,12 @@ struct rte_security_ipsec_sa_options {\n \t * * 0: Disable per session security statistics collection for this SA.\n \t */\n \tuint32_t stats : 1;\n+\n+\t/** Reserved bit fields for future extension\n+\t *\n+\t * Note: reduce number of bits in reserved_opts for every new option\n+\t */\n+\tuint32_t reserved_opts : 24;\n };\n \n /** IPSec security association direction */\n", "prefixes": [ "4/4" ] }{ "id": 96499, "url": "