Message ID | 1504860327-18451-31-git-send-email-hemant.agrawal@nxp.com |
---|---|
State | Superseded |
Headers | show
Delivered-To: patch@linaro.org Received: by 10.37.128.210 with SMTP id c18csp1249810ybm; Fri, 8 Sep 2017 01:52:42 -0700 (PDT) X-Google-Smtp-Source: AOwi7QBX2uh4FHRsoR1qzcanBX3YC37zOPG/oICjP1nIju4rsu/7NQmlvwQATeZjnzNuOTFI2+xt X-Received: by 10.28.63.131 with SMTP id m125mr1122079wma.19.1504860762560; Fri, 08 Sep 2017 01:52:42 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1504860762; cv=none; d=google.com; s=arc-20160816; b=xnp9qE1KaW+b27MNHHmh1CGlkIY426T5uETut3z7M8U/zH3K5wBi9rj2407HRJythR ESWzsnNWUfkmkI7+sqr+jhgiOGEfwNPaKJ5+LXgTbGUp7bgBntrJIUniN50Cv6aVhfut QvM9Ib5+mx9l8o998psnw0HMrVvwWc5fxoNPfuRqmwd94YWmY3It+RcYxk10t7G3a3VU 60GTb8O/OekL0VcKUv6zMbQpvlRFW/rMX8392tiDQdr5Jvbqs3QTFJ+IxqdsV9cO0Q/6 cIYr9pBhAzF+Id9fCm6ERjYMML0Dn9ryeVLfOHdeybD59SupXDTfoGFCtYD708Lj3RlN jirw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:subject:spamdiagnosticmetadata :spamdiagnosticoutput:mime-version:references:in-reply-to:message-id :date:cc:to:from:arc-authentication-results; bh=Pg5sRcw/34wsDmYtgyTEjL8hEMdb4thhhmKk5hTCmek=; b=0bzPDg0Y8sGy1KtAh7649NMepDCj6NBp68if23smp9sSZfdT+VlRydc4hCJVmXr+YM jcNQCWCUm1eMeWCscF8JKPcCjkDN4il3zjEDXpmLWOlYSCyf+2KNOcSngXUuoEOu5cC7 eDyjJ8TKOCG9TxXrCpPtp2yNRbbxLlPwm6nsShgeSYx162ymL74xaGXtJfvnwf7hvoLW boXpvthAoPmkUAj6vJrWsT2lbz6k4gjW25OrPo28gC4E4vkZdd19n7dQPXFsTeL1EmTD vXlzAzckX1gaogJl5sbg95AFyuULoExjXPW5ZLJSNbNuwf3OBfu3wWDMU/GZDQK27fol bNoA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of dev-bounces@dpdk.org designates 92.243.14.124 as permitted sender) smtp.mailfrom=dev-bounces@dpdk.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=nxp.com Return-Path: <dev-bounces@dpdk.org> Received: from dpdk.org (dpdk.org. [92.243.14.124]) by mx.google.com with ESMTP id v24si1080677wra.381.2017.09.08.01.52.42; Fri, 08 Sep 2017 01:52:42 -0700 (PDT) Received-SPF: pass (google.com: domain of dev-bounces@dpdk.org designates 92.243.14.124 as permitted sender) client-ip=92.243.14.124; Authentication-Results: mx.google.com; spf=pass (google.com: domain of dev-bounces@dpdk.org designates 92.243.14.124 as permitted sender) smtp.mailfrom=dev-bounces@dpdk.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=nxp.com Received: from [92.243.14.124] (localhost [IPv6:::1]) by dpdk.org (Postfix) with ESMTP id A2A7819A7B; Fri, 8 Sep 2017 10:46:52 +0200 (CEST) Received: from NAM02-BL2-obe.outbound.protection.outlook.com (mail-bl2nam02on0079.outbound.protection.outlook.com [104.47.38.79]) by dpdk.org (Postfix) with ESMTP id 9D82B19A1E for <dev@dpdk.org>; Fri, 8 Sep 2017 10:46:49 +0200 (CEST) Received: from CY4PR03CA0074.namprd03.prod.outlook.com (2603:10b6:910:4d::15) by SN2PR03MB2269.namprd03.prod.outlook.com (2603:10b6:804:d::14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.20.35.12; Fri, 8 Sep 2017 08:46:48 +0000 Received: from BL2FFO11FD033.protection.gbl (2a01:111:f400:7c09::136) by CY4PR03CA0074.outlook.office365.com (2603:10b6:910:4d::15) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.20.35.12 via Frontend Transport; Fri, 8 Sep 2017 08:46:47 +0000 Authentication-Results: spf=fail (sender IP is 192.88.168.50) smtp.mailfrom=nxp.com; nxp.com; dkim=none (message not signed) header.d=none;nxp.com; dmarc=fail action=none header.from=nxp.com; Received-SPF: Fail (protection.outlook.com: domain of nxp.com does not designate 192.88.168.50 as permitted sender) receiver=protection.outlook.com; client-ip=192.88.168.50; helo=tx30smr01.am.freescale.net; Received: from tx30smr01.am.freescale.net (192.88.168.50) by BL2FFO11FD033.mail.protection.outlook.com (10.173.161.129) with Microsoft SMTP Server (version=TLS1_0, cipher=TLS_RSA_WITH_AES_256_CBC_SHA) id 15.1.1385.11 via Frontend Transport; Fri, 8 Sep 2017 08:46:47 +0000 Received: from bf-netperf1.ap.freescale.net (bf-netperf1.ap.freescale.net [10.232.134.28]) by tx30smr01.am.freescale.net (8.14.3/8.14.0) with ESMTP id v888jmp2023063; Fri, 8 Sep 2017 01:46:45 -0700 From: Hemant Agrawal <hemant.agrawal@nxp.com> To: <dev@dpdk.org> CC: <ferruh.yigit@intel.com>, <shreyansh.jain@nxp.com> Date: Fri, 8 Sep 2017 14:15:27 +0530 Message-ID: <1504860327-18451-31-git-send-email-hemant.agrawal@nxp.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1504860327-18451-1-git-send-email-hemant.agrawal@nxp.com> References: <1503658183-4078-1-git-send-email-hemant.agrawal@nxp.com> <1504860327-18451-1-git-send-email-hemant.agrawal@nxp.com> X-EOPAttributedMessage: 0 X-Matching-Connectors: 131493340071869308; (91ab9b29-cfa4-454e-5278-08d120cd25b8); () X-Forefront-Antispam-Report: CIP:192.88.168.50; IPV:NLI; CTRY:US; EFV:NLI; SFV:NSPM; SFS:(10009020)(6009001)(336005)(39860400002)(39380400002)(2980300002)(1109001)(1110001)(339900001)(199003)(189002)(86362001)(47776003)(5003940100001)(48376002)(50466002)(76176999)(5660300001)(36756003)(106466001)(50986999)(2351001)(33646002)(189998001)(6666003)(2950100002)(68736007)(81166006)(81156014)(105606002)(54906002)(8676002)(8936002)(50226002)(77096006)(4326008)(85426001)(356003)(2906002)(110136004)(305945005)(8656003)(498600001)(104016004)(53936002)(97736004)(6916009); DIR:OUT; SFP:1101; SCL:1; SRVR:SN2PR03MB2269; H:tx30smr01.am.freescale.net; FPR:; SPF:Fail; PTR:InfoDomainNonexistent; A:1; MX:1; LANG:en; X-Microsoft-Exchange-Diagnostics: 1; BL2FFO11FD033; 1:ijHrtEQAC8OJyv+E6QIUTaiv6kFGhpXTyAdau/Dd3wuc2yvFtKMfeJtC9Wg5wNDZ1N4esV4FvdrI8N8ufGw2UKZWpPPko7mU+i6Qb1bmU4HeQ4U1X7n882A8KAWUc0pY MIME-Version: 1.0 Content-Type: text/plain X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: c308273b-0412-4bec-3b7c-08d4f69623c7 X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(300000500095)(300135000095)(300000501095)(300135300095)(300000502095)(300135100095)(22001)(300000503095)(300135400095)(2017052603199)(201703131430075)(201703131517081)(300000504095)(300135200095)(300000505095)(300135600095)(300000506095)(300135500095); SRVR:SN2PR03MB2269; X-Microsoft-Exchange-Diagnostics: 1; SN2PR03MB2269; 3:zKCeE9b208eGSkBUWOlJuzdIB2CRqdhHRX29MFNSBch1//hPvuhTsVUd9D8VTiSnFUhsWc0wSm44hgFD19j1lVWu8As43gOv8skSro5XwJVSqUTmBNEsDmLBn/ZMccYuQZcajSPTW2mGA8ZJLZ/MG8a1Rucw4KN/BfoNvOusWzgMxTNVbJgNyWIQuHre97q3x/Sv/b9IniYM5kgckJQ60et8A20sXmDBqiiSp+1Ru6EyeVjWi7eYK8DtQOGtElT/6Z1cEYAB9VxQr23lSCuZmDmVmkTBvitgfqn6qSbtDM9B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exchange-Antispam-Report-Test: UriScan:(185117386973197)(275809806118684); X-Microsoft-Antispam-PRVS: <SN2PR03MB2269E72DFF81BBDFE0FCADB789950@SN2PR03MB2269.namprd03.prod.outlook.com> X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(100000700101)(100105000095)(100000701101)(100105300095)(100000702101)(100105100095)(6095135)(2401047)(8121501046)(5005006)(93006095)(93001095)(100000703101)(100105400095)(3002001)(10201501046)(6055026)(6096035)(201703131430075)(201703131448075)(201703131433075)(201703161259150)(201703151042153)(20161123561025)(20161123559100)(20161123563025)(20161123556025)(20161123565025)(201708071742011)(100000704101)(100105200095)(100000705101)(100105500095); SRVR:SN2PR03MB2269; BCL:0; PCL:0; RULEID:(100000800101)(100110000095)(100000801101)(100110300095)(100000802101)(100110100095)(100000803101)(100110400095)(400006)(100000804101)(100110200095)(100000805101)(100110500095); SRVR:SN2PR03MB2269; X-Forefront-PRVS: 04244E0DC5 X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; SN2PR03MB2269; 23:XcR7MB5wS9XfgBzPftR9ZYsHFrrET5WK2Y99MtxUv?= euO2pDd1eV3QhEuMu0aGeQVLe7n9EF5MusV+XH57xHBznjrD0/Z4VwQmYUR/RmydNWe8vqNvkcaDuJfUk+d5KF/4RzrktSw51bkT04vUgOwb8RDoKKMrW3KaQLkAttdcirJX2dQeFhhiv8yBaSsB6Zo9aQ+GoVvkN0IP4IKC6otIWId+hId300LDqLSh0B4sT+8A7w5iQaO4zWJ1lvD4KyInTisBbAKd9EqOgy8V1a7Bf1QI01v/DeF32SKB9Aga+Hna7neJDxP658S4dnnC2xJOG+7Lp9G8oMvo7sQ+POuRV33MmyEvYnqcwlEh+f/IAGJXwbKgM9lqnKDauF6DzCugcTYlWt+PwMLpxSYcFJphYQJElTBoOiGcLEqk6BN9qZZKa4ePBq06wz9R+4CUcmZq1iY/0ABomjsvVrip7lZeyoKVzlxX44wJkAbdkxIWa5un59UQFLPWdwZe5shMuU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kbw7D7PHvum08cjVICznJjjX94t6+0GO3UbB5hBLHmvoXOEbj8YmdAKaKi/0EoCJfO4t+NKUgAf6i3pBac5A==; 24:G5S3Po//TUZFPWGUKUIKM1RIAMLuTbsX1+VRQSIwyPNMjRN9wnY3kQoGeYaTOuc+RCwnXLXKTghc5dm9ou5SLgH8CO4afuCeZxf/DuKrkeU=; 7:64RM2XlP+upcuz9Hvytt5oeshXUV951jx6nX2U08gk9xmqv46vRCDS4w/V35fyG1QVHcJ7BZ2XeCV4KFOkL50y1vbg3+LOdpqZwb6L9ma6vHKWQLHyP2mHRMSrEQ9roRaQ7euKdflELQMZ7o51i8xjuq2LIjNUrGdxQp+lcIV3TGqwi5NGvGKwyNHvns3EbWgum8AZNBz3GQ6ZESoYi346YvdY0y+6hG1cYbWHuNcnY= SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-MS-Exchange-CrossTenant-OriginalArrivalTime: 08 Sep 2017 08:46:47.0309 (UTC) X-MS-Exchange-CrossTenant-Id: 5afe0b00-7697-4969-b663-5eab37d5f47e X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=5afe0b00-7697-4969-b663-5eab37d5f47e; Ip=[192.88.168.50]; Helo=[tx30smr01.am.freescale.net] X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: SN2PR03MB2269 Subject: [dpdk-dev] [PATCH v2 30/30] bus/dpaa2: improve debug log messages X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions <dev.dpdk.org> List-Unsubscribe: <http://dpdk.org/ml/options/dev>, <mailto:dev-request@dpdk.org?subject=unsubscribe> List-Archive: <http://dpdk.org/ml/archives/dev/> List-Post: <mailto:dev@dpdk.org> List-Help: <mailto:dev-request@dpdk.org?subject=help> List-Subscribe: <http://dpdk.org/ml/listinfo/dev>, <mailto:dev-request@dpdk.org?subject=subscribe> Errors-To: dev-bounces@dpdk.org Sender: "dev" <dev-bounces@dpdk.org> |
Series |
NXP DPAA2 PMD updates
|
expand
|
diff --git a/drivers/bus/fslmc/portal/dpaa2_hw_dpbp.c b/drivers/bus/fslmc/portal/dpaa2_hw_dpbp.c index 7e96115..334e1f5 100644 --- a/drivers/bus/fslmc/portal/dpaa2_hw_dpbp.c +++ b/drivers/bus/fslmc/portal/dpaa2_hw_dpbp.c @@ -98,7 +98,7 @@ dpaa2_create_dpbp_device(int vdev_fd __rte_unused, TAILQ_INSERT_TAIL(&dpbp_dev_list, dpbp_node, next); - PMD_INIT_LOG(DEBUG, "DPAA2: Added [dpbp.%d]", dpbp_id); + RTE_LOG(DEBUG, PMD, "DPAA2: Added [dpbp.%d]\n", dpbp_id); return 0; } diff --git a/drivers/bus/fslmc/portal/dpaa2_hw_dpci.c b/drivers/bus/fslmc/portal/dpaa2_hw_dpci.c index b60a745..ae189c7 100644 --- a/drivers/bus/fslmc/portal/dpaa2_hw_dpci.c +++ b/drivers/bus/fslmc/portal/dpaa2_hw_dpci.c @@ -140,7 +140,7 @@ rte_dpaa2_create_dpci_device(int vdev_fd __rte_unused, TAILQ_INSERT_TAIL(&dpci_dev_list, dpci_node, next); - PMD_INIT_LOG(DEBUG, "DPAA2: Added [dpci.%d]", dpci_id); + RTE_LOG(DEBUG, PMD, "DPAA2: Added [dpci.%d]\n", dpci_id); return 0; } diff --git a/drivers/bus/fslmc/portal/dpaa2_hw_dpio.c b/drivers/bus/fslmc/portal/dpaa2_hw_dpio.c index ff41ce4..f00070f 100644 --- a/drivers/bus/fslmc/portal/dpaa2_hw_dpio.c +++ b/drivers/bus/fslmc/portal/dpaa2_hw_dpio.c @@ -210,7 +210,7 @@ configure_dpio_qbman_swp(struct dpaa2_dpio_dev *dpio_dev) return -1; } - PMD_DRV_LOG(DEBUG, "\t Allocated DPIO Portal[%p]", dpio_dev->dpio); + PMD_DRV_LOG(DEBUG, "Allocated DPIO Portal[%p]", dpio_dev->dpio); dpio_dev->dpio->regs = dpio_dev->mc_portal; if (dpio_open(dpio_dev->dpio, CMD_PRI_LOW, dpio_dev->hw_id, &dpio_dev->token)) { @@ -242,8 +242,6 @@ configure_dpio_qbman_swp(struct dpaa2_dpio_dev *dpio_dev) return -1; } - PMD_INIT_LOG(DEBUG, "Qbman Portal ID %d", attr.qbman_portal_id); - /* Configure & setup SW portal */ p_des.block = NULL; p_des.idx = attr.qbman_portal_id; @@ -502,7 +500,7 @@ dpaa2_create_dpio_device(int vdev_fd, } TAILQ_INSERT_TAIL(&dpio_dev_list, dpio_dev, next); - PMD_INIT_LOG(DEBUG, "DPAA2: Added [dpio.%d]", object_id); + RTE_LOG(DEBUG, PMD, "DPAA2: Added [dpio.%d]\n", object_id); return 0; }
enable the printing of objects during debuging. use RTE_LOG to avoid function name printing for object name. Signed-off-by: Hemant Agrawal <hemant.agrawal@nxp.com> --- drivers/bus/fslmc/portal/dpaa2_hw_dpbp.c | 2 +- drivers/bus/fslmc/portal/dpaa2_hw_dpci.c | 2 +- drivers/bus/fslmc/portal/dpaa2_hw_dpio.c | 6 ++---- 3 files changed, 4 insertions(+), 6 deletions(-) -- 2.7.4