Message ID | 1503658183-4078-27-git-send-email-hemant.agrawal@nxp.com |
---|---|
State | New |
Headers | show
Delivered-To: patch@linaro.org Received: by 10.140.95.78 with SMTP id h72csp814931qge; Fri, 25 Aug 2017 03:55:58 -0700 (PDT) X-Received: by 10.223.173.182 with SMTP id w51mr6864942wrc.113.1503658558182; Fri, 25 Aug 2017 03:55:58 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1503658558; cv=none; d=google.com; s=arc-20160816; b=g59u9aK9qwvmEA96Np5huC79QAybXdy/tppWwDDjZT25cNdgSwvXTVEBRyD12JMvMq aEXw3y+RG1PHphTRxhefmA7vRZMWW1y4Q0jgDlp4ItQJ03TECUmcdQ7wUr8FivKKhPCx UkGrBehWdBmjvab893gvhlsdpt9WDhagLETtrhwsuxEUOiUSWePWouhARGsW2plrZHyC w9Y8L6EUM9eKL+CEUsZl9SzYdT2Y4GIcSBBzMy97REOOV43FKBjsH6/IGe/w5TnlM3KZ 1g5HYKFWWlFQHRtSM9pHk+CXY60OP9fKeq2HpDJPU9nCbdCB9hUHAh3SAuOUkevBvQwq vQ1Q== 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=mBbqsDm8chPILFAAI2gzB/xm2dFfilwYjtAHqySSYqM=; b=0xDwffmayh1fYMS5tyTSHtEWe8iZqak3JHbzTvFaDzRIP/KIl315PDN2aXftHonxBP cwcHgf1t3BlWxnXTvUFG2xGd4k3Me78fSbylEkqNknQjxSbrI5KRDioMeKpkQTQ1ejJT eBLaLzFEVPwtT1RfpVtSp6PwV6r14v3YDECv+HnXI5gtNAXAN5FBc0qyZu5H/1KPQTST gNvzuSJz70UMGG4tQ563GrgFwt0a7dF/Y5yspToxoIbANEwpM/0t9pnVGITZOXiudWY/ 89QH1HHYkz+quUjU/R1W5QzQc2uzUS24ZozRuXsYcBtsFv2xkXXbtJBM0CMHjL5yxGFg jZQQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of dev-bounces@dpdk.org designates 2001:4b98:dc0:41:216:3eff:fe72:dd13 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 ([2001:4b98:dc0:41:216:3eff:fe72:dd13]) by mx.google.com with ESMTP id x4si5058043wrd.132.2017.08.25.03.55.57; Fri, 25 Aug 2017 03:55:58 -0700 (PDT) Received-SPF: pass (google.com: domain of dev-bounces@dpdk.org designates 2001:4b98:dc0:41:216:3eff:fe72:dd13 as permitted sender) client-ip=2001:4b98:dc0:41:216:3eff:fe72:dd13; Authentication-Results: mx.google.com; spf=pass (google.com: domain of dev-bounces@dpdk.org designates 2001:4b98:dc0:41:216:3eff:fe72:dd13 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 0FF4E99E6; Fri, 25 Aug 2017 12:50:55 +0200 (CEST) Received: from NAM03-DM3-obe.outbound.protection.outlook.com (mail-dm3nam03on0042.outbound.protection.outlook.com [104.47.41.42]) by dpdk.org (Postfix) with ESMTP id 6CB0899B9 for <dev@dpdk.org>; Fri, 25 Aug 2017 12:50:51 +0200 (CEST) Received: from BN3PR03CA0055.namprd03.prod.outlook.com (10.167.1.143) by BLUPR03MB552.namprd03.prod.outlook.com (10.141.77.145) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.1.1385.9; Fri, 25 Aug 2017 10:50:50 +0000 Received: from BN1AFFO11FD038.protection.gbl (2a01:111:f400:7c10::156) by BN3PR03CA0055.outlook.office365.com (2a01:111:e400:7a4d::15) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.1.1385.9 via Frontend Transport; Fri, 25 Aug 2017 10:50:50 +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 BN1AFFO11FD038.mail.protection.outlook.com (10.58.52.242) with Microsoft SMTP Server (version=TLS1_0, cipher=TLS_RSA_WITH_AES_256_CBC_SHA) id 15.1.1341.15 via Frontend Transport; Fri, 25 Aug 2017 10:50:49 +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 v7PAnw6U032070; Fri, 25 Aug 2017 03:50:47 -0700 From: Hemant Agrawal <hemant.agrawal@nxp.com> To: <ferruh.yigit@intel.com> CC: <dev@dpdk.org>, <shreyansh.jain@nxp.com> Date: Fri, 25 Aug 2017 16:19:42 +0530 Message-ID: <1503658183-4078-27-git-send-email-hemant.agrawal@nxp.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1503658183-4078-1-git-send-email-hemant.agrawal@nxp.com> References: <1503658183-4078-1-git-send-email-hemant.agrawal@nxp.com> X-EOPAttributedMessage: 0 X-Matching-Connectors: 131481318497035374; (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)(39380400002)(39860400002)(2980300002)(1109001)(1110001)(339900001)(189002)(199003)(6916009)(36756003)(104016004)(2950100002)(8676002)(81156014)(6666003)(626005)(81166006)(86362001)(97736004)(356003)(50226002)(2906002)(85426001)(68736007)(8936002)(498600001)(189998001)(305945005)(48376002)(4326008)(76176999)(2351001)(8656003)(5003940100001)(54906002)(110136004)(50466002)(47776003)(50986999)(53936002)(106466001)(105606002)(77096006)(33646002)(5660300001); DIR:OUT; SFP:1101; SCL:1; SRVR:BLUPR03MB552; H:tx30smr01.am.freescale.net; FPR:; SPF:Fail; PTR:InfoDomainNonexistent; MX:1; A:1; LANG:en; X-Microsoft-Exchange-Diagnostics: 1; BN1AFFO11FD038; 1:jJEogGRY3pOgzrrJsKsdSNxN4tlAKh0MWftlJBKgfjMpfsLCq+iB3uRbize8Lh3lkM88+L2aLBlpK6JmN0RrZOmGuv0Aj/xLnAgQ/mAo9ko1M7NNr+1TSn6/OpKXIq07 MIME-Version: 1.0 Content-Type: text/plain X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 155c2703-1ff3-40c7-430d-08d4eba72612 X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(300000500095)(300135000095)(300000501095)(300135300095)(22001)(300000502095)(300135100095)(300000503095)(300135400095)(2017052603199)(201703131430075)(201703131517081)(300000504095)(300135200095)(300000505095)(300135600095)(300000506095)(300135500095); SRVR:BLUPR03MB552; X-Microsoft-Exchange-Diagnostics: 1; BLUPR03MB552; 3:GJUsoCBpQP8lI3OcvtVAhHrWFhbcTZjLmQUaN8r8OnucubI6A0TuMJV92ENJeNAY+X/mDfjxR347o4QZuGwQW3/vNzg/T8Jxm8skCl2Il54ShUUPIDEcF/IP66AMX4N88aqKYT/L2TU0butxy5EMxz/xBQCTcsYt2ZageqrRgYU/n1MMqT/t59oTX57MJWDBJb5OwDIgBqiXL+Hh3B3kLb4TMftLazFoR08GCwW1rwYJ6KA07wXaSEDpWPjZG0cCt332Ce02/kHfZ6H9Q9NgqH6rQUC57b+9tCsKoD2ZzdLc76v9s+7ZIGV/fYmaNdCCOlHSFBdDqAD1vWNCJWRgITXcQr8lZAy0xCwtBhsQMT0=; 25:RY6T6tauZDQvKHxI6N9IMw5bnY/eL5vluL3FX8bHoYfHjflDPmrnAipDhdpNmTk8sugXmKOyj/3Se3DZvFy+iVFhMPrIAsw1cKRLjbFF+c4hs4k8SUdW24g3AlwKJS1zupCMo/GvQ+LSegbVDinbpFomfwtVBzlxLo/dlqXM3HXcn+ijPQ5CRf+pa0BnW+pH+mLGF1Y9kHSFTDHgoDfPDUP0gViwy45wywMOXk6kKoZTsqV357/sHBlSygpZCx9lOSpzZjASZ5Jrd8zZ3q1BYPGiMNtvh5a77OOZM2wmwLGczIkyveDcHfarboGBu9KODYFe5dxrL0WWWAXLd5aXuaqQTOJl63HBPWSJnUVBXrk= X-MS-TrafficTypeDiagnostic: BLUPR03MB552: X-Microsoft-Exchange-Diagnostics: 1; BLUPR03MB552; 31:9nuhJYRHqsHcpMhptqgVuJNQV9M/L3no2xRJuch/sDaFk3zYJ2YndsKoRofcRNYvFL9P7fB4oKX0EpN7qrrxClgvp91efz2hSQ5+0ET2t8Y9cOlHlEtmUYaF0ExTvlrdnh8vlbJEn26EGxe8KU5ALoN6WWMrAzTgfu4HfsT48GkraSxpO5QRZbcGQVnrk2CQOhVzo13aAnTAVo0MJEQia3nxk5mBMPh8MjIRDXfG2Lo=; 4:kzsNcA9x5B9Reauks5hBhNRbpnRdrGbPWXY+Biz6MHBVtD7mr3L6vTBu7w9Uzi2IFZtmckDRaQgWRv8INWzCLVoHLjPF+fVgZCj6fTJO3dwkpHdmct+cifsL3FrI1fakR6iBRR5Arky18u+RrE4gMPV6OLXFcLY/J/c7MHWfMUdvKbiRTJdIy09kiqgk7RPA4ZBZjzhbKi5BSLvHWxdCWZX8fA7dJ8MNCVk/sC+J4TvbhXbACm/M0fbu2fQcrtNWmE164X7rEmkXewBkCIFeiYNTXPDkPhAYj8a1sxDvUg4= X-Exchange-Antispam-Report-Test: UriScan:(185117386973197); X-Microsoft-Antispam-PRVS: <BLUPR03MB5529CF195E1D7B0E36EE0DF899B0@BLUPR03MB552.namprd03.prod.outlook.com> X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(100000700101)(100105000095)(100000701101)(100105300095)(100000702101)(100105100095)(6095135)(601004)(2401047)(5005006)(13018025)(13016025)(8121501046)(93006095)(93001095)(10201501046)(3002001)(100000703101)(100105400095)(6055026)(6096035)(20161123556025)(201703131430075)(201703131448075)(201703131433075)(201703161259150)(201703151042153)(20161123561025)(20161123559100)(20161123563025)(20161123565025)(201708071742011)(100000704101)(100105200095)(100000705101)(100105500095); SRVR:BLUPR03MB552; BCL:0; PCL:0; RULEID:(100000800101)(100110000095)(100000801101)(100110300095)(100000802101)(100110100095)(100000803101)(100110400095)(400006)(100000804101)(100110200095)(100000805101)(100110500095); SRVR:BLUPR03MB552; X-Forefront-PRVS: 041032FF37 X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; BLUPR03MB552; 23:NjamE0H2TvZWLn7Igztb4FwoeBoqiNV3xIY3i70nE3?= GYUBiYOHzEN8pF+dvO9UCv+/OjDAuPImGMaTbFCszLNVvsMjfDXfLwYPaSwKCmiXUSBex4gke+iN5kP8HkKgLFKVvhnZOqVtVQDEry9UdRCVUtLjq0KCo155IH4b4yHy6mIGNExmLc/vx0O6vSBedNwGLPiooD96prZtAhiABzE3bX5vGc1TYVcXtT0/Ru4JqN+Pn9LT063r2GXCRcZjvkhIeGDGeslKuXL6/TkOluZR5kxl+X3AlQhwLsO84VwPrWkvshs3Dr057jZM1WzGXMejVVtQAS/PM3O/m2o7v0F2SSaXt1gJ3IWCnRDnCg7L4kW8PvcXKgp0vtH1ZG1GVq8BRmTbc/m9ezhNHM2ngYaE5da0kgI87UOwQyk9cKF29A4OPH7qT/iZ3vBKIHr5phVC7wKgwOVm81uRKwzsOVHJfegoG/7MBLVrpFRfk987WSVgId9SqNe3PbF2sLb6B3BXfUpuVqLyyAELYocM4Xp2lQ2kFwnBXFUJ4wX5Uqdj/0H/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9rzU/KKgipZfrl2oiVkfFWb2CRKmzBIgol20hNEqDTazTOTmV5S7AB67Q==; 24:j/2Vr4tnkgj4ufqV9E8Euk+UMbmYcdvML8afiBolgqk0fBhy6muL1QTYP9m5ZcTKU3R/kvczju4g5ol75qCPvTkfhnXvE/RUaHMQGKGbfI0=; 7:SfYy5tPriu5dJ4aB2yBveCuFfSgGp0HOTHnRPoPPp7AQ3eH/6CW4zJtjptmV4P1ROkl8ZxVLo5ErB69jm4TWtahjojghMykzeF3DTkcph3+HfFnIfmZV6Aj4oMKlbur0GpV7aZJB/NxpPYC1DBTtMQDMdio+Bbgc6VZXpY6zKElfTE3ZMdhsmgCM53Gf7UBwdsOWpjsBapSIylvwoVjAx33fM/WO7Rd3jKAOrmYeg8U= SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-MS-Exchange-CrossTenant-OriginalArrivalTime: 25 Aug 2017 10:50:49.5163 (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: BLUPR03MB552 Subject: [dpdk-dev] [PATCH 26/27] net/dpaa2: improve debug messaging 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/net/dpaa2/dpaa2_ethdev.c b/drivers/net/dpaa2/dpaa2_ethdev.c index b71c51d..51498c8 100644 --- a/drivers/net/dpaa2/dpaa2_ethdev.c +++ b/drivers/net/dpaa2/dpaa2_ethdev.c @@ -387,8 +387,8 @@ dpaa2_dev_rx_queue_setup(struct rte_eth_dev *dev, PMD_INIT_FUNC_TRACE(); - PMD_INIT_LOG(DEBUG, "dev =%p, queue =%d, pool = %p, conf =%p", - dev, rx_queue_id, mb_pool, rx_conf); + PMD_DRV_LOG(DEBUG, "dev =%p, queue =%d, pool = %p, conf =%p", + dev, rx_queue_id, mb_pool, rx_conf); if (!priv->bp_list || priv->bp_list->mp != mb_pool) { bpid = mempool_to_bpid(mb_pool); @@ -437,8 +437,8 @@ dpaa2_dev_rx_queue_setup(struct rte_eth_dev *dev, taildrop.threshold = CONG_THRESHOLD_RX_Q; taildrop.units = DPNI_CONGESTION_UNIT_BYTES; taildrop.oal = CONG_RX_OAL; - PMD_INIT_LOG(DEBUG, "Enabling Early Drop on queue = %d", - rx_queue_id); + PMD_DRV_LOG(DEBUG, "Enabling Early Drop on queue = %d", + rx_queue_id); ret = dpni_set_taildrop(dpni, CMD_PRI_LOW, priv->token, DPNI_CP_QUEUE, DPNI_QUEUE_RX, dpaa2_q->tc_index, flow_id, &taildrop); @@ -1802,6 +1802,7 @@ dpaa2_dev_init(struct rte_eth_dev *eth_dev) eth_dev->tx_pkt_burst = dpaa2_dev_tx; rte_fslmc_vfio_dmamap(); + RTE_LOG(INFO, PMD, "%s: netdev created\n", eth_dev->data->name); return 0; init_err: dpaa2_dev_uninit(eth_dev);
Signed-off-by: Hemant Agrawal <hemant.agrawal@nxp.com> --- drivers/net/dpaa2/dpaa2_ethdev.c | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) -- 2.7.4