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 5E1D2A0503; Wed, 18 May 2022 17:26:29 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 4757440221; Wed, 18 May 2022 17:26:29 +0200 (CEST) Received: from mail-pj1-f44.google.com (mail-pj1-f44.google.com [209.85.216.44]) by mails.dpdk.org (Postfix) with ESMTP id 0488D400D6 for ; Wed, 18 May 2022 17:26:27 +0200 (CEST) Received: by mail-pj1-f44.google.com with SMTP id a23-20020a17090acb9700b001df4e9f4870so2415988pju.1 for ; Wed, 18 May 2022 08:26:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20210112.gappssmtp.com; s=20210112; h=date:from:to:cc:subject:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=7vTUD4xOX12KAX/4ydX/ZHY6CYoWbjnwrSFaIT/XxpA=; b=UfYuovAbNIFdgR3u1fNnzTZWbJW/aGFbh8wQpXICCVoPzvPYZSJR+w0kLmCPz/IhWo FgYg2ar+3/kCbiIQ8VKvg/gqYJcCuH7NySYmzKx4SJMNbppuDQDtMXayzpg87pwnw5MJ sjKazFnz8LwG7ffPDh/jrKSfgOWIhDxtyMyt8FP1vaQOfptiKYB0XHIY3c2e2Z9BMH9W TTiccTK0qtwGNhN1LhWT8L4efP6GwZIdc4Xl/kVfpwlu4pnYujJIHra6RLoYC9z4D+u2 c6Jw611d43nw8W24fF6uOIM96HjA1BwfBw6qHDchj+ce+CSh4tn5PRb7wvM27qqeKOhM 8s4A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:date:from:to:cc:subject:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=7vTUD4xOX12KAX/4ydX/ZHY6CYoWbjnwrSFaIT/XxpA=; b=KBsVqBKKZ2i5f/JjgP/OVzqduEj9PnSzfDoZlUu0DOePN+vozvond2abi3HC8WTcDn F/rw2z2RLS2q9bClGAfv9vD0HUdzHmhsjXnYnfNXPHGyS40GOYSDI826+ZS1IsAdWhwE mP90LqYu1pVMq19OhDtIP18tFNMANZWVelQEYudPrRzlR0ev5pgKc6RbFvl8jS2v7XtC 1S6mFx3PSVP/1IY+feZpP4dWZo1nkfyJfgGb+2/W7BDLkM0vA/Bajln0i6FYfLi76kUN I2skyyMum6ebgczOc/eYLpt41Alb2c/6sZow7ku6nHVEJDBz7TYlzdb6IlcpLlx38bob Sa3A== X-Gm-Message-State: AOAM532t09zGqxLMjPr9UeISYys1Ktoa1t10s9Q3k6xqoEyOrMkSB8XK 0RYrrvkUP8/PXV3bLzQkvby05w== X-Google-Smtp-Source: ABdhPJyNRhC/4LPzaDG3EpnGKRueUOXZSeJQPs/JhJ3WHZjoK6HBWJ2HezERcUyCkuRM4Kv/t9Bc4Q== X-Received: by 2002:a17:90b:19c8:b0:1df:2b09:ce99 with SMTP id nm8-20020a17090b19c800b001df2b09ce99mr520846pjb.185.1652887587183; Wed, 18 May 2022 08:26:27 -0700 (PDT) Received: from hermes.local (204-195-112-199.wavecable.com. [204.195.112.199]) by smtp.gmail.com with ESMTPSA id w17-20020a62c711000000b0050dc7628166sm2063428pfg.64.2022.05.18.08.26.26 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 18 May 2022 08:26:26 -0700 (PDT) Date: Wed, 18 May 2022 08:26:24 -0700 From: Stephen Hemminger To: Junfeng Guo Cc: qi.z.zhang@intel.com, jingjing.wu@intel.com, beilei.xing@intel.com, dev@dpdk.org Subject: Re: [RFC v3 01/11] net/idpf/base: introduce base code Message-ID: <20220518082624.71af1ec3@hermes.local> In-Reply-To: <20220518082531.1604266-2-junfeng.guo@intel.com> References: <20220509091133.3752306-10-junfeng.guo@intel.com> <20220518082531.1604266-1-junfeng.guo@intel.com> <20220518082531.1604266-2-junfeng.guo@intel.com> 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, 18 May 2022 16:25:21 +0800 Junfeng Guo wrote: > + /* TODO hardcode a mac addr for now */ > + hw->mac.addr[0] = 0x00; > + hw->mac.addr[1] = 0x00; > + hw->mac.addr[2] = 0x00; > + hw->mac.addr[3] = 0x00; > + hw->mac.addr[4] = 0x03; > + hw->mac.addr[5] = 0x14; DPDK has ability to assign random ether address, please use that.