From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from NAM01-BY2-obe.outbound.protection.outlook.com (mail-by2nam01on0084.outbound.protection.outlook.com [104.47.34.84]) by dpdk.org (Postfix) with ESMTP id 301EAFBFA for ; Wed, 21 Dec 2016 00:29:37 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=CAVIUMNETWORKS.onmicrosoft.com; s=selector1-cavium-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=Y4vyoq0tiwPEGaMoEMFSNRkjKu4HnPBF+QIZn2ZjpmI=; b=HEVd/0Gzut+i/v/ubUVc6ifuq40j7+kFJus22oVCDLEjuylTHXmHSqJH2yp2AQ3e6ALX3QgB1cwgnGbpRBsufzxmOxl7P8vf6rlJtjzjnTeqo1nk12iOa38gIXeP6hubnzp6GfHzXAITA4VWY0w/CLcEmjAex7S13NCuGtFS4nE= Received: from BLUPR0701MB1572.namprd07.prod.outlook.com (10.163.84.146) by BLUPR0701MB1572.namprd07.prod.outlook.com (10.163.84.146) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P384) id 15.1.789.14; Tue, 20 Dec 2016 23:29:35 +0000 Received: from BLUPR0701MB1572.namprd07.prod.outlook.com ([10.163.84.146]) by BLUPR0701MB1572.namprd07.prod.outlook.com ([10.163.84.146]) with mapi id 15.01.0789.018; Tue, 20 Dec 2016 23:29:35 +0000 From: "Mody, Rasesh" To: Ferruh Yigit , Harish Patil , "dev@dpdk.org" CC: "Dept-EngDPDKDev@qlogic.com" Thread-Topic: [dpdk-dev] [PATCH 1/7] net/qede: reduce noise in debug logs Thread-Index: AQHSTQ8f6eRXu0hSh0i+Mh2MOwOu9KD+S7MAgABIlLA= Date: Tue, 20 Dec 2016 23:29:35 +0000 Message-ID: References: <1480733039-13046-1-git-send-email-harish.patil@qlogic.com> In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: spf=none (sender IP is ) smtp.mailfrom=Rasesh.Mody@cavium.com; x-originating-ip: [173.186.134.106] x-ms-office365-filtering-correlation-id: f50b57fa-f226-4143-c350-08d429300f42 x-microsoft-antispam: UriScan:; BCL:0; PCL:0; RULEID:(22001); SRVR:BLUPR0701MB1572; x-microsoft-exchange-diagnostics: 1; BLUPR0701MB1572; 7:JoQFKnFJyKsooKrTxTk9MHfxAyPv/451qriI8Tfu0r3OGjv9Pfsti9CQP3VVS2NU8Uaa0h80d7Ie+gLp5QZEKzEF4nTLGGpGgmaAdR5DrrbW/EZSsG5j8kQZ9qWDty5YLNjWMQ4c/bulzx/Z/lsDR0avM8jAtnbEvwt8ibUhZndlp6I1BV59IBjaatyv0pPhy4qp1ncX+69xHIjoo/eIt8GuFpB6U9zGyksPeDU2aDpmYyJtp8BkmitAHDto9xrsvFI8w/YvicvA6hgHGs9VrDLY7k1a5hK61hJT+WZWYL5+euKv0bXg0Ist9SjmDTRPrJM+hbStPFrrHkAvLCvBtWkI/ktpgEcaMmaj92FgGNcF5/jVbA0Jyuijbwy/crwRZiYw5qfntd/Tr3el731Oq34btCnbg/vTBqLqPXxCPn9byh4yCFa/meihF9lEZxDiHEo1TO9xZQYFA2bNNAcILQ== x-microsoft-antispam-prvs: x-exchange-antispam-report-test: UriScan:(788757137089)(228905959029699); x-exchange-antispam-report-cfa-test: BCL:0; PCL:0; RULEID:(6040375)(601004)(2401047)(8121501046)(5005006)(3002001)(10201501046)(6041248)(20161123564025)(20161123560025)(20161123555025)(20161123562025)(6072148); SRVR:BLUPR0701MB1572; BCL:0; PCL:0; RULEID:; SRVR:BLUPR0701MB1572; x-forefront-prvs: 0162ACCC24 x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(6009001)(7916002)(39450400003)(377454003)(24454002)(189002)(199003)(189998001)(2906002)(92566002)(3846002)(3660700001)(6116002)(2900100001)(6506006)(229853002)(6436002)(76576001)(102836003)(38730400001)(105586002)(99286002)(5001770100001)(97736004)(77096006)(86362001)(106356001)(106116001)(54356999)(9686002)(25786008)(101416001)(68736007)(5660300001)(122556002)(305945005)(8676002)(7696004)(66066001)(8936002)(2950100002)(3280700002)(2501003)(7736002)(33656002)(76176999)(50986999)(81156014)(4326007)(74316002)(81166006); DIR:OUT; SFP:1101; SCL:1; SRVR:BLUPR0701MB1572; H:BLUPR0701MB1572.namprd07.prod.outlook.com; FPR:; SPF:None; PTR:InfoNoRecords; MX:1; A:1; LANG:en; received-spf: None (protection.outlook.com: cavium.com does not designate permitted sender hosts) spamdiagnosticoutput: 1:99 spamdiagnosticmetadata: NSPM Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: cavium.com X-MS-Exchange-CrossTenant-originalarrivaltime: 20 Dec 2016 23:29:35.5213 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 711e4ccf-2e9b-4bcf-a551-4094005b6194 X-MS-Exchange-Transport-CrossTenantHeadersStamped: BLUPR0701MB1572 Subject: Re: [dpdk-dev] [PATCH 1/7] net/qede: reduce noise in debug logs 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: , X-List-Received-Date: Tue, 20 Dec 2016 23:29:38 -0000 > From: Ferruh Yigit [mailto:ferruh.yigit@intel.com] > Sent: Thursday, December 08, 2016 8:49 AM >=20 > On 12/3/2016 2:43 AM, Harish Patil wrote: > > From: Rasesh Mody > > > > Replace CONFIG_RTE_LIBRTE_QEDE_DEBUG_DRIVER with > > CONFIG_RTE_LIBRTE_QEDE_DEBUG_VAL which is a 32-bit bitmapped value > > where each bit represent a particular submodule to debug. Also move > > notice messages under CONFIG_RTE_LIBRTE_QEDE_DEBUG_INFO. > > > > Signed-off-by: Harish Patil > > Signed-off-by: Rasesh Mody > > --- >=20 > Is 32bit supported by driver? We compile test our drivers for 32bit. =20 > If so it is throwing a compilation error for it [1], if not can you pleas= e > document it? >=20 > [1] > In file included from .../drivers/net/qede/base/ecore.h:35:0, > from .../drivers/net/qede/qede_ethdev.h:22, > from .../drivers/net/qede/qede_ethdev.c:9: > .../drivers/net/qede/qede_ethdev.c: In function 'qede_rss_hash_update': > .../drivers/net/qede/base/../qede_logs.h:33:3: error: format '%lx' > expects argument of type 'long unsigned int', but argument 7 has type > 'uint64_t {aka long long unsigned int}' [-Werror=3Dformat=3D] > "[%s:%d(%s)]" fmt, \ > ^ > .../drivers/net/qede/qede_ethdev.c:1472:2: note: in expansion of macro > 'DP_INFO' > DP_INFO(edev, "RSS hf =3D 0x%lx len =3D %u key =3D %p\n", hf, len, key)= ; > ^~~~~~~ > cc1: all warnings being treated as errors We'll fix the compilation error. >=20 >=20 > <...>