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 5BAB645A2A; Wed, 25 Sep 2024 17:17:58 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 45ACD4025D; Wed, 25 Sep 2024 17:17:58 +0200 (CEST) Received: from mail-qt1-f173.google.com (mail-qt1-f173.google.com [209.85.160.173]) by mails.dpdk.org (Postfix) with ESMTP id 5F82D400EF for ; Wed, 25 Sep 2024 17:17:56 +0200 (CEST) Received: by mail-qt1-f173.google.com with SMTP id d75a77b69052e-45821ebb4e6so52485861cf.2 for ; Wed, 25 Sep 2024 08:17:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20230601.gappssmtp.com; s=20230601; t=1727277476; x=1727882276; darn=dpdk.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:subject:cc:to:from:date:from:to:cc:subject:date :message-id:reply-to; bh=gPrW83MFwG3f7U+YNqoTW7j1O587namZJjCAXDOqGD8=; b=gJEDQYUr39eDBsWwgWiGuVHtqWSiJPgJ/dx1qX/X253tOw/rBpTUXudCMjSi8/dczE I4MwU84hyEYXjJX13YYw/zAacLq95bthBZoGnaF52BvGccJgyZZrHDIzaOadoV5XsOCm pnvX/AICuixSVpw4Z+kWy8fWBRfPmCiY/0HlLNWBSgsP10FQ98y+aLDDrGSq9ZjjFsN9 81K6vq9QlaNuUiX67qoXFLP2b4estknV9k7OFTp1i1Suqm5uhb8a1pRMpe8oDXYORLb1 aEOKgCTIvjxPgcAbuYW2EPQJ0YLUkNz0YVztJc//nwNITrMnkj9Lp2XasPjP/wNNhojL dz7A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1727277476; x=1727882276; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:subject:cc:to:from:date:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=gPrW83MFwG3f7U+YNqoTW7j1O587namZJjCAXDOqGD8=; b=eRmZE/Xz0XDZswgLTM8bLlPTSqopsRGUabFqq9VQ+o70ex/hzKw43fSduQ4NqGcUbM BVvvNrT8noyNP6AfvP+L2P0NYYSDwpfA+hbPUAi2yG31fJxhYpXPslkl3t58932pYn2Z glRX4n2KSp4q5bEkLbRHU9qkXi/NWFb9xNrqKe/SCvJatOQcxj+oCeXE/h3jmtHC1jxE XRCbCjb+9YrwVCjkNC9jS4QQv4LHMYam0ZBA5l0yBeBzBTv3Ruf71OesLLNypBao0RYn LtExgEvRK1d7Sob1sNbm6uiZ7R2+FZV/y8gN0BUsqguOOOFwvQRAWNNE1S8u0CBN5C8T mNwQ== X-Gm-Message-State: AOJu0Yxu2X8gKfm92OAKYQDygI7wx3hX7ErGw6XhddxVGjtTcetwrlDx oMYL03DCx/r6c438IXKIDJloCPGiC7wNPhJJqN+UlJFKow2cW2AdkI3/yVkYz2Q= X-Google-Smtp-Source: AGHT+IGyTtK7xRQl2bud0nSzv8mSr48h62rbaArGoz5ZiEA0X10uPtOXUFf3iyK4IWzKf55s62opxw== X-Received: by 2002:ac8:5a0e:0:b0:458:4ded:fe99 with SMTP id d75a77b69052e-45b5e032481mr47562101cf.42.1727277475771; Wed, 25 Sep 2024 08:17:55 -0700 (PDT) Received: from fedora ([173.242.185.50]) by smtp.gmail.com with ESMTPSA id d75a77b69052e-45b525b2096sm16930661cf.46.2024.09.25.08.17.55 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 25 Sep 2024 08:17:55 -0700 (PDT) Date: Wed, 25 Sep 2024 08:17:54 -0700 From: Stephen Hemminger To: Howard Wang Cc: , Subject: Re: [PATCH] net/r8169: add support for hw initialization Message-ID: <20240925081754.420f5d09@fedora> In-Reply-To: <20240925075421.38142-1-howard_wang@realsil.com.cn> References: <20240925075421.38142-1-howard_wang@realsil.com.cn> X-Mailer: Claws Mail 4.3.0 (GTK 3.24.43; x86_64-redhat-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit 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 Wed, 25 Sep 2024 15:54:21 +0800 Howard Wang wrote: > + PMD_INIT_LOG(NOTICE, "r8169: Assign randomly generated MAC address " > + "%02x:%02x:%02x:%02x:%02x:%02x", > + perm_addr->addr_bytes[0], > + perm_addr->addr_bytes[1], > + perm_addr->addr_bytes[2], > + perm_addr->addr_bytes[3], > + perm_addr->addr_bytes[4], > + perm_addr->addr_bytes[5]); DPDK rte_ether.h has a function to format ethernet addresses for printing, please use that.