Message ID | 20200911083520.24020-8-sachin.saxena@oss.nxp.com (mailing list archive) |
---|---|
State | Superseded, archived |
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]) by inbox.dpdk.org (Postfix) with ESMTP id D09D4A04B5; Fri, 11 Sep 2020 10:36:46 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id B95B01C137; Fri, 11 Sep 2020 10:35:49 +0200 (CEST) Received: from EUR04-HE1-obe.outbound.protection.outlook.com (mail-eopbgr70047.outbound.protection.outlook.com [40.107.7.47]) by dpdk.org (Postfix) with ESMTP id BA7591C135 for <dev@dpdk.org>; Fri, 11 Sep 2020 10:35:47 +0200 (CEST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=B4fJWa4nVdXslXnTVf2dd24NeBDNs+Zwc4xjAXpC8zK77VGPljjMiFI8RNwnM2GJP0TIKqzv8mCvJYRafTV0cfefuyBudlhRxQyVZ9h0eTY1vZwTkql031L7CPzScNWKsY/m2taJEQH++DoOtjv+ENO2dWQ1+7qryQ2BXx9qPeFmvYqTWBFTcsTgWjXEaoq0Q40xE6RuUjcg7b5MGIKBZ/vN6bOajdkv4TSglV/gbJupH1nqkd3LC6ZDtW1ANYbRTCZvfGr1TOECNP2BJlJ+z+UbuUozYZosoE8PG/gllOBi9J5wo7QUG0/5dcANWUeMG7j8EKrAxuGilSrkScYtBg== 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=PJtp4snJ9pZKlKkfwYoB7dWCnuo+fh5WPlCHcBK9sq59omgf8h7+6fHj3EGFIq+5hE7wCSLUVPC8J1zYmr5Xc958IBhzzSC0MaKe/sks80srAC75ot6aXuMhXnquKQaUvexHXHh8v3I6MyR/R0Vt6b3f+Eya8c7OMdXST+n59D3izyeMkWVVvVg9BHJ6Ml1SSBArTlgi8ymAOAYZwTloG6nQB7oZNpsK748oU8mGfsFSyt+SXubPcvz60t23loH5MVe67qeojH/4vEF33eZGMIJg59CRzGLLWPpyfBBR6y0EeE1/2v1pFK3kDLtUL7U6qxlJHH+F0hX4a0ampMfujQ== 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=h+ae4/XUGStWAW+4RXe1WsFODMItThSiAwQPSnk79OTjft1N5eleAQ8WklX+AH70xrA9meLcY9WE+C1FsQEic8gx5y2Zn+N1meWbNiCDYu84y7/bDfXehJIy6QTDNAiQhmhN+KnvPtv816aecq8Z/MfY9ns4HHA7mT/ztwQtB7o= 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 VI1PR04MB6973.eurprd04.prod.outlook.com (2603:10a6:803:13d::9) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3370.16; Fri, 11 Sep 2020 08:35:46 +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 08:35:46 +0000 From: "Sachin Saxena (OSS)" <sachin.saxena@oss.nxp.com> To: dev@dpdk.org, ferruh.yigit@intel.com Date: Fri, 11 Sep 2020 14:05:19 +0530 Message-Id: <20200911083520.24020-8-sachin.saxena@oss.nxp.com> X-Mailer: git-send-email 2.28.0 In-Reply-To: <20200911083520.24020-1-sachin.saxena@oss.nxp.com> References: <20200911083520.24020-1-sachin.saxena@oss.nxp.com> Content-Transfer-Encoding: 8bit Content-Type: text/plain X-ClientProxiedBy: SG2PR04CA0178.apcprd04.prod.outlook.com (2603:1096:4:14::16) 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 SG2PR04CA0178.apcprd04.prod.outlook.com (2603:1096:4:14::16) 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 08:35:45 +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: 6d57df49-58eb-4389-018f-08d8562dadca X-MS-TrafficTypeDiagnostic: VI1PR04MB6973: X-MS-Exchange-SharedMailbox-RoutingAgent-Processed: True X-MS-Exchange-Transport-Forked: True X-Microsoft-Antispam-PRVS: <VI1PR04MB6973073BC092E6FD6A71271EA2240@VI1PR04MB6973.eurprd04.prod.outlook.com> X-MS-Oob-TLC-OOBClassifiers: OLM:177; X-MS-Exchange-SenderADCheck: 1 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: 0RvF6/Mt83GJh3s79oBGC6goK5nb7SD7JTFcUpwzdCigo1BY/swljTPN3QuiLhmRSvSlqvcFq52WjOag6HfoqDD1GV3HTH19666Z/bHge13pnrV9/hUU/mzoBYqectJ3YWR9CGrULgDdw6Gq9/67PkTHAZvp3bXarJ2cWgRkL6KMz65SszDnn0TaZFwajEZNoHmPm8YE0ySRtbuAH2DaDD4o/bfs+8NVsgeZbLViIy/z9411Tz9TxNmtrt/SyqnhhD76FwiBSHdRlDm6GtxhRWoaBvZgKXmFn7TO/6Q5DGN9JqKXwwk+WMVkEAFCL0iKGf4X873hQqlwr8K1rKiRLGcPwU237n+Psq/S0fYry48kAaOH7Ib/wBriPIfPQOUx 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)(346002)(376002)(136003)(396003)(39860400002)(366004)(52116002)(86362001)(1076003)(66556008)(66946007)(2906002)(66476007)(8936002)(5660300002)(316002)(8676002)(2616005)(956004)(6512007)(16526019)(186003)(6486002)(1006002)(6666004)(26005)(6506007)(478600001)(55236004)(110426005); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData: XcEmAtD1+DX/mCBkU2eDofhuImnZYSgiFGdJfQivGfneNYiXEO+JUjwyFGRy49EbrifpHuGl4UqycDB4HVbvoe3I9YG6KdclLp4dYyw0vTF6Bvw45LbEsgLDkRE+6vNj2NIAHQrPL0ZbkEBZ+n1FEqRPYEP+8ZwzXfbysgNWtANq3E8CPDqjhL13jbY/1A+hb/pnVM/kTI+Is5RSn6n4j74SRqVjZcFmRSuX1MyMvng9EOeEmTKf0xD9iAVZcZ8+b8Sbd2p9lrAgPaIiJ5SsXKldlvuWxfJTW0W8n797DXw5UncglXP266GNgHdl+oceO4wmX/EMrcf7rs556eyxQzUnPqfmFzwQF+O2zxj7FxbNUbbkFjzmLJZ7+AerpiggaCYs2PuYUfSis++vRquZuQRZVHktmsoqRhBrNNlJt7nGSCg60IYPFgAPnaJYA2NINEW6Z8W/+JcIHIrGG7Tjw/7GT497Xg2BDvs+ePNq62XDcSCCW3ML03POIPJXcrBa4AfGIKqUj9NlmRBFmEc7785hHLxkTY3ZuBjxGJlCKDgT+9bz3ZvPzFeyGJh5WkqGtHVXM4Jp0/d0swL4nhACvHUPG8INJ4JoM4c2IHRU0Nu6MbC3DbKeiCmNJmJQ7mSuBzA7KBWSVcKMSXFOZd4sgw== X-OriginatorOrg: oss.nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 6d57df49-58eb-4389-018f-08d8562dadca X-MS-Exchange-CrossTenant-AuthSource: VI1PR04MB5837.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 11 Sep 2020 08:35:46.7636 (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: xKR6ppQRbvZX0fw6/ADrRLddOGsBiUo8el7PIN+DosYcPJ3O7tf8wfDMUSYX+CghP1BZJE1p5gCgdlZ65S7RKA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR04MB6973 Subject: [dpdk-dev] [PATCH v2 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 <dev.dpdk.org> List-Unsubscribe: <https://mails.dpdk.org/options/dev>, <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>, <mailto:dev-request@dpdk.org?subject=subscribe> Errors-To: dev-bounces@dpdk.org Sender: "dev" <dev-bounces@dpdk.org> |
Series |
enhancement and fixes for nxp dpaax platform
|
|
Checks
Context | Check | Description |
---|---|---|
ci/checkpatch | success | coding style OK |
Commit Message
Sachin Saxena (OSS)
Sept. 11, 2020, 8:35 a.m. UTC
From: Nipun Gupta <nipun.gupta@nxp.com> Api fman_if_set_err_fqid should be marked as internal. Signed-off-by: Sachin Saxena <sachin.saxena@oss.nxp.com> Signed-off-by: Rohit Raj <rohit.raj@nxp.com> Signed-off-by: Nipun Gupta <nipun.gupta@nxp.com> --- drivers/bus/dpaa/include/fsl_fman.h | 1 + drivers/bus/dpaa/rte_bus_dpaa_version.map | 1 + 2 files changed, 2 insertions(+)
Comments
This should be squashed with patch 4/8 > -----Original Message----- > From: Sachin Saxena (OSS) <sachin.saxena@oss.nxp.com> > Sent: Friday, September 11, 2020 2:05 PM > To: dev@dpdk.org; ferruh.yigit@intel.com > Subject: [PATCH v2 7/8] bus/dpaa: send error packets to application > > From: Nipun Gupta <nipun.gupta@nxp.com> > > Api fman_if_set_err_fqid should be marked as internal. > > Signed-off-by: Sachin Saxena <sachin.saxena@oss.nxp.com> > Signed-off-by: Rohit Raj <rohit.raj@nxp.com> > Signed-off-by: Nipun Gupta <nipun.gupta@nxp.com> > --- > 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; > -- > 2.28.0
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;