From patchwork Fri Sep 11 07:59:10 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Sachin Saxena (OSS)" X-Patchwork-Id: 77351 Return-Path: X-Original-To: patchwork@inbox.dpdk.org Delivered-To: patchwork@inbox.dpdk.org Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id D897DA04B5; Fri, 11 Sep 2020 10:00:38 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 841331C12C; Fri, 11 Sep 2020 09:59:42 +0200 (CEST) Received: from EUR02-HE1-obe.outbound.protection.outlook.com (mail-eopbgr10088.outbound.protection.outlook.com [40.107.1.88]) by dpdk.org (Postfix) with ESMTP id BA2E11C124 for ; Fri, 11 Sep 2020 09:59:39 +0200 (CEST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=mLYKzqfbwJSeIFYlULdA3iJSVHkalGIfk6Ocq8D+u80ZykKQBwpu1gYe3yogxKvGk+0cWtB4hiVgn4xahwYu1W3ylcFj0kijoILqv6YvG2hGNCKOtby2Oc6mkkaTjjT0wGqh1+o6ScglrlSdmRBMgtVWAyXJw+JSVNB35DPuDk0nKn4LrMRz0ImV4rgd6r8c5ACpf88FKsHD0M0TBHkiBZMa8FeXTQRUSiJdY6n/l1NptNGUfqgGRo2JsIHmKTeOczp3cNb0uvNEJp0wVVwO0Y6gneCdWHXsvBBK5qXccXeVXiyUyvCB3gMgTr7cmKronB1IBEffZWKiegeLFBMtRw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=R9CGSrq5elqkPQTIFQDIfWYtSecPt0y1nFtEv+2NvTE=; b=bITGqQDtD+OpVJgUHs+uG5Ius02aPJqUOPCyaXKUzcBdXRK0M83F0zS4+WpK6ux/Js610X4S4GOs4FzQl/YpKn60s1TMX85QudnPVWA6yHyeA0KPcjU4NCGV3Rxu2ZbUdTn2vrzd1agpBoLJLR60qMxfakKUBLiwMSaC7//EjXfibPLutxf4ie3j26XNTvy4aaaojZyBG5XpIEfKmu1h8+Dhr9yAxB4BUhU3uqLRQA4akn9hA6ne8eTQzIlcaOgnEShGt99UbuzZytq5tYkBtXq3UE64Fw6E0+BUaaqYy+56DfCUlpiF3yD3BybNamnYqOUlpi+P20MODgz0DNsqpQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=oss.nxp.com; dmarc=pass action=none header.from=oss.nxp.com; dkim=pass header.d=oss.nxp.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=NXP1.onmicrosoft.com; s=selector2-NXP1-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=R9CGSrq5elqkPQTIFQDIfWYtSecPt0y1nFtEv+2NvTE=; b=P4xr2m9IHYi3FS+c+OE/k7sNxzpaFLQRO+e9N1S4G29WXzZh0iwcND1qv+Yr1om25gHpfN+HLgLGeJbHd+TMxkaRiUj48sq0ZlhL+hvWLc0DLTjI4lzCdjthPRn2lpx993f5T89v+w1HTW+grLzYyK3mNegKV5zSL3oZ6I81Xe4= Authentication-Results: dpdk.org; dkim=none (message not signed) header.d=none;dpdk.org; dmarc=none action=none header.from=oss.nxp.com; Received: from VI1PR04MB5837.eurprd04.prod.outlook.com (2603:10a6:803:ec::28) by VI1PR04MB6094.eurprd04.prod.outlook.com (2603:10a6:803:f4::16) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3370.17; Fri, 11 Sep 2020 07:59:38 +0000 Received: from VI1PR04MB5837.eurprd04.prod.outlook.com ([fe80::cc01:9fe2:2544:8a4b]) by VI1PR04MB5837.eurprd04.prod.outlook.com ([fe80::cc01:9fe2:2544:8a4b%7]) with mapi id 15.20.3348.019; Fri, 11 Sep 2020 07:59:38 +0000 From: "Sachin Saxena (OSS)" To: dev@dpdk.org, ferruh.yigit@intel.com Date: Fri, 11 Sep 2020 13:29:10 +0530 Message-Id: <20200911075911.3214-8-sachin.saxena@oss.nxp.com> X-Mailer: git-send-email 2.28.0 In-Reply-To: <20200911075911.3214-1-sachin.saxena@oss.nxp.com> References: <20200911075911.3214-1-sachin.saxena@oss.nxp.com> X-ClientProxiedBy: SG2PR06CA0136.apcprd06.prod.outlook.com (2603:1096:1:1f::14) To VI1PR04MB5837.eurprd04.prod.outlook.com (2603:10a6:803:ec::28) MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 Received: from lsv03161.swis.in-blr01.nxp.com (14.142.151.118) by SG2PR06CA0136.apcprd06.prod.outlook.com (2603:1096:1:1f::14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256) id 15.20.3370.16 via Frontend Transport; Fri, 11 Sep 2020 07:59:36 +0000 X-Mailer: git-send-email 2.28.0 X-Originating-IP: [14.142.151.118] X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-HT: Tenant X-MS-Office365-Filtering-Correlation-Id: e85c7b46-bbb2-4865-16cd-08d85628a13e X-MS-TrafficTypeDiagnostic: VI1PR04MB6094: X-MS-Exchange-SharedMailbox-RoutingAgent-Processed: True X-MS-Exchange-Transport-Forked: True X-Microsoft-Antispam-PRVS: X-MS-Oob-TLC-OOBClassifiers: OLM:177; X-MS-Exchange-SenderADCheck: 1 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: gUHE7GfpB49n02xUdrgq4+P1+QKEtBqqhH/REmDyug4/B90+cmv005m2Z7j+UgceH3FJoSdGonFUfMP87QgJEpijRrl0gdffYEieuKS6FnIAMD0jFIpvTpPEimhHrQp7ZBLgkLTnjk1Uly9qZO0qr4jr1taeCA45COCBMrotCW9mCk0f1PsphIkK4qSG4HAItBxOGyxYLf4R2TQdeLqjSwByiIxKP5PwDjZOOQhMzzZKxK5MwBGKqO17IdxdLIjaTVpUhoi+qwg262yvCcR2HwokW/AD+5zgcpSiy6kTdJ1bEZDODRyE/3u/2uPTBb9JAHszHjKScKjqSZR+lUSm0s784rFvE9vvFWGxki+4qNxdN6YbDQ7Zmp0S4+m8YnKq X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:VI1PR04MB5837.eurprd04.prod.outlook.com; PTR:; CAT:NONE; SFS:(4636009)(376002)(136003)(39860400002)(346002)(396003)(366004)(478600001)(52116002)(2616005)(55236004)(86362001)(6486002)(6506007)(8676002)(316002)(16526019)(8936002)(26005)(186003)(6512007)(2906002)(956004)(5660300002)(66556008)(66476007)(1076003)(66946007)(6666004)(1006002)(110426005); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData: 6lVOxplShDkOSvwDsZhooQ3uahWitiueu/Z3yeubsoZPdwzASIPytvJpNiP4N+E0GH71+bB94ob70OTfbTp/5HADDChIv2D3T/Le+SPN2Z85M0yoGLgH10HUVn6I7ZRC3Z9EAM8LKBbwCdX+BcYua2y6hO00B1V646AP4PilB+lYn6yc7Xn60DjTcqHfVjwq7SBhP87aIni4vim3yd/4c/RsgqQsAcF0HMUzTRfnJJ1Q2R7YBRJRUD49yn0AyaF8bjDVrRgnV3Xv2c3C6TdYJ2bVTKo1MPm/13EvEKqsgd5jQ7mY/vqSuZ8aGadSPY4iLOvvPfxS7R4J8SBSFA5TNO496FPtk27ZKvygbjxI/WKsFYAQ6sfvjnl1GFrXnsPO4cRmsOZ+1d4foNASC/WhVIGXLzC2N1w3URGBixfpM8p9+ZBbrB7Xt7ZGkpnc7Wj5nq5jfU/H+7RoRt/zXRYMuRzA97WFOX68YRJ1SatPuGdpE1RSoNFYThHljvfRwGe2fcCeBQaLF2Us2gK5uR3uj2StwtQElxJFRSw8Y2wOzDOy1QWq3iaZW945tFfS1s2zu1q0luw0UYiUxyuMBEy/fXKxSVXQLPkbW9ZqdFFBeRg1N4Y7Vg58uCbEMr1N26k6bOGdxjRVYJ7ExYpVJzprtg== X-OriginatorOrg: oss.nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: e85c7b46-bbb2-4865-16cd-08d85628a13e X-MS-Exchange-CrossTenant-AuthSource: VI1PR04MB5837.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 11 Sep 2020 07:59:38.2473 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635 X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: KXSbsznHYKCXKCmYdC7YIwD/mpIU4PB4BjJdxaRU+8p55+5+qhRq93R8xGHdYzxAqKvwAlLzNTKhGZLcrrdQEQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR04MB6094 Subject: [dpdk-dev] [PATCH v1 7/8] bus/dpaa: send error packets to application X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" From: Nipun Gupta Api fman_if_set_err_fqid should be marked as internal. Signed-off-by: Sachin Saxena Signed-off-by: Rohit Raj Signed-off-by: Nipun Gupta --- drivers/bus/dpaa/include/fsl_fman.h | 1 + drivers/bus/dpaa/rte_bus_dpaa_version.map | 1 + 2 files changed, 2 insertions(+) diff --git a/drivers/bus/dpaa/include/fsl_fman.h b/drivers/bus/dpaa/include/fsl_fman.h index 3b759c365..a3cf77f0e 100644 --- a/drivers/bus/dpaa/include/fsl_fman.h +++ b/drivers/bus/dpaa/include/fsl_fman.h @@ -111,6 +111,7 @@ __rte_internal int fman_if_set_fc_quanta(struct fman_if *fm_if, u16 pause_quanta); /* Set default error fqid on specific interface */ +__rte_internal void fman_if_set_err_fqid(struct fman_if *fm_if, uint32_t err_fqid); /* Get IC transfer params */ diff --git a/drivers/bus/dpaa/rte_bus_dpaa_version.map b/drivers/bus/dpaa/rte_bus_dpaa_version.map index 26436e9fe..9bd260121 100644 --- a/drivers/bus/dpaa/rte_bus_dpaa_version.map +++ b/drivers/bus/dpaa/rte_bus_dpaa_version.map @@ -36,6 +36,7 @@ INTERNAL { fman_if_promiscuous_enable; fman_if_reset_mcast_filter_table; fman_if_set_bp; + fman_if_set_err_fqid; fman_if_set_fc_quanta; fman_if_set_fc_threshold; fman_if_set_fdoff;