Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/130246/?format=api
http://patches.dpdk.org/api/patches/130246/?format=api", "web_url": "http://patches.dpdk.org/project/dpdk/patch/1691792567-10805-32-git-send-email-roretzla@linux.microsoft.com/", "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": "<1691792567-10805-32-git-send-email-roretzla@linux.microsoft.com>", "list_archive_url": "https://inbox.dpdk.org/dev/1691792567-10805-32-git-send-email-roretzla@linux.microsoft.com", "date": "2023-08-11T22:22:46", "name": "[31/32] common/cnxk: remove use of RTE STD C11 macro", "commit_ref": null, "pull_url": null, "state": "accepted", "archived": true, "hash": "e5f867ac4e39a48aa70494af0864baa905d8fadf", "submitter": { "id": 2077, "url": "http://patches.dpdk.org/api/people/2077/?format=api", "name": "Tyler Retzlaff", "email": "roretzla@linux.microsoft.com" }, "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/1691792567-10805-32-git-send-email-roretzla@linux.microsoft.com/mbox/", "series": [ { "id": 29201, "url": "http://patches.dpdk.org/api/series/29201/?format=api", "web_url": "http://patches.dpdk.org/project/dpdk/list/?series=29201", "date": "2023-08-11T22:22:17", "name": "Remove use and definition of RTE_STD_C11 macro", "version": 1, "mbox": "http://patches.dpdk.org/series/29201/mbox/" } ], "comments": "http://patches.dpdk.org/api/patches/130246/comments/", "check": "success", "checks": "http://patches.dpdk.org/api/patches/130246/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 4F2D643038;\n\tSat, 12 Aug 2023 00:26:00 +0200 (CEST)", "from mails.dpdk.org (localhost [127.0.0.1])\n\tby mails.dpdk.org (Postfix) with ESMTP id 269FD432E5;\n\tSat, 12 Aug 2023 00:23:40 +0200 (CEST)", "from linux.microsoft.com (linux.microsoft.com [13.77.154.182])\n by mails.dpdk.org (Postfix) with ESMTP id 4211D43254\n for <dev@dpdk.org>; Sat, 12 Aug 2023 00:23:05 +0200 (CEST)", "by linux.microsoft.com (Postfix, from userid 1086)\n id 19CD820FD42E; Fri, 11 Aug 2023 15:23:03 -0700 (PDT)" ], "DKIM-Filter": "OpenDKIM Filter v2.11.0 linux.microsoft.com 19CD820FD42E", "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux.microsoft.com;\n s=default; t=1691792584;\n bh=L3Z1+oveHbFlqZ4ggudmXoYeDqVC2xPMfpRtGvI/Qmc=;\n h=From:To:Cc:Subject:Date:In-Reply-To:References:From;\n b=U7tf0vrSLJy5zlu5ZQ6ZQ7GFLt+4GJbiK72BxDuDsRRDc78Jfold8QnClZtIHXNtN\n Ft9vKZQaKvJPKEXRxf8Dqr2jEfYJltI2nBOHjw44VLawreN3eWTnpjOCnpViSZ6pqG\n a4zApdFyc6VSm19lFA6PTaRTbE1HgAON6IZocx2U=", "From": "Tyler Retzlaff <roretzla@linux.microsoft.com>", "To": "dev@dpdk.org", "Cc": "Akhil Goyal <gakhil@marvell.com>,\n Anatoly Burakov <anatoly.burakov@intel.com>,\n Andrew Rybchenko <andrew.rybchenko@oktetlabs.ru>,\n Bruce Richardson <bruce.richardson@intel.com>,\n Chengwen Feng <fengchengwen@huawei.com>,\n Cristian Dumitrescu <cristian.dumitrescu@intel.com>,\n David Hunt <david.hunt@intel.com>,\n Erik Gabriel Carrillo <erik.g.carrillo@intel.com>,\n Fan Zhang <fanzhang.oss@gmail.com>, Ferruh Yigit <ferruh.yigit@amd.com>,\n Harman Kalra <hkalra@marvell.com>, Hemant Agrawal <hemant.agrawal@nxp.com>,\n Honnappa Nagarahalli <honnappa.nagarahalli@arm.com>,\n Jerin Jacob <jerinj@marvell.com>, Junfeng Guo <junfeng.guo@intel.com>,\n Kevin Laatz <kevin.laatz@intel.com>,\n Kiran Kumar K <kirankumark@marvell.com>,\n Konstantin Ananyev <konstantin.v.ananyev@yandex.ru>,\n Matan Azrad <matan@nvidia.com>, Matt Peters <matt.peters@windriver.com>,\n Naga Harish K S V <s.v.naga.harish.k@intel.com>,\n Nithin Dabilpuram <ndabilpuram@marvell.com>,\n Olivier Matz <olivier.matz@6wind.com>, Ori Kam <orika@nvidia.com>,\n Radu Nicolau <radu.nicolau@intel.com>,\n Sachin Saxena <sachin.saxena@nxp.com>,\n Sameh Gobriel <sameh.gobriel@intel.com>,\n Satha Rao <skoteshwar@marvell.com>, Simei Su <simei.su@intel.com>,\n Srikanth Yalavarthi <syalavarthi@marvell.com>,\n Steven Webster <steven.webster@windriver.com>,\n Suanming Mou <suanmingm@nvidia.com>, Sunil Kumar Kori <skori@marvell.com>,\n Thomas Monjalon <thomas@monjalon.net>,\n Viacheslav Ovsiienko <viacheslavo@nvidia.com>,\n Vladimir Medvedkin <vladimir.medvedkin@intel.com>,\n Yipeng Wang <yipeng1.wang@intel.com>, Zhirun Yan <zhirun.yan@intel.com>,\n Tyler Retzlaff <roretzla@linux.microsoft.com>", "Subject": "[PATCH 31/32] common/cnxk: remove use of RTE STD C11 macro", "Date": "Fri, 11 Aug 2023 15:22:46 -0700", "Message-Id": "<1691792567-10805-32-git-send-email-roretzla@linux.microsoft.com>", "X-Mailer": "git-send-email 1.8.3.1", "In-Reply-To": "<1691792567-10805-1-git-send-email-roretzla@linux.microsoft.com>", "References": "<1691792567-10805-1-git-send-email-roretzla@linux.microsoft.com>", "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" }, "content": "C11 conformant compiler is documented as a minimum requirement to build\nand consume DPDK. Remove use of RTE_STD_C11 macro marking use of C11\nfeatures with __extension__ since it is no longer necessary.\n\nSigned-off-by: Tyler Retzlaff <roretzla@linux.microsoft.com>\n---\n drivers/common/cnxk/hw/nix.h | 7 -------\n drivers/common/cnxk/roc_nix.h | 1 -\n drivers/common/cnxk/roc_npc.h | 3 ---\n drivers/common/cnxk/roc_platform.h | 1 -\n 4 files changed, 12 deletions(-)", "diff": "diff --git a/drivers/common/cnxk/hw/nix.h b/drivers/common/cnxk/hw/nix.h\nindex 26dcda6..319fe36 100644\n--- a/drivers/common/cnxk/hw/nix.h\n+++ b/drivers/common/cnxk/hw/nix.h\n@@ -1622,7 +1622,6 @@ struct nix_send_crc_s {\n };\n \n /* NIX send extended header sub descriptor structure */\n-PLT_STD_C11\n union nix_send_ext_w0_u {\n \tuint64_t u;\n \tstruct {\n@@ -1642,7 +1641,6 @@ struct nix_send_crc_s {\n \t};\n };\n \n-PLT_STD_C11\n union nix_send_ext_w1_u {\n \tuint64_t u;\n \tstruct {\n@@ -1672,7 +1670,6 @@ struct nix_send_ext_s {\n };\n \n /* NIX send header sub descriptor structure */\n-PLT_STD_C11\n union nix_send_hdr_w0_u {\n \tuint64_t u;\n \tstruct {\n@@ -1686,7 +1683,6 @@ struct nix_send_ext_s {\n \t};\n };\n \n-PLT_STD_C11\n union nix_send_hdr_w1_u {\n \tuint64_t u;\n \tstruct {\n@@ -1728,7 +1724,6 @@ struct nix_send_jump_s {\n };\n \n /* NIX send memory sub descriptor structure */\n-PLT_STD_C11\n union nix_send_mem_w0_u {\n \tuint64_t u;\n \tstruct {\n@@ -1756,7 +1751,6 @@ struct nix_send_mem_s {\n };\n \n /* NIX send scatter/gather sub descriptor structure */\n-PLT_STD_C11\n union nix_send_sg2_s {\n \tuint64_t u;\n \tstruct {\n@@ -1771,7 +1765,6 @@ struct nix_send_mem_s {\n \t};\n };\n \n-PLT_STD_C11\n union nix_send_sg_s {\n \tuint64_t u;\n \tstruct {\ndiff --git a/drivers/common/cnxk/roc_nix.h b/drivers/common/cnxk/roc_nix.h\nindex 9c2ba9a..66f0597 100644\n--- a/drivers/common/cnxk/roc_nix.h\n+++ b/drivers/common/cnxk/roc_nix.h\n@@ -294,7 +294,6 @@ struct roc_nix_stats {\n };\n \n struct roc_nix_stats_queue {\n-\tPLT_STD_C11\n \tunion {\n \t\tstruct {\n \t\t\t/* Rx */\ndiff --git a/drivers/common/cnxk/roc_npc.h b/drivers/common/cnxk/roc_npc.h\nindex 07e6634..48e550a 100644\n--- a/drivers/common/cnxk/roc_npc.h\n+++ b/drivers/common/cnxk/roc_npc.h\n@@ -67,7 +67,6 @@ struct roc_ether_addr {\n \n struct roc_ether_hdr {\n \tstruct roc_ether_addr d_addr; /**< Destination address. */\n-\tPLT_STD_C11\n \tunion {\n \t\tstruct roc_ether_addr s_addr; /**< Source address. */\n \t\tstruct {\n@@ -77,7 +76,6 @@ struct roc_ether_hdr {\n \tuint16_t ether_type; /**< Frame type. */\n } __plt_aligned(2);\n \n-PLT_STD_C11\n struct roc_npc_flow_item_eth {\n \tunion {\n \t\tstruct {\n@@ -101,7 +99,6 @@ struct roc_vlan_hdr {\n \tuint16_t eth_proto; /**< Ethernet type of encapsulated frame. */\n } __plt_packed;\n \n-PLT_STD_C11\n struct roc_npc_flow_item_vlan {\n \tunion {\n \t\tstruct {\ndiff --git a/drivers/common/cnxk/roc_platform.h b/drivers/common/cnxk/roc_platform.h\nindex 9884398..08f83ab 100644\n--- a/drivers/common/cnxk/roc_platform.h\n+++ b/drivers/common/cnxk/roc_platform.h\n@@ -43,7 +43,6 @@\n #define PLT_ASSERT\t\t RTE_ASSERT\n #define PLT_VERIFY\t\t RTE_VERIFY\n #define PLT_MEMZONE_NAMESIZE\t RTE_MEMZONE_NAMESIZE\n-#define PLT_STD_C11\t\t RTE_STD_C11\n #define PLT_PTR_ADD\t\t RTE_PTR_ADD\n #define PLT_PTR_SUB\t\t RTE_PTR_SUB\n #define PLT_PTR_DIFF\t\t RTE_PTR_DIFF\n", "prefixes": [ "31/32" ] }{ "id": 130246, "url": "