From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id D8241A052A; Fri, 10 Jul 2020 20:07:31 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 9365B1DEE0; Fri, 10 Jul 2020 20:07:30 +0200 (CEST) Received: from mail-pg1-f195.google.com (mail-pg1-f195.google.com [209.85.215.195]) by dpdk.org (Postfix) with ESMTP id 3167C1DEC6 for ; Fri, 10 Jul 2020 20:07:29 +0200 (CEST) Received: by mail-pg1-f195.google.com with SMTP id d4so2864183pgk.4 for ; Fri, 10 Jul 2020 11:07:28 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20150623.gappssmtp.com; s=20150623; h=date:from:to:cc:subject:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=39/RFWDLZmuD2JM+o2/hLbcRhNxetBDF3bKIZXVfUrM=; b=bVt9SEiOCtRibVcccIPmBiikQ404SqvAYn0djocCmpqr4+1iyOCQ/ICkU61nMUnL6o o8fLLEgfytxRfUnwj7Q35Bo2j9WjjWj7DYntez8nktHnVS1ba5TDukIL9ADJTcXUCsAd fVUPhBj2nTw4rD2wl4g3jbp2thHmmYElPKvzWGBuqWk6aCk3cEnCChoEJ5HPB8YM0exP 6fpKdGOVvhBB31A4EHCBRQr/soYbhj4upGYTv2B5NBiPtYlAj8z7exWTlBX0lOQnuUgj +aTubnkf5gI1jl26hDr7dXoSWdnOEKPpYaoPAhZrhj8iXlIDxn6+PpyYM0WfI3YWbYJf 7zlA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=39/RFWDLZmuD2JM+o2/hLbcRhNxetBDF3bKIZXVfUrM=; b=gqeJIOH/O8ZfZWM9AxYRvcESSflKzclWuO/NkqQRAnwzbKafTFOvQ12Wh4ErMVRH+1 WX6TsjLlHvwTVk0/K/K+b7k8dT6fZsyXaejkK9KZL87qTkDX1DhoZnsCvM3KbvUVtbW7 LiqZnqQJX6vpZRG2dJBZV5ERMr7tLXMQItCpEV2MSVukzawJqB4/fY2AFnE95ksggAa+ 7ElxBWliYdgf07xcAvCSlrSqFEjLVj2CpJJvHeM3oE+9ITb129b0hfkVoh7+RipWA++J iHCp3+bM+bikIt0tkIeEHKELLnQ4Mtzjctx1iIRLy4hUX8ObTfQo9znSkgmzAXomiOQp 1BbQ== X-Gm-Message-State: AOAM531X+0LKHIO69p3SUHZo7BnpqeIh96TeMoVvWcsOk1yCcs9PHrgx UhMgRUC3bkEK2rVAH29w6ZubKw== X-Google-Smtp-Source: ABdhPJx2nRLTh1vzUYz2h6GDVdL9+DBd70M7zxXRvFHMMdArWiy/te3HMpgVNcpj6DAIwVRScXbfKg== X-Received: by 2002:a63:c152:: with SMTP id p18mr61246749pgi.64.1594404448104; Fri, 10 Jul 2020 11:07:28 -0700 (PDT) Received: from hermes.lan (204-195-22-127.wavecable.com. [204.195.22.127]) by smtp.gmail.com with ESMTPSA id a14sm6849842pfh.81.2020.07.10.11.07.27 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 10 Jul 2020 11:07:27 -0700 (PDT) Date: Fri, 10 Jul 2020 11:07:19 -0700 From: Stephen Hemminger To: Hemant Agrawal Cc: dev@dpdk.org, maryam.tahhan@intel.com, reshma.pattan@intel.com Message-ID: <20200710110719.1b6d428b@hermes.lan> In-Reply-To: <20200710160610.22844-1-hemant.agrawal@nxp.com> References: <20200710160610.22844-1-hemant.agrawal@nxp.com> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: Re: [dpdk-dev] [PATCH] app/procinfo: enhance port and mempool info 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: , Errors-To: dev-bounces@dpdk.org Sender: "dev" On Fri, 10 Jul 2020 21:36:10 +0530 Hemant Agrawal wrote: > + printf("\t MAC: %02" PRIx8 ":%02" PRIx8 ":%02" PRIx8 > + ":%02" PRIx8 ":%02" PRIx8 ":%02" PRIx8"\n", > + ethaddr.addr_bytes[0], ethaddr.addr_bytes[1], > + ethaddr.addr_bytes[2], ethaddr.addr_bytes[3], > + ethaddr.addr_bytes[4], ethaddr.addr_bytes[5]); Please use rte_ether_format_addr() here.