[v3,06/33] net/ena: rename base folder to hal
Checks
Commit Message
From: Shai Brandes <shaibran@amazon.com>
Changed the base HAL folder to hal.
Signed-off-by: Shai Brandes <shaibran@amazon.com>
Reviewed-by: Amit Bernstein <amitbern@amazon.com>
---
drivers/net/ena/{base => hal}/ena_com.c | 0
drivers/net/ena/{base => hal}/ena_com.h | 0
drivers/net/ena/{base => hal}/ena_defs/ena_admin_defs.h | 0
drivers/net/ena/{base => hal}/ena_defs/ena_common_defs.h | 0
drivers/net/ena/{base => hal}/ena_defs/ena_eth_io_defs.h | 0
drivers/net/ena/{base => hal}/ena_defs/ena_gen_info.h | 0
drivers/net/ena/{base => hal}/ena_defs/ena_includes.h | 0
drivers/net/ena/{base => hal}/ena_defs/ena_regs_defs.h | 0
drivers/net/ena/{base => hal}/ena_eth_com.c | 0
drivers/net/ena/{base => hal}/ena_eth_com.h | 0
drivers/net/ena/{base => hal}/ena_plat.h | 0
drivers/net/ena/{base => hal}/ena_plat_dpdk.h | 0
drivers/net/ena/meson.build | 6 +++---
13 files changed, 3 insertions(+), 3 deletions(-)
rename drivers/net/ena/{base => hal}/ena_com.c (100%)
rename drivers/net/ena/{base => hal}/ena_com.h (100%)
rename drivers/net/ena/{base => hal}/ena_defs/ena_admin_defs.h (100%)
rename drivers/net/ena/{base => hal}/ena_defs/ena_common_defs.h (100%)
rename drivers/net/ena/{base => hal}/ena_defs/ena_eth_io_defs.h (100%)
rename drivers/net/ena/{base => hal}/ena_defs/ena_gen_info.h (100%)
rename drivers/net/ena/{base => hal}/ena_defs/ena_includes.h (100%)
rename drivers/net/ena/{base => hal}/ena_defs/ena_regs_defs.h (100%)
rename drivers/net/ena/{base => hal}/ena_eth_com.c (100%)
rename drivers/net/ena/{base => hal}/ena_eth_com.h (100%)
rename drivers/net/ena/{base => hal}/ena_plat.h (100%)
rename drivers/net/ena/{base => hal}/ena_plat_dpdk.h (100%)
Comments
On 3/6/2024 12:24 PM, shaibran@amazon.com wrote:
> From: Shai Brandes <shaibran@amazon.com>
>
> Changed the base HAL folder to hal.
>
Hi Shai,
What is the motivation behind this change?
This not a functional change and technically you can rename the folder
to whatever you want, but in dpdk drivers common name is 'base', what is
the expected benefit to diverge from the common naming?
> -----Original Message-----
> From: Ferruh Yigit <ferruh.yigit@amd.com>
> Sent: Friday, March 8, 2024 7:24 PM
> To: Brandes, Shai <shaibran@amazon.com>
> Cc: dev@dpdk.org
> Subject: RE: [EXTERNAL] [PATCH v3 06/33] net/ena: rename base folder to
> hal
>
> CAUTION: This email originated from outside of the organization. Do not click
> links or open attachments unless you can confirm the sender and know the
> content is safe.
>
>
>
> On 3/6/2024 12:24 PM, shaibran@amazon.com wrote:
> > From: Shai Brandes <shaibran@amazon.com>
> >
> > Changed the base HAL folder to hal.
> >
>
> Hi Shai,
>
> What is the motivation behind this change?
>
> This not a functional change and technically you can rename the folder to
> whatever you want, but in dpdk drivers common name is 'base', what is the
> expected benefit to diverge from the common naming?
[Brandes, Shai] no real reason, though we can change it to align to the hal notation, will revert
similarity index 100%
rename from drivers/net/ena/base/ena_com.c
rename to drivers/net/ena/hal/ena_com.c
similarity index 100%
rename from drivers/net/ena/base/ena_com.h
rename to drivers/net/ena/hal/ena_com.h
similarity index 100%
rename from drivers/net/ena/base/ena_defs/ena_admin_defs.h
rename to drivers/net/ena/hal/ena_defs/ena_admin_defs.h
similarity index 100%
rename from drivers/net/ena/base/ena_defs/ena_common_defs.h
rename to drivers/net/ena/hal/ena_defs/ena_common_defs.h
similarity index 100%
rename from drivers/net/ena/base/ena_defs/ena_eth_io_defs.h
rename to drivers/net/ena/hal/ena_defs/ena_eth_io_defs.h
similarity index 100%
rename from drivers/net/ena/base/ena_defs/ena_gen_info.h
rename to drivers/net/ena/hal/ena_defs/ena_gen_info.h
similarity index 100%
rename from drivers/net/ena/base/ena_defs/ena_includes.h
rename to drivers/net/ena/hal/ena_defs/ena_includes.h
similarity index 100%
rename from drivers/net/ena/base/ena_defs/ena_regs_defs.h
rename to drivers/net/ena/hal/ena_defs/ena_regs_defs.h
similarity index 100%
rename from drivers/net/ena/base/ena_eth_com.c
rename to drivers/net/ena/hal/ena_eth_com.c
similarity index 100%
rename from drivers/net/ena/base/ena_eth_com.h
rename to drivers/net/ena/hal/ena_eth_com.h
similarity index 100%
rename from drivers/net/ena/base/ena_plat.h
rename to drivers/net/ena/hal/ena_plat.h
similarity index 100%
rename from drivers/net/ena/base/ena_plat_dpdk.h
rename to drivers/net/ena/hal/ena_plat_dpdk.h
@@ -10,10 +10,10 @@ endif
sources = files(
'ena_ethdev.c',
'ena_rss.c',
- 'base/ena_com.c',
- 'base/ena_eth_com.c',
+ 'hal/ena_com.c',
+ 'hal/ena_eth_com.c',
)
deps += ['timer']
-includes += include_directories('base', 'base/ena_defs')
+includes += include_directories('hal', 'hal/ena_defs')