diff mbox series

[v2,20/27] event/dlb2: move dlb_resource_new.c to dlb_resource.c

Message ID 1617132940-24800-21-git-send-email-timothy.mcdaniel@intel.com (mailing list archive)
State Superseded
Delegated to: Jerin Jacob
Headers show
Series Add DLB V2.5 | expand

Checks

Context Check Description
ci/checkpatch success coding style OK

Commit Message

McDaniel, Timothy March 30, 2021, 7:35 p.m. UTC
The file dlb_resource_new.c now contains all of the low level
functions required to support both DLB v2.0 and DLB v2.5, and
the original file (dlb_resource.c) was removed in the previous
commit, so rename dlb_resource_new.c to dlb_resource.c, and
update the meson build file so that the new file is built.

Signed-off-by: Timothy McDaniel <timothy.mcdaniel@intel.com>
---
 drivers/event/dlb2/meson.build                                  | 2 +-
 .../event/dlb2/pf/base/{dlb2_resource_new.c => dlb2_resource.c} | 0
 2 files changed, 1 insertion(+), 1 deletion(-)
 rename drivers/event/dlb2/pf/base/{dlb2_resource_new.c => dlb2_resource.c} (100%)

Comments

Jerin Jacob April 3, 2021, 10:29 a.m. UTC | #1
On Wed, Mar 31, 2021 at 1:09 AM Timothy McDaniel
<timothy.mcdaniel@intel.com> wrote:
>
> The file dlb_resource_new.c now contains all of the low level
> functions required to support both DLB v2.0 and DLB v2.5, and
> the original file (dlb_resource.c) was removed in the previous
> commit, so rename dlb_resource_new.c to dlb_resource.c, and
> update the meson build file so that the new file is built.
>
> Signed-off-by: Timothy McDaniel <timothy.mcdaniel@intel.com>

Please squash 19 and 20 and have comments like "event/dlb2: switch
over to new implementation" or so.


> ---
>  drivers/event/dlb2/meson.build                                  | 2 +-
>  .../event/dlb2/pf/base/{dlb2_resource_new.c => dlb2_resource.c} | 0
>  2 files changed, 1 insertion(+), 1 deletion(-)
>  rename drivers/event/dlb2/pf/base/{dlb2_resource_new.c => dlb2_resource.c} (100%)
>
> diff --git a/drivers/event/dlb2/meson.build b/drivers/event/dlb2/meson.build
> index d8cfd377f..f22638b8e 100644
> --- a/drivers/event/dlb2/meson.build
> +++ b/drivers/event/dlb2/meson.build
> @@ -13,7 +13,7 @@ sources = files('dlb2.c',
>                 'dlb2_xstats.c',
>                 'pf/dlb2_main.c',
>                 'pf/dlb2_pf.c',
> -               'pf/base/dlb2_resource_new.c',
> +               'pf/base/dlb2_resource.c',
>                 'rte_pmd_dlb2.c',
>                 'dlb2_selftest.c'
>  )
> diff --git a/drivers/event/dlb2/pf/base/dlb2_resource_new.c b/drivers/event/dlb2/pf/base/dlb2_resource.c
> similarity index 100%
> rename from drivers/event/dlb2/pf/base/dlb2_resource_new.c
> rename to drivers/event/dlb2/pf/base/dlb2_resource.c
> --
> 2.23.0
>
diff mbox series

Patch

diff --git a/drivers/event/dlb2/meson.build b/drivers/event/dlb2/meson.build
index d8cfd377f..f22638b8e 100644
--- a/drivers/event/dlb2/meson.build
+++ b/drivers/event/dlb2/meson.build
@@ -13,7 +13,7 @@  sources = files('dlb2.c',
 		'dlb2_xstats.c',
 		'pf/dlb2_main.c',
 		'pf/dlb2_pf.c',
-		'pf/base/dlb2_resource_new.c',
+		'pf/base/dlb2_resource.c',
 		'rte_pmd_dlb2.c',
 		'dlb2_selftest.c'
 )
diff --git a/drivers/event/dlb2/pf/base/dlb2_resource_new.c b/drivers/event/dlb2/pf/base/dlb2_resource.c
similarity index 100%
rename from drivers/event/dlb2/pf/base/dlb2_resource_new.c
rename to drivers/event/dlb2/pf/base/dlb2_resource.c