From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from EUR01-HE1-obe.outbound.protection.outlook.com (mail-he1eur01on0074.outbound.protection.outlook.com [104.47.0.74]) by dpdk.org (Postfix) with ESMTP id A8F3F1B436 for ; Thu, 2 Aug 2018 08:40:37 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=Mellanox.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=ZZY84uHa6DwZM2jw4Wzx7iYqQUSqcupsnY49yn47hA8=; b=g63eFK5cJbL+kI6tg+jUp9LFG7v5Q2NTO9SFKZXICEPPVdFvSvwARLyndlpdzuSNvSE+cOruDprqOMbsjJy1N9mA0yyt43E9IlLI9YneN9SNKAbWbkc37M8OcW/D68Q7PpGkixG1ZmAGYDdnT2ATD9ex2uODvHSZcQIUcO4eCYg= Received: from AM0PR0502MB4019.eurprd05.prod.outlook.com (52.133.41.11) by AM0PR0502MB4051.eurprd05.prod.outlook.com (52.133.41.19) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.995.21; Thu, 2 Aug 2018 06:40:36 +0000 Received: from AM0PR0502MB4019.eurprd05.prod.outlook.com ([fe80::9d98:d47f:5b50:1f49]) by AM0PR0502MB4019.eurprd05.prod.outlook.com ([fe80::9d98:d47f:5b50:1f49%2]) with mapi id 15.20.0995.020; Thu, 2 Aug 2018 06:40:36 +0000 From: Matan Azrad To: Stephen Hemminger , "dev@dpdk.org" Thread-Topic: [dpdk-dev] [PATCH] ethdev: ownership change log message priority change Thread-Index: AQHUKb9Ahv9rXo6X9EmK/sqWh1TAw6SsA9Ug Date: Thu, 2 Aug 2018 06:40:36 +0000 Message-ID: References: <20180801174356.655-1-stephen@networkplumber.org> In-Reply-To: <20180801174356.655-1-stephen@networkplumber.org> Accept-Language: en-US, he-IL Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: spf=none (sender IP is ) smtp.mailfrom=matan@mellanox.com; x-originating-ip: [193.47.165.251] x-ms-publictraffictype: Email x-microsoft-exchange-diagnostics: 1; AM0PR0502MB4051; 6:kll7EE0N67rfrEBrdiFaHCtkTUpGQ3kwbwJunj+z6mIOr6ObuWIhg1+/8TjpRgFDwTkJMxkFzOjnHc+jhbHtqRrUAv0u6bRXS+IaqwANpzV5r2gujHLiuZ/Ku7nP7Aw8Ri0blprOxvgagHspQwn7XhRYqyRS5sMAMvRjp2N1nvC/YQUH8c04VF5vNUx2cnkQGRgHPQZqmWF2hTSvMwgMGSI3VyxIs2ndTPhnkSb9JuVb04vUPghRh9Ta7bl6mR5yUjKufcubAaLSegUFcgrfAOgeJBnfI3gNgY7mrX4c5RP/TJqFLxrjpfxHzx0+bFVKLjjb01OZ2UV7svuFBMORWblvmLJPwv7wZFCpFwuXJV0Ia1owj5wc1AiCWb+HhoP+lelwx9ykEpJFnjHjwKkj9eYrU0Ul7WMZ5V+XUTqnUWF65PJ6HCzyF1AzZo7MVo31GO5zaHA3Z9NLxNisXtFm7Q==; 5:oHcYgfgW6THFC+INis+7YfWa68oO/33JLZSBM11HpoKyeieZTT4WpwoGKP2WO8/b0d+yiTray33RPps/xdG+AsiUxEO3Yo1SgJ5VxoKk+z4jgdKIp95idtOsGCtfnYVLLAsIqlBd2GYeBSI1tzSR7dkBXCaVS6b8m/IWNEsm3T8=; 7:NZhvis5nD1UYQJHnzMTf4bgJiNUj4RII6wFHun+q2ijN8HTucfjTWAY446hNGiSvq8UskiDVCoh4sHHrnwygCRPHh72YpmfRoPKJEYO3j9Wh3YHBCCVFCpBBgX8/0W6lL4Tb6YmMaSflI5wGju8cob8jYj8pvAo2vRG2geNX+oy6Ii9o5dBrDaNhZyvD4pkcNgl7/8xH2eGuXOdIhG65MRmF2/TmIVWK709w75CG5AtF7szRF2y39N91iHckQwpf x-ms-exchange-antispam-srfa-diagnostics: SOS; x-ms-office365-filtering-correlation-id: cc1bc51b-4e01-4690-f9da-08d5f842dad1 x-ms-office365-filtering-ht: Tenant x-microsoft-antispam: BCL:0; PCL:0; RULEID:(7020095)(4652040)(8989117)(4534165)(4627221)(201703031133081)(201702281549075)(8990107)(5600074)(711020)(4618075)(2017052603328)(7153060)(7193020); SRVR:AM0PR0502MB4051; x-ms-traffictypediagnostic: AM0PR0502MB4051: x-microsoft-antispam-prvs: x-exchange-antispam-report-test: UriScan:(60795455431006); x-ms-exchange-senderadcheck: 1 x-exchange-antispam-report-cfa-test: BCL:0; PCL:0; RULEID:(8211001083)(6040522)(2401047)(5005006)(8121501046)(93006095)(93001095)(3231311)(944501410)(52105095)(10201501046)(3002001)(6055026)(149027)(150027)(6041310)(20161123560045)(20161123562045)(20161123558120)(20161123564045)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(6072148)(201708071742011)(7699016); SRVR:AM0PR0502MB4051; BCL:0; PCL:0; RULEID:; SRVR:AM0PR0502MB4051; x-forefront-prvs: 07521929C1 x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(366004)(396003)(136003)(346002)(39860400002)(376002)(199004)(189003)(5250100002)(256004)(11346002)(14444005)(26005)(102836004)(53936002)(6506007)(68736007)(7696005)(2501003)(6116002)(3846002)(99286004)(66066001)(6246003)(2900100001)(229853002)(446003)(305945005)(186003)(476003)(14454004)(106356001)(8936002)(25786009)(81156014)(74316002)(316002)(86362001)(2906002)(486006)(55016002)(110136005)(9686003)(76176011)(5660300001)(6436002)(81166006)(15650500001)(7736002)(105586002)(97736004)(33656002)(478600001); DIR:OUT; SFP:1101; SCL:1; SRVR:AM0PR0502MB4051; H:AM0PR0502MB4019.eurprd05.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; A:1; MX:1; received-spf: None (protection.outlook.com: mellanox.com does not designate permitted sender hosts) x-microsoft-antispam-message-info: W3Sb+hhh36ZYF1QRskikm263/a+uS20DSrOqIVlHaFycIjPHrzTL/5TGbZlAAgfyX57j3p1vgYErfFzDMh3UBBAzzpOg16IN6shEOoce90Bip1htRw6cd5w2mU17jpVEnGCf1yuxLMtEzLeyv5AvqlGynIkq8E04RSArYIG8S59CmDfbAsfDLjTOU5Pot9nEwVcMehbZhZD2tPhSjfaiaKw0Jl+06/V/sWpHbNMw3GgmpUzZ3dUZyWUWr6oxWGsmDeLRpuUdiRKuq4HpmxaQYma63n+LuPh0mrRbhyY0m0anB7k2RImthEygEiKmXA1I6yLyWA+C5Uq/I56PSTxK8nfkcmBbAOus9AJHb4RO7+E= spamdiagnosticoutput: 1:99 spamdiagnosticmetadata: NSPM Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: Mellanox.com X-MS-Exchange-CrossTenant-Network-Message-Id: cc1bc51b-4e01-4690-f9da-08d5f842dad1 X-MS-Exchange-CrossTenant-originalarrivaltime: 02 Aug 2018 06:40:36.4267 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: a652971c-7d2e-4d9b-a6a4-d149256f461b X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM0PR0502MB4051 Subject: Re: [dpdk-dev] [PATCH] ethdev: ownership change log message priority change 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: Thu, 02 Aug 2018 06:40:38 -0000 From: Stephen Hemminger > Changing ownership of a port is a normal event, and should not be logged = at > ERR priority. Downgrade to a DEBUG message. >=20 > Signed-off-by: Stephen Hemminger Acked-by: Matan Azrad > --- > lib/librte_ethdev/rte_ethdev.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) >=20 > diff --git a/lib/librte_ethdev/rte_ethdev.c b/lib/librte_ethdev/rte_ethde= v.c > index 2e40c3fba99a..c7ab15722f98 100644 > --- a/lib/librte_ethdev/rte_ethdev.c > +++ b/lib/librte_ethdev/rte_ethdev.c > @@ -463,7 +463,7 @@ _rte_eth_dev_owner_set(const uint16_t port_id, const > uint64_t old_owner_id, >=20 > port_owner->id =3D new_owner->id; >=20 > - RTE_ETHDEV_LOG(ERR, "Port %u owner is %s_%016"PRIx64"\n", > + RTE_ETHDEV_LOG(DEBUG, "Port %u owner is %s_%016"PRIx64"\n", > port_id, new_owner->name, new_owner->id); >=20 > return 0; > -- > 2.18.0