From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 11C51A0564; Thu, 11 Mar 2021 21:03:49 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 9FB034014D; Thu, 11 Mar 2021 21:03:48 +0100 (CET) Received: from NAM11-DM6-obe.outbound.protection.outlook.com (mail-dm6nam11on2044.outbound.protection.outlook.com [40.107.223.44]) by mails.dpdk.org (Postfix) with ESMTP id 5406B40141 for ; Thu, 11 Mar 2021 21:03:47 +0100 (CET) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=idkL34He+UN9Fb+VqmoSDqOF3E8SwOV1XibC9EsRpmdT1kdifadjvtYT2VrBG/UPzYlbMK7izoyxWKHM1mcGif9PFpbjWHHzljaNFVKSQrKUUJqA3vYEkMngsSSVOR2hAdPJucl47t+SAS48CgCx0Niqb5hcVK1+i5CmYK6UksHu22uF/KJCOVHUzoQ7539ai8r8HvmZv1RTyQPnnml9Z8Yh2/V073OBaRNbbLJf3qn3FuFU6w+rIcsnHVyay9zHTGqX/DQdnu9ukk4gDoLbwqwoyFEMu4RPUBDyxQpziqekbAP693IcvKocxfMGRYsHig4Wu6hKxsh8PP+edA9p+w== 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=RDGSYA+qYmmxx7k3KUmV7m+wPFoym90LfBR5JhgLS6Q=; b=N3BRww4pVZut/V/gF9BbfY4Ui3WDuy0w7snIOhlYUn8dmq9JqWkJFQ12AzTjkYQ5kEOjS5OOtvsR1c/KwAova6KPPxsWOAGS2K3oUvJYlI1gdK0DJLNbtgJrq585WRF6RxVUuiSGV2V3UMfxp/qreCWvxkZ7u+EWdoASDi30iNkoPX79LtUlKZgB5DzxG4c5/8WcquHq2e2yFscY+J73goI0vD8pQwWoV++Zg3+0Ga9M1R/rH2Ym7gnZNMHv+nJx9qv7lFUfG0s7sV2dakgEpWE/IjSuJ7Un+FcaiAXYOsAs5E/KwhhcCsLjKe7L3yx8YLUksEmzUdN/LsCNWz/vKw== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=nvidia.com; dmarc=pass action=none header.from=nvidia.com; dkim=pass header.d=nvidia.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=Nvidia.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=RDGSYA+qYmmxx7k3KUmV7m+wPFoym90LfBR5JhgLS6Q=; b=PFsv1MMHyzRP+EhlqlMaO2dXle+KTY3hVT4mmy6RSc+5PjTHHF/6j+wunzB4Sx2zAWDlBmStY7a8CKPjiijl8E4R/yBpeRI2JTo2NNyO6L4yk+OD5EGawraZ37Kxzaek5PhNcTeH0E/b3ijmqQpWT4WSX3p/8OUv7L3+NjP36Tq4bdSSu1wtu1ssqHjzII+ODRCCFynhc1rw6vlN7qEJ8KKZbkqGfaOIvY11mmawDt+iPafD7X2Ib5PnLr4AkeNDZNDD7Cu5krn5YTWx64lHyZytBM7YQmcWetQlzT+Yhf6an5rvJ8Pz96YRWPPCz2g3vgc1WoEeXDGvv+f2IuA8Bw== Received: from MW2PR12MB2492.namprd12.prod.outlook.com (2603:10b6:907:8::19) by MW2PR12MB2490.namprd12.prod.outlook.com (2603:10b6:907:9::17) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3912.17; Thu, 11 Mar 2021 20:03:14 +0000 Received: from MW2PR12MB2492.namprd12.prod.outlook.com ([fe80::99f2:8567:2f9e:c351]) by MW2PR12MB2492.namprd12.prod.outlook.com ([fe80::99f2:8567:2f9e:c351%4]) with mapi id 15.20.3890.038; Thu, 11 Mar 2021 20:03:14 +0000 From: Matan Azrad To: NBU-Contact-Thomas Monjalon , "dev@dpdk.org" CC: Shahaf Shuler Thread-Topic: [PATCH v2 1/4] net/mlx4: enable debug logs dynamically Thread-Index: AQHXFMl0CUMhnPurIkWlTSGro5IYA6p/OXDg Date: Thu, 11 Mar 2021 20:03:14 +0000 Message-ID: References: <20210308222855.823670-1-thomas@monjalon.net> <20210309094836.988763-1-thomas@monjalon.net> <20210309094836.988763-2-thomas@monjalon.net> In-Reply-To: <20210309094836.988763-2-thomas@monjalon.net> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: monjalon.net; dkim=none (message not signed) header.d=none;monjalon.net; dmarc=none action=none header.from=nvidia.com; x-originating-ip: [216.228.117.190] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 47257dcd-06b4-4a65-7281-08d8e4c8b44a x-ms-traffictypediagnostic: MW2PR12MB2490: x-ld-processed: 43083d15-7273-40c1-b7db-39efd9ccc17a,ExtAddr x-ms-exchange-transport-forked: True x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:6790; x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: Q0fq7oaq3WbBQ+SHQW4q+ClcrMJRbE2PRITVw/3f9xzq8Up4rh86xNj9a9Wg5iAa9xN+2dt8duzXdb+ar361+EVghYy1Cl5vLRakxdQf2IWKkStxK6GBz2cXn7wvVZhiwJcRC5quz9kVfyaW7z0rwsGZY3ZHbAf0dQ6MRSAFxh3Lilj6n8iZ4rr7OK/ZEzFYJRuM9gpuSfknPGZqphjB+/1pWp3C4q4bLoXp28HgeaEPfUvKRyQpUYOmjY34TJMJL7IUtgT3bQr5l8qp66eTVq47tKrnjCrdGR2YxiZde1Z/lf+kKjWChXukplZHi8GhAHkPSSnsCohB248reRVQ5UcgKrr7CjnEwmc8hpwoV0Gzg7bOOpeUfT3hH2CEQ25kiR2nPHS+5arjzmM9U9rbs5V4sDljr6MeNCOUos6XQ6qGMJEpURE6ZoUwBBE42+5MEFKJCQQ0j00Ih4QzaViP2Qwr41ZI6sx5VtPcf4uE12E9uYIXxA61DYVzhLeZClFbCqw6ltly54IOfSfPpKQRVw== x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:MW2PR12MB2492.namprd12.prod.outlook.com; PTR:; CAT:NONE; SFS:(4636009)(136003)(376002)(396003)(346002)(39860400002)(366004)(76116006)(9686003)(64756008)(52536014)(71200400001)(66446008)(33656002)(55016002)(4326008)(316002)(186003)(107886003)(66476007)(66556008)(86362001)(6506007)(7696005)(4744005)(5660300002)(66946007)(110136005)(2906002)(8936002)(8676002)(26005)(478600001); DIR:OUT; SFP:1101; x-ms-exchange-antispam-messagedata: =?us-ascii?Q?tsxYMaTwzfP0NqzaHW/9AnddTIAIuoQ/X73nsZ2Mj3W0AK3VfAAQNqo1Jf1V?= =?us-ascii?Q?1aV1aFItNlkbL/9vi4Nu7bGwGMsxhe+OBLnapTQMwh3sk9VGu/Wj2SnCEfXk?= =?us-ascii?Q?7+xQRBIRKIuqZJDKd0G1eI4/8sTtJ+6CNkB3m7rjCM2FDX4p3vv1VCw0/xTv?= =?us-ascii?Q?ykajHNxChV/zU0HA7Q9DDZ2rG8aY2ubvo9fMvytS6PDKJ0kJhHqdaNGTHauo?= =?us-ascii?Q?k/y3d6yZd9iWm7Q/f42HtwNXGq4nEkpJKt9SHMSVoCxGe45uxRObwP3ZDnGt?= =?us-ascii?Q?i2IR4LzvpBJaYR1fcZMuRDvJzhK3ucl3dJnTnvgmF+FrvHXqwuX6VBGkLPwB?= =?us-ascii?Q?ecaR0hTzZwuGvV7LoMKWhhDcv0ZeTl8ymS3flbymjvbzJCFWl8P1WlRhDOXl?= =?us-ascii?Q?kloxMay7iIG+d65DfznfT9GbGJUPaRj5vMn/49sIKxhMtTvAjF6XIAZKN1NR?= =?us-ascii?Q?kowVtm79afBDhprAtuwaHe+TXZiZjoeS4EhOsshVqTCPMPoPn19n7xV2+IVK?= =?us-ascii?Q?V9Nll6TYQ7o7XHRqjeM0pnvxeilGVP6cl5RoU+Xt+24a/kYSxFFyM2wuACk5?= =?us-ascii?Q?4S7D1Pcw6xJci+jouEsseuuOR02ghjbc1RVcIpV6LEnfaYKQHxlkD69JH7yC?= =?us-ascii?Q?cFUX5p4/yzDb40Obxsv9sBt65tgYa7KpjEUo/hCKrEq5j/NFezYltncAI4L1?= =?us-ascii?Q?9cuUzQGVpbJGLKtdPiyqb8FcQPcT60te7nRICX0Sz7lU7uHj3qwsh9nqChPL?= =?us-ascii?Q?X39lNtA0rZB7l9JgJ2FHzYJ8jU+hAJrJZPVxTpBXC5iOilg71PcTiDq/ExPY?= =?us-ascii?Q?mN/rYLGoJ9cAo1djQYifODDEksRfsBt/wabQ5Rzgun1oXQ1/AOXlTam35ZCb?= =?us-ascii?Q?hEzatd2i3yNLUqHtPr3X+QwxSfR5fiN5+A35iXVqn/sQi8rZ1Xdoq4sdLa54?= =?us-ascii?Q?HuQrtbdoGQ10Y8mNN2E7Cd2r03mpAqRRguTOpwslmQmadP179DuF2fO21eG7?= =?us-ascii?Q?BrAZ7XnqglvzWybVxnKSccZgv47DU1d20hkzzzVt5v9sR/WOV14+eVs1q5FF?= =?us-ascii?Q?JkVeKHYa3/i+WN4mSNGUesfAAf5TO52aLweYx8sJJ9ltFJw4HVcnFUm3THLj?= =?us-ascii?Q?hwm9uWeW6ITc36cF8IYBIQgP/0/b2VLSDEpJMmfd7jb2cWE9MCn0JhER4g1n?= =?us-ascii?Q?SXBnG1hcEK+MrzhBVWtgiaAO3hZX5hIS+Cr1Sniase9j9RWwfnydXndgjeo2?= =?us-ascii?Q?e+9NxPoFmslrvnpb6bPzCWtBByxuy1btG0LYO+BCsrDiSxQP1R8Bxu4bEI9G?= =?us-ascii?Q?mU87axRW4DPhkrEkdO4CXndv?= Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: Nvidia.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: MW2PR12MB2492.namprd12.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 47257dcd-06b4-4a65-7281-08d8e4c8b44a X-MS-Exchange-CrossTenant-originalarrivaltime: 11 Mar 2021 20:03:14.1275 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 43083d15-7273-40c1-b7db-39efd9ccc17a X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: o0WmPIZPeALw6e1k5z1NDvBRH/zjvR03vjIy1TOf38xMm3/M2YGlEk781p8nBn+uVXJOhte6AEk5Qu+0PoAkgg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: MW2PR12MB2490 Subject: Re: [dpdk-dev] [PATCH v2 1/4] net/mlx4: enable debug logs dynamically X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 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: Thomas Monjalon > The macro DEBUG was doing nothing if not compiled with > RTE_LIBRTE_MLX4_DEBUG. >=20 > As it is not used in the data path, it can be always enabled at compilati= on time. > Then it can be enabled at runtime with: > --log-level pmd.net.mlx4:debug >=20 > Signed-off-by: Thomas Monjalon Acked-by: Matan Azrad