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.

Paul


-----Original Message-----
From: Yigit, Ferruh 
Sent: Wednesday, December 12, 2018 7:19 AM
To: Lu, Wenzhuo <wenzhuo...@intel.com>; dev@dpdk.org
Cc: Stillwell Jr, Paul M <paul.m.stillwell...@intel.com>
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 <paul.m.stillwell...@intel.com>
> 
> Add the structures required by the NIC.
> 
> Signed-off-by: Paul M Stillwell Jr <paul.m.stillwell...@intel.com>

<...>

> @@ -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.

Reply via email to