From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ferruh Yigit Subject: Re: [PATCH v3 02/34] net/ice: Add basic structures Date: Wed, 12 Dec 2018 16:57:38 +0000 Message-ID: <9e00c720-060e-15a1-056f-0368759f949a@intel.com> References: <1542956179-80951-1-git-send-email-wenzhuo.lu@intel.com> <1544598004-27099-1-git-send-email-wenzhuo.lu@intel.com> <1544598004-27099-3-git-send-email-wenzhuo.lu@intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit To: "Stillwell Jr, Paul M" , "Lu, Wenzhuo" , "dev@dpdk.org" Return-path: Received: from mga01.intel.com (mga01.intel.com [192.55.52.88]) by dpdk.org (Postfix) with ESMTP id 8A5481B112 for ; Wed, 12 Dec 2018 17:57:41 +0100 (CET) In-Reply-To: Content-Language: en-US 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 12/12/2018 4:54 PM, Stillwell Jr, Paul M wrote: > The "ice_hw_autogen.h" file is an auto generated file from the HW engineers. It is not created dynamically when the driver is built. I'm not sure why they didn't call it ice_registers.h, but that was their decision. my bad, it is in first patch was first patch didn't hit the mail list and I didn't recognized that it is missing. Now I released the patch, patchset should be complete, I will test again. > > Paul > > > -----Original Message----- > From: Yigit, Ferruh > Sent: Wednesday, December 12, 2018 7:19 AM > To: Lu, Wenzhuo ; dev@dpdk.org > Cc: Stillwell Jr, Paul M > Subject: Re: [dpdk-dev] [PATCH v3 02/34] net/ice: Add basic structures > > On 12/12/2018 6:59 AM, Wenzhuo Lu wrote: >> From: Paul M Stillwell Jr >> >> Add the structures required by the NIC. >> >> Signed-off-by: Paul M Stillwell Jr > > <...> > >> @@ -0,0 +1,869 @@ >> +/* SPDX-License-Identifier: BSD-3-Clause >> + * Copyright(c) 2001-2018 >> + */ >> + >> +#ifndef _ICE_TYPE_H_ >> +#define _ICE_TYPE_H_ >> + >> +#define ETH_ALEN 6 >> + >> +#define ETH_HEADER_LEN 14 >> + >> +#define BIT(a) (1UL << (a)) >> +#define BIT_ULL(a) (1ULL << (a)) >> + >> +#define BITS_PER_BYTE 8 >> + >> +#define ICE_BYTES_PER_WORD 2 >> +#define ICE_BYTES_PER_DWORD 4 >> +#define ICE_MAX_TRAFFIC_CLASS 8 >> + >> + >> +#include "ice_status.h" >> +#include "ice_hw_autogen.h" > > Where this "ice_hw_autogen.h header file should come from? Name suggest it will be auto-generated but my build system not able to find it. >