[v3,11/11] net/nfp: refact the meson build file

Message ID 20231013060653.1006410-12-chaoyong.he@corigine.com (mailing list archive)
State Accepted, archived
Delegated to: Ferruh Yigit
Headers
Series Unify the PMD coding style |

Checks

Context Check Description
ci/checkpatch success coding style OK
ci/loongarch-compilation success Compilation OK
ci/loongarch-unit-testing success Unit Testing PASS
ci/Intel-compilation success Compilation OK
ci/intel-Testing success Testing PASS
ci/intel-Functional success Functional PASS
ci/github-robot: build success github build: passed
ci/iol-broadcom-Functional success Functional Testing PASS
ci/iol-broadcom-Performance success Performance Testing PASS
ci/iol-mellanox-Performance success Performance Testing PASS
ci/iol-intel-Performance success Performance Testing PASS
ci/iol-intel-Functional success Functional Testing PASS
ci/iol-sample-apps-testing success Testing PASS
ci/iol-compile-amd64-testing success Testing PASS
ci/iol-unit-amd64-testing success Testing PASS
ci/iol-unit-arm64-testing success Testing PASS
ci/iol-compile-arm64-testing success Testing PASS

Commit Message

Chaoyong He Oct. 13, 2023, 6:06 a.m. UTC
  Make the source files follow the alphabeta sequence.
Also update the copyright header line.

Signed-off-by: Chaoyong He <chaoyong.he@corigine.com>
Reviewed-by: Long Wu <long.wu@corigine.com>
Reviewed-by: Peng Zhang <peng.zhang@corigine.com>
---
 drivers/net/nfp/meson.build | 23 ++++++++++++-----------
 1 file changed, 12 insertions(+), 11 deletions(-)
  

Comments

Ferruh Yigit Oct. 16, 2023, 4:50 p.m. UTC | #1
On 10/13/2023 7:06 AM, Chaoyong He wrote:
> Make the source files follow the alphabeta sequence.
> Also update the copyright header line.
> 
> Signed-off-by: Chaoyong He <chaoyong.he@corigine.com>
> Reviewed-by: Long Wu <long.wu@corigine.com>
> Reviewed-by: Peng Zhang <peng.zhang@corigine.com>
> ---
>  drivers/net/nfp/meson.build | 23 ++++++++++++-----------
>  1 file changed, 12 insertions(+), 11 deletions(-)
> 
> diff --git a/drivers/net/nfp/meson.build b/drivers/net/nfp/meson.build
> index 7627c3e3f1..40e9ef8524 100644
> --- a/drivers/net/nfp/meson.build
> +++ b/drivers/net/nfp/meson.build
> @@ -1,10 +1,11 @@
>  # SPDX-License-Identifier: BSD-3-Clause
> -# Copyright(c) 2018 Intel Corporation
> +# Copyright(c) 2018 Corigine, Inc.
>  

ack
  

Patch

diff --git a/drivers/net/nfp/meson.build b/drivers/net/nfp/meson.build
index 7627c3e3f1..40e9ef8524 100644
--- a/drivers/net/nfp/meson.build
+++ b/drivers/net/nfp/meson.build
@@ -1,10 +1,11 @@ 
 # SPDX-License-Identifier: BSD-3-Clause
-# Copyright(c) 2018 Intel Corporation
+# Copyright(c) 2018 Corigine, Inc.
 
 if not is_linux or not dpdk_conf.get('RTE_ARCH_64')
     build = false
     reason = 'only supported on 64-bit Linux'
 endif
+
 sources = files(
         'flower/nfp_conntrack.c',
         'flower/nfp_flower.c',
@@ -13,30 +14,30 @@  sources = files(
         'flower/nfp_flower_representor.c',
         'nfd3/nfp_nfd3_dp.c',
         'nfdk/nfp_nfdk_dp.c',
-        'nfpcore/nfp_nsp.c',
         'nfpcore/nfp_cppcore.c',
-        'nfpcore/nfp_resource.c',
-        'nfpcore/nfp_mip.c',
-        'nfpcore/nfp_nffw.c',
-        'nfpcore/nfp_rtsym.c',
-        'nfpcore/nfp_nsp_cmds.c',
         'nfpcore/nfp_crc.c',
         'nfpcore/nfp_dev.c',
+        'nfpcore/nfp_hwinfo.c',
+        'nfpcore/nfp_mip.c',
         'nfpcore/nfp_mutex.c',
+        'nfpcore/nfp_nffw.c',
+        'nfpcore/nfp_nsp.c',
+        'nfpcore/nfp_nsp_cmds.c',
         'nfpcore/nfp_nsp_eth.c',
-        'nfpcore/nfp_hwinfo.c',
+        'nfpcore/nfp_resource.c',
+        'nfpcore/nfp_rtsym.c',
         'nfpcore/nfp_target.c',
         'nfpcore/nfp6000_pcie.c',
         'nfp_common.c',
-        'nfp_ctrl.c',
-        'nfp_rxtx.c',
         'nfp_cpp_bridge.c',
-        'nfp_ethdev_vf.c',
+        'nfp_ctrl.c',
         'nfp_ethdev.c',
+        'nfp_ethdev_vf.c',
         'nfp_flow.c',
         'nfp_ipsec.c',
         'nfp_logs.c',
         'nfp_mtr.c',
+        'nfp_rxtx.c',
 )
 
 deps += ['hash', 'security']