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 A7E57A00C5; Wed, 16 Feb 2022 17:33:49 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 779E1410FF; Wed, 16 Feb 2022 17:33:49 +0100 (CET) Received: from mga09.intel.com (mga09.intel.com [134.134.136.24]) by mails.dpdk.org (Postfix) with ESMTP id A96A040150; Wed, 16 Feb 2022 17:33:47 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1645029228; x=1676565228; h=message-id:date:subject:to:cc:references:from: in-reply-to:content-transfer-encoding:mime-version; bh=a2M0hn0RxVnvvvJat68UwIYz/c1y17mcqG2JLZZw9fE=; b=cAX0MHg+9OWehU+eWd0/a/joO9S5lpcaZobHOo90zht+5p83YtYvIo6i EJTtfPG8hP6FSVUvw/zRNWiiCcVVJZo4204kX6ff7z4PhuC/buOesSohI SIwLYj9TvgXG0fpKuy33mftHvuOpTREknGUTGdP1LBKhZMtP1bSGQAKOx +9GIlsf43o/3D4XEoI9fYs10M1WjZxETM6bMzPfZWPLPTLUeeYbTOy5IM O77M1nJ9z9XfqhbRaYxmrD5G3zK4RGq6arZMAc7YXXYhTBvJVl1if5z8K F9AwvueHndDEyu9foJQwLe2BrnotPaKPDIJ0xf94xclpUaijbtmE547eN A==; X-IronPort-AV: E=McAfee;i="6200,9189,10260"; a="250400609" X-IronPort-AV: E=Sophos;i="5.88,374,1635231600"; d="scan'208";a="250400609" Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by orsmga102.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 16 Feb 2022 08:33:26 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.88,374,1635231600"; d="scan'208";a="681584307" Received: from fmsmsx601.amr.corp.intel.com ([10.18.126.81]) by fmsmga001.fm.intel.com with ESMTP; 16 Feb 2022 08:33:26 -0800 Received: from fmsmsx607.amr.corp.intel.com (10.18.126.87) by fmsmsx601.amr.corp.intel.com (10.18.126.81) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2308.20; Wed, 16 Feb 2022 08:33:25 -0800 Received: from fmsmsx606.amr.corp.intel.com (10.18.126.86) by fmsmsx607.amr.corp.intel.com (10.18.126.87) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2308.20; Wed, 16 Feb 2022 08:33:25 -0800 Received: from fmsedg601.ED.cps.intel.com (10.1.192.135) by fmsmsx606.amr.corp.intel.com (10.18.126.86) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2308.20 via Frontend Transport; Wed, 16 Feb 2022 08:33:25 -0800 Received: from NAM04-BN8-obe.outbound.protection.outlook.com (104.47.74.44) by edgegateway.intel.com (192.55.55.70) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2308.20; Wed, 16 Feb 2022 08:33:24 -0800 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=VjW4DTXWUHxyUb4Cg2yLMU9G1vHAVIcmS2+UOka2K1HGWX73wIjGhFIH6zJdQqTSnHvOepx0FLzA/11uKNSDKd+1oHcqzStnGhdxvvQgBS7RXilbm+vwlBnqN5Yz+y9ha8e9nclIDrQwoQPuAtoQ62fJOSyY9onC4tt/vCbaEys47m6PiwKsx6bDKB0ptmuydse4YNV/cmoNPDS2GrjvJolt5cyIEWn2FhpiifB08Bw6ceySh7nzFDQg//Aqtm45i8kVxZrgFFyENj5xcq9n8ZHokqQY09k498yuaKsLq2Z9ak8d+/pWrhsBpw4GryD7fUtv7MfjXL8dijtN5wshfw== 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-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=Ra7dYAMw8+5BUwuIoD70RL1p12CsE1z/1x27Bl505vM=; b=ktsnocl5K4+TTvNQMBql7pdWh0GneAWh3psF5CiGws0Kw2KCX9X8ISXOs2/9H00UDd3GiQqfkua9XSmZGse9S8AAORIN33O3YpK7FjJrhMzVHsVjp9zu4EE0tVq6u+0HRMIWN2O0faZ5z3CUm0Lw3PiTVwLhHzjSL1HzQsxF3I9gm81O1zzy3cyMhDFuztdUcSqQYcecwygKi1rNR29W/Ukboy04ZOiwhOOdgURETIVLJ6Bmscuu/KYp0gzjSfHg1L3jcmku0UIv03LjLCy09hOZbs83DN7Ke0rci4gz2Wp5JSXy+MDq1VOPKpPqguZxEurDefvVvZcDp1gcLmGzlA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=none; dmarc=none; dkim=none; arc=none Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=intel.com; Received: from PH0PR11MB5000.namprd11.prod.outlook.com (2603:10b6:510:41::19) by MWHPR11MB0079.namprd11.prod.outlook.com (2603:10b6:301:6b::38) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4975.18; Wed, 16 Feb 2022 16:33:23 +0000 Received: from PH0PR11MB5000.namprd11.prod.outlook.com ([fe80::98be:5506:5020:28a2]) by PH0PR11MB5000.namprd11.prod.outlook.com ([fe80::98be:5506:5020:28a2%4]) with mapi id 15.20.4995.016; Wed, 16 Feb 2022 16:33:23 +0000 Message-ID: <42edc381-3770-c775-e3fa-41adade8d832@intel.com> Date: Wed, 16 Feb 2022 16:33:16 +0000 Subject: Re: [PATCH] ethdev: fix MAC address in telemetry device info Content-Language: en-US To: David Marchand , CC: , Christophe Fontaine , "Thomas Monjalon" , Andrew Rybchenko , Gowrishankar Muthukrishnan References: <20220216141316.19127-1-david.marchand@redhat.com> From: Ferruh Yigit X-User: ferruhy In-Reply-To: <20220216141316.19127-1-david.marchand@redhat.com> Content-Type: text/plain; charset="UTF-8"; format=flowed Content-Transfer-Encoding: 7bit X-ClientProxiedBy: LO4P123CA0018.GBRP123.PROD.OUTLOOK.COM (2603:10a6:600:150::23) To PH0PR11MB5000.namprd11.prod.outlook.com (2603:10b6:510:41::19) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: ba114154-f42d-4a0f-3c85-08d9f16a0c5e X-MS-TrafficTypeDiagnostic: MWHPR11MB0079:EE_ X-Microsoft-Antispam-PRVS: X-MS-Oob-TLC-OOBClassifiers: OLM:4502; X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: qvNSGBhxUOjdTKzubZHi4cpeTF2JV+71VnGsJGbuk9M97Hy52NpehC6SA/046ClkoCMEDV9HG9MPHD1fR8h+QFZeoP89Cv5zn53dKqxWm98e83ohzHUkU/m+3CrjWwoM4QMTJNcqEvqUyEHI1hPWsdalYKh0K7ZH15x2lGQi+KIZXI2HufrslEMf+XpDJaN4rLW4l+xin09jLi9gI4VM9W0qiWvfIeEaDNcxiT459Xs+NS2ZSGirJR8AW/bKW6EPsMCf5QuX5GXflOcc+kv64HYf+on0HTBBqyrtJuHZU3VKGw/fRAhW2N6dBtckZwNnuvn0vpsxdjqN9Ma1qeRzm4vmrDT93Q3rEJk6FsccUgu+XDen5OBlZT4TetPDuu5iKfQPEfufxQuOvJ3Dmdf+q/eTaFfw7P0unoISlmFbhuMHMLVeMuAu/QRx3OehUPV+aqKy8M6kud8l99fxS8vT/WXZWvFVgrL2BjthJNVE5+g/9n+zzeSA0oeORA9rDLcORzvvz6Y2xdZ+dH5w6ZD5mHqUjp31ptbN8/VeIjtN68Or4lT1RIyUh/JAoDpqRPvp93oKbRWzhT1+LXN8At3iNeOg3Eyiawo9vgcIP/m+NjuyfewI+zvsymPAzAZvwcM7wX4jW7CsR868dFQY8ZcrUcOJGEPqZo/z4vsnPnwHZcL0Rdh1StFJ0RxpRD6g97MBy7ni0HATn4kU8AwR3NFA3w== X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:PH0PR11MB5000.namprd11.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230001)(366004)(508600001)(26005)(31686004)(6506007)(6512007)(53546011)(2616005)(6666004)(316002)(54906003)(6486002)(36756003)(5660300002)(44832011)(186003)(4326008)(31696002)(38100700002)(82960400001)(2906002)(66556008)(66946007)(86362001)(66476007)(8936002)(8676002)(4744005)(45980500001); DIR:OUT; SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?B?azRUOXdqNmNkV0lCRHlrZnp1d3J6YVBLaUR5SmUrSHFoUHhueTlvcjE0QUY0?= =?utf-8?B?U1djek01VXQ1akxlTFJtL2hOaTJZSjQ5S1RJeFBSb1dLZysvZXB6SGNaUVoz?= =?utf-8?B?OVowejRJKzE0UWs4cVVGOVlPSFUwVTNjeHJOaFJkVnFUTk4ya3Nta2Zsb3VB?= =?utf-8?B?QTFCQzF0QzFCUVhtNFowWXZlWjMrNFlzTGpOSVF4aSs5QmFTSis0SVNrUndj?= =?utf-8?B?VjBlUkEwcTlJOFFKQVh6R0dIRXZWZ3BCaFJuVEdBMkkySHdyVlMzNGV3SWMv?= =?utf-8?B?MHRHZm9uN0IvODRKNUFmVDRTVG5YbkhFT1ZWQ1ozeGg2UmlFMzJmNWYwU3lF?= =?utf-8?B?YkFjMnFiZU8wQ0FTU0crTGNuOWdSZDlKZlczL01kaD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NiQ8ptU=3D?= X-MS-Exchange-CrossTenant-Network-Message-Id: ba114154-f42d-4a0f-3c85-08d9f16a0c5e X-MS-Exchange-CrossTenant-AuthSource: PH0PR11MB5000.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 16 Feb 2022 16:33:22.9259 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 46c98d88-e344-4ed4-8496-4ed7712e255d X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: xmGN4UU+Ax0R/f4im4RcI+CxmFXnILIvrSuvE3ah0a+21XLLPAb9SW3MOvN+Q2yuxSDf7CcOSsdtO3qywEJxTw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: MWHPR11MB0079 X-OriginatorOrg: intel.com 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 On 2/16/2022 2:13 PM, David Marchand wrote: > The right size for a human readable mac is RTE_ETHER_ADDR_FMT_SIZE. > While at it, the net library provides a helper for mac address > formatting. Prefer it. > > Fixes: 58b43c1ddfd1 ("ethdev: add telemetry endpoint for device info") > Cc:stable@dpdk.org > > Reported-by: Christophe Fontaine > Signed-off-by: David Marchand > Reviewed-by: Ferruh Yigit Applied to dpdk-next-net/main, thanks.