Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/96292/?format=api
http://patchwork.dpdk.org/api/patches/96292/?format=api", "web_url": "http://patchwork.dpdk.org/project/dpdk/patch/20210726135815.81201-5-tduszynski@marvell.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": "<20210726135815.81201-5-tduszynski@marvell.com>", "list_archive_url": "https://inbox.dpdk.org/dev/20210726135815.81201-5-tduszynski@marvell.com", "date": "2021-07-26T13:58:13", "name": "[4/6] common/cnxk: reduce function visibility", "commit_ref": null, "pull_url": null, "state": "accepted", "archived": true, "hash": "398366ae0fcdc466a8f8d0710733488639b3e49a", "submitter": { "id": 2215, "url": "http://patchwork.dpdk.org/api/people/2215/?format=api", "name": "Tomasz Duszynski", "email": "tduszynski@marvell.com" }, "delegate": { "id": 310, "url": "http://patchwork.dpdk.org/api/users/310/?format=api", "username": "jerin", "first_name": "Jerin", "last_name": "Jacob", "email": "jerinj@marvell.com" }, "mbox": "http://patchwork.dpdk.org/project/dpdk/patch/20210726135815.81201-5-tduszynski@marvell.com/mbox/", "series": [ { "id": 17995, "url": "http://patchwork.dpdk.org/api/series/17995/?format=api", "web_url": "http://patchwork.dpdk.org/project/dpdk/list/?series=17995", "date": "2021-07-26T13:58:09", "name": "common/cnxk: sync with local codebase", "version": 1, "mbox": "http://patchwork.dpdk.org/series/17995/mbox/" } ], "comments": "http://patchwork.dpdk.org/api/patches/96292/comments/", "check": "success", "checks": "http://patchwork.dpdk.org/api/patches/96292/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 607ADA0C47;\n\tMon, 26 Jul 2021 15:59:09 +0200 (CEST)", "from [217.70.189.124] (localhost [127.0.0.1])\n\tby mails.dpdk.org (Postfix) with ESMTP id DEBD5410EE;\n\tMon, 26 Jul 2021 15:58:55 +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 1D6D1410F6\n for <dev@dpdk.org>; Mon, 26 Jul 2021 15:58:54 +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 16QDuH1m006314; Mon, 26 Jul 2021 06:58:51 -0700", "from dc5-exch01.marvell.com ([199.233.59.181])\n by mx0b-0016f401.pphosted.com with ESMTP id 3a1m961ura-1\n (version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA384 bits=256 verify=NOT);\n Mon, 26 Jul 2021 06:58:51 -0700", "from DC5-EXCH02.marvell.com (10.69.176.39) by DC5-EXCH01.marvell.com\n (10.69.176.38) with Microsoft SMTP Server (TLS) id 15.0.1497.18;\n Mon, 26 Jul 2021 06:58:49 -0700", "from maili.marvell.com (10.69.176.80) by DC5-EXCH02.marvell.com\n (10.69.176.39) with Microsoft SMTP Server id 15.0.1497.18 via Frontend\n Transport; Mon, 26 Jul 2021 06:58:49 -0700", "from localhost.localdomain (unknown [10.28.34.39])\n by maili.marvell.com (Postfix) with ESMTP id 218813F7057;\n Mon, 26 Jul 2021 06:58:46 -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=+C8IInlZIH8FbCUNP5yguvrjrUTpNrrF8siicNNqgIs=;\n b=VXUIvx1cLG9VePeOpDkS4kDSHipSw5YF31Hq/ObvOMXAOelxxC4TQxvvNuITMjKlXWVl\n Or7dCtOnptYZEVOaUfq695uHDS1iPw31tseG9phhUdBPH4qQIqWiYl9xK8NLM1qV5iUn\n tPwAhYR32kquxUR0HyzCHwHOBbqutPTtCWFHfftXcvRR6DCIWPO3eE9OKjrEVxQZM83f\n HtrsxElT3f8+u5HkBLwbMC7zkY3x/B09FVwTeW4pfXjfqX9BO2PvM71TvLVmQSqx42mC\n oe3VngU3vOszbVwoXRwfIqbrOJlIif+cX8ZyDV+IaeuqrBs5oEsh54EZ+Bwr6Q2sgPHh ng==", "From": "Tomasz Duszynski <tduszynski@marvell.com>", "To": "<dev@dpdk.org>, Nithin Dabilpuram <ndabilpuram@marvell.com>, Kiran Kumar K\n <kirankumark@marvell.com>, Sunil Kumar Kori <skori@marvell.com>, Satha Rao\n <skoteshwar@marvell.com>, Ray Kinsella <mdr@ashroe.eu>", "CC": "<thomas@monjalon.net>, <jerinj@marvell.com>, Jakub Palider\n <jpalider@marvell.com>", "Date": "Mon, 26 Jul 2021 08:58:13 -0500", "Message-ID": "<20210726135815.81201-5-tduszynski@marvell.com>", "X-Mailer": "git-send-email 2.25.1", "In-Reply-To": "<20210726135815.81201-1-tduszynski@marvell.com>", "References": "<20210726135815.81201-1-tduszynski@marvell.com>", "MIME-Version": "1.0", "Content-Transfer-Encoding": "8bit", "Content-Type": "text/plain", "X-Proofpoint-ORIG-GUID": "LI4dVkuKJWKogk8FxGXLQqkZgsFBgpXB", "X-Proofpoint-GUID": "LI4dVkuKJWKogk8FxGXLQqkZgsFBgpXB", "X-Proofpoint-Virus-Version": "vendor=fsecure engine=2.50.10434:6.0.391, 18.0.790\n definitions=2021-07-26_06:2021-07-26,\n 2021-07-26 signatures=0", "Subject": "[dpdk-dev] [PATCH 4/6] common/cnxk: reduce function visibility", "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": "From: Jakub Palider <jpalider@marvell.com>\n\nSome functions are not used outside of local ROC scope. These need\nupdating classifiers and removal from header.\n\nSigned-off-by: Jakub Palider <jpalider@marvell.com>\n---\n drivers/common/cnxk/roc_bphy_irq.c | 6 +++---\n drivers/common/cnxk/roc_bphy_irq.h | 6 ------\n drivers/common/cnxk/version.map | 3 ---\n 3 files changed, 3 insertions(+), 12 deletions(-)", "diff": "diff --git a/drivers/common/cnxk/roc_bphy_irq.c b/drivers/common/cnxk/roc_bphy_irq.c\nindex 882066ef3f..be3c4054af 100644\n--- a/drivers/common/cnxk/roc_bphy_irq.c\n+++ b/drivers/common/cnxk/roc_bphy_irq.c\n@@ -123,7 +123,7 @@ roc_bphy_intr_fini(struct roc_bphy_irq_chip *irq_chip)\n \tplt_free(irq_chip);\n }\n \n-void\n+static void\n roc_bphy_irq_stack_remove(int cpu)\n {\n \tstruct roc_bphy_irq_stack *curr_stack;\n@@ -153,7 +153,7 @@ roc_bphy_irq_stack_remove(int cpu)\n \tpthread_mutex_unlock(&stacks_mutex);\n }\n \n-void *\n+static void *\n roc_bphy_irq_stack_get(int cpu)\n {\n #define ARM_STACK_ALIGNMENT (2 * sizeof(void *))\n@@ -221,7 +221,7 @@ roc_bphy_intr_handler(unsigned int irq_num)\n \troc_atf_ret();\n }\n \n-int\n+static int\n roc_bphy_irq_handler_set(struct roc_bphy_irq_chip *chip, int irq_num,\n \t\t\t void (*isr)(int irq_num, void *isr_data),\n \t\t\t void *isr_data)\ndiff --git a/drivers/common/cnxk/roc_bphy_irq.h b/drivers/common/cnxk/roc_bphy_irq.h\nindex 19ec5fdc4d..0d1335b201 100644\n--- a/drivers/common/cnxk/roc_bphy_irq.h\n+++ b/drivers/common/cnxk/roc_bphy_irq.h\n@@ -32,13 +32,7 @@ struct roc_bphy_intr {\n \n __roc_api struct roc_bphy_irq_chip *roc_bphy_intr_init(void);\n __roc_api void roc_bphy_intr_fini(struct roc_bphy_irq_chip *irq_chip);\n-__roc_api void roc_bphy_irq_stack_remove(int cpu);\n-__roc_api void *roc_bphy_irq_stack_get(int cpu);\n __roc_api void roc_bphy_intr_handler(unsigned int irq_num);\n-__roc_api int\n-roc_bphy_irq_handler_set(struct roc_bphy_irq_chip *chip, int irq_num,\n-\t\t\t void (*handler)(int irq_num, void *isr_data),\n-\t\t\t void *isr_data);\n __roc_api bool roc_bphy_intr_available(struct roc_bphy_irq_chip *irq_chip,\n \t\t\t\t int irq_num);\n __roc_api int roc_bphy_handler_clear(struct roc_bphy_irq_chip *chip,\ndiff --git a/drivers/common/cnxk/version.map b/drivers/common/cnxk/version.map\nindex 2cbcc4b93a..7dfc6d8a27 100644\n--- a/drivers/common/cnxk/version.map\n+++ b/drivers/common/cnxk/version.map\n@@ -43,9 +43,6 @@ INTERNAL {\n \troc_bphy_intr_handler;\n \troc_bphy_intr_init;\n \troc_bphy_intr_register;\n-\troc_bphy_irq_handler_set;\n-\troc_bphy_irq_stack_get;\n-\troc_bphy_irq_stack_remove;\n \troc_clk_freq_get;\n \troc_cpt_afs_print;\n \troc_cpt_dev_clear;\n", "prefixes": [ "4/6" ] }{ "id": 96292, "url": "