net/mlx: align to SPDX format
PATCH 1/1 net/mlx: align to SPDX format
Aligning Mellanox SPDX copyrights to a single format. In addition replace to SPDX licence files which were missed.
--- doc/guides/nics/mlx4.rst | 4 ++-- doc/guides/nics/mlx5.rst | 4 ++-- drivers/net/mlx4/Makefile | 31 ++----------------------------- drivers/net/mlx4/mlx4.c | 2 +- drivers/net/mlx4/mlx4.h | 2 +- drivers/net/mlx4/mlx4_ethdev.c | 2 +- drivers/net/mlx4/mlx4_flow.c | 2 +- drivers/net/mlx4/mlx4_flow.h | 2 +- drivers/net/mlx4/mlx4_glue.c | 2 +- drivers/net/mlx4/mlx4_glue.h | 2 +- drivers/net/mlx4/mlx4_intr.c | 2 +- drivers/net/mlx4/mlx4_mr.c | 2 +- drivers/net/mlx4/mlx4_prm.h | 2 +- drivers/net/mlx4/mlx4_rxq.c | 2 +- drivers/net/mlx4/mlx4_rxtx.c | 2 +- drivers/net/mlx4/mlx4_rxtx.h | 2 +- drivers/net/mlx4/mlx4_txq.c | 2 +- drivers/net/mlx4/mlx4_utils.c | 2 +- drivers/net/mlx4/mlx4_utils.h | 2 +- drivers/net/mlx5/Makefile | 31 ++----------------------------- drivers/net/mlx5/mlx5.c | 2 +- drivers/net/mlx5/mlx5.h | 2 +- drivers/net/mlx5/mlx5_defs.h | 2 +- drivers/net/mlx5/mlx5_ethdev.c | 2 +- drivers/net/mlx5/mlx5_flow.c | 2 +- drivers/net/mlx5/mlx5_glue.c | 2 +- drivers/net/mlx5/mlx5_glue.h | 2 +- drivers/net/mlx5/mlx5_mac.c | 2 +- drivers/net/mlx5/mlx5_mr.c | 2 +- drivers/net/mlx5/mlx5_prm.h | 2 +- drivers/net/mlx5/mlx5_rss.c | 2 +- drivers/net/mlx5/mlx5_rxmode.c | 2 +- drivers/net/mlx5/mlx5_rxq.c | 2 +- drivers/net/mlx5/mlx5_rxtx.c | 2 +- drivers/net/mlx5/mlx5_rxtx.h | 2 +- drivers/net/mlx5/mlx5_rxtx_vec.c | 2 +- drivers/net/mlx5/mlx5_rxtx_vec.h | 2 +- drivers/net/mlx5/mlx5_rxtx_vec_neon.h | 2 +- drivers/net/mlx5/mlx5_rxtx_vec_sse.h | 2 +- drivers/net/mlx5/mlx5_socket.c | 1 + drivers/net/mlx5/mlx5_stats.c | 2 +- drivers/net/mlx5/mlx5_trigger.c | 2 +- drivers/net/mlx5/mlx5_txq.c | 2 +- drivers/net/mlx5/mlx5_utils.h | 2 +- drivers/net/mlx5/mlx5_vlan.c | 2 +- 45 files changed, 49 insertions(+), 102 deletions(-)
doc/guides/nics/mlx4.rst +2 -2
@@ -1,6 +1,6 @@ -.. BSD LICENSE +.. SPDX-License-Identifier: BSD-3-Clause Copyright 2012 6WIND S.A. - Copyright 2015 Mellanox + Copyright 2015 Mellanox Technologies, Ltd Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions
doc/guides/nics/mlx5.rst +2 -2
@@ -1,6 +1,6 @@ -.. BSD LICENSE +.. SPDX-License-Identifier: BSD-3-Clause Copyright 2015 6WIND S.A. - Copyright 2015 Mellanox + Copyright 2015 Mellanox Technologies, Ltd Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions
drivers/net/mlx4/Makefile +2 -29
@@ -1,33 +1,6 @@ -# BSD LICENSE -# +# SPDX-License-Identifier: BSD-3-Clause # Copyright 2012 6WIND S.A. -# Copyright 2012 Mellanox -# -# Redistribution and use in source and binary forms, with or without -# modification, are permitted provided that the following conditions -# are met: -# -# * Redistributions of source code must retain the above copyright -# notice, this list of conditions and the following disclaimer. -# * Redistributions in binary form must reproduce the above copyright -# notice, this list of conditions and the following disclaimer in -# the documentation and/or other materials provided with the -# distribution. -# * Neither the name of 6WIND S.A. nor the names of its -# contributors may be used to endorse or promote products derived -# from this software without specific prior written permission. -# -# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS -# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT -# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR -# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT -# OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, -# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT -# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, -# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY -# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT -# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE -# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +# Copyright 2012 Mellanox Technologies, Ltd include $(RTE_SDK)/mk/rte.vars.mk
drivers/net/mlx4/mlx4.c +1 -1
@@ -1,6 +1,6 @@/* SPDX-License-Identifier: BSD-3-Clause * Copyright 2012 6WIND S.A. -* Copyright 2012 Mellanox +* Copyright 2012 Mellanox Technologies, Ltd */ /**
drivers/net/mlx4/mlx4.h +1 -1
@@ -1,6 +1,6 @@/* SPDX-License-Identifier: BSD-3-Clause * Copyright 2012 6WIND S.A. -* Copyright 2012 Mellanox +* Copyright 2012 Mellanox Technologies, Ltd */ #ifndef RTE_PMD_MLX4_H_
drivers/net/mlx4/mlx4_ethdev.c +1 -1
@@ -1,6 +1,6 @@/* SPDX-License-Identifier: BSD-3-Clause * Copyright 2017 6WIND S.A. -* Copyright 2017 Mellanox +* Copyright 2017 Mellanox Technologies, Ltd */ /**
drivers/net/mlx4/mlx4_flow.c +1 -1
@@ -1,6 +1,6 @@/* SPDX-License-Identifier: BSD-3-Clause * Copyright 2017 6WIND S.A. -* Copyright 2017 Mellanox +* Copyright 2017 Mellanox Technologies, Ltd */ /**
drivers/net/mlx4/mlx4_flow.h +1 -1
@@ -1,6 +1,6 @@/* SPDX-License-Identifier: BSD-3-Clause * Copyright 2017 6WIND S.A. -* Copyright 2017 Mellanox +* Copyright 2017 Mellanox Technologies, Ltd */ #ifndef RTE_PMD_MLX4_FLOW_H_
drivers/net/mlx4/mlx4_glue.c +1 -1
@@ -1,6 +1,6 @@/* SPDX-License-Identifier: BSD-3-Clause * Copyright 2018 6WIND S.A. -* Copyright 2018 Mellanox +* Copyright 2018 Mellanox Technologies, Ltd */ #include <stddef.h>
drivers/net/mlx4/mlx4_glue.h +1 -1
@@ -1,6 +1,6 @@/* SPDX-License-Identifier: BSD-3-Clause * Copyright 2018 6WIND S.A. -* Copyright 2018 Mellanox +* Copyright 2018 Mellanox Technologies, Ltd */ #ifndef MLX4_GLUE_H_
drivers/net/mlx4/mlx4_intr.c +1 -1
@@ -1,6 +1,6 @@/* SPDX-License-Identifier: BSD-3-Clause * Copyright 2017 6WIND S.A. -* Copyright 2017 Mellanox +* Copyright 2017 Mellanox Technologies, Ltd */ /**
drivers/net/mlx4/mlx4_mr.c +1 -1
@@ -1,6 +1,6 @@/* SPDX-License-Identifier: BSD-3-Clause * Copyright 2017 6WIND S.A. -* Copyright 2017 Mellanox +* Copyright 2017 Mellanox Technologies, Ltd */ /**
drivers/net/mlx4/mlx4_prm.h +1 -1
@@ -1,6 +1,6 @@/* SPDX-License-Identifier: BSD-3-Clause * Copyright 2017 6WIND S.A. -* Copyright 2017 Mellanox +* Copyright 2017 Mellanox Technologies, Ltd */ #ifndef MLX4_PRM_H_
drivers/net/mlx4/mlx4_rxq.c +1 -1
@@ -1,6 +1,6 @@/* SPDX-License-Identifier: BSD-3-Clause * Copyright 2017 6WIND S.A. -* Copyright 2017 Mellanox +* Copyright 2017 Mellanox Technologies, Ltd */ /**
drivers/net/mlx4/mlx4_rxtx.c +1 -1
@@ -1,6 +1,6 @@/* SPDX-License-Identifier: BSD-3-Clause * Copyright 2017 6WIND S.A. -* Copyright 2017 Mellanox +* Copyright 2017 Mellanox Technologies, Ltd */ /**
drivers/net/mlx4/mlx4_rxtx.h +1 -1
@@ -1,6 +1,6 @@/* SPDX-License-Identifier: BSD-3-Clause * Copyright 2017 6WIND S.A. -* Copyright 2017 Mellanox +* Copyright 2017 Mellanox Technologies, Ltd */ #ifndef MLX4_RXTX_H_
drivers/net/mlx4/mlx4_txq.c +1 -1
@@ -1,6 +1,6 @@/* SPDX-License-Identifier: BSD-3-Clause * Copyright 2017 6WIND S.A. -* Copyright 2017 Mellanox +* Copyright 2017 Mellanox Technologies, Ltd */ /**
drivers/net/mlx4/mlx4_utils.c +1 -1
@@ -1,6 +1,6 @@/* SPDX-License-Identifier: BSD-3-Clause * Copyright 2017 6WIND S.A. -* Copyright 2017 Mellanox +* Copyright 2017 Mellanox Technologies, Ltd */ /**
drivers/net/mlx4/mlx4_utils.h +1 -1
@@ -1,6 +1,6 @@/* SPDX-License-Identifier: BSD-3-Clause * Copyright 2017 6WIND S.A. -* Copyright 2017 Mellanox +* Copyright 2017 Mellanox Technologies, Ltd */ #ifndef MLX4_UTILS_H_
drivers/net/mlx5/Makefile +2 -29
@@ -1,33 +1,6 @@ -# BSD LICENSE -# +# SPDX-License-Identifier: BSD-3-Clause # Copyright 2015 6WIND S.A. -# Copyright 2015 Mellanox. -# -# Redistribution and use in source and binary forms, with or without -# modification, are permitted provided that the following conditions -# are met: -# -# * Redistributions of source code must retain the above copyright -# notice, this list of conditions and the following disclaimer. -# * Redistributions in binary form must reproduce the above copyright -# notice, this list of conditions and the following disclaimer in -# the documentation and/or other materials provided with the -# distribution. -# * Neither the name of 6WIND S.A. nor the names of its -# contributors may be used to endorse or promote products derived -# from this software without specific prior written permission. -# -# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS -# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT -# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR -# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT -# OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, -# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT -# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, -# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY -# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT -# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE -# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +# Copyright 2015 Mellanox Technologies, Ltd include $(RTE_SDK)/mk/rte.vars.mk
drivers/net/mlx5/mlx5.c +1 -1
@@ -1,6 +1,6 @@/* SPDX-License-Identifier: BSD-3-Clause * Copyright 2015 6WIND S.A. -* Copyright 2015 Mellanox. +* Copyright 2015 Mellanox Technologies, Ltd */ #include <stddef.h>
drivers/net/mlx5/mlx5.h +1 -1
@@ -1,6 +1,6 @@/* SPDX-License-Identifier: BSD-3-Clause * Copyright 2015 6WIND S.A. -* Copyright 2015 Mellanox. +* Copyright 2015 Mellanox Technologies, Ltd */ #ifndef RTE_PMD_MLX5_H_
drivers/net/mlx5/mlx5_defs.h +1 -1
@@ -1,6 +1,6 @@/* SPDX-License-Identifier: BSD-3-Clause * Copyright 2015 6WIND S.A. -* Copyright 2015 Mellanox. +* Copyright 2015 Mellanox Technologies, Ltd */ #ifndef RTE_PMD_MLX5_DEFS_H_
drivers/net/mlx5/mlx5_ethdev.c +1 -1
@@ -1,6 +1,6 @@/* SPDX-License-Identifier: BSD-3-Clause * Copyright 2015 6WIND S.A. -* Copyright 2015 Mellanox. +* Copyright 2015 Mellanox Technologies, Ltd */ #define _GNU_SOURCE
drivers/net/mlx5/mlx5_flow.c +1 -1
@@ -1,6 +1,6 @@/* SPDX-License-Identifier: BSD-3-Clause * Copyright 2016 6WIND S.A. -* Copyright 2016 Mellanox. +* Copyright 2016 Mellanox Technologies, Ltd */ #include <sys/queue.h>
drivers/net/mlx5/mlx5_glue.c +1 -1
@@ -1,6 +1,6 @@/* SPDX-License-Identifier: BSD-3-Clause * Copyright 2018 6WIND S.A. -* Copyright 2018 Mellanox Technologies, Ltd. +* Copyright 2018 Mellanox Technologies, Ltd */ #include <errno.h>
drivers/net/mlx5/mlx5_glue.h +1 -1
@@ -1,6 +1,6 @@/* SPDX-License-Identifier: BSD-3-Clause * Copyright 2018 6WIND S.A. -* Copyright 2018 Mellanox Technologies, Ltd. +* Copyright 2018 Mellanox Technologies, Ltd */ #ifndef MLX5_GLUE_H_
drivers/net/mlx5/mlx5_mac.c +1 -1
@@ -1,6 +1,6 @@/* SPDX-License-Identifier: BSD-3-Clause * Copyright 2015 6WIND S.A. -* Copyright 2015 Mellanox. +* Copyright 2015 Mellanox Technologies, Ltd */ #include <stddef.h>
drivers/net/mlx5/mlx5_mr.c +1 -1
@@ -1,6 +1,6 @@/* SPDX-License-Identifier: BSD-3-Clause * Copyright 2016 6WIND S.A. -* Copyright 2016 Mellanox. +* Copyright 2016 Mellanox Technologies, Ltd */ #ifdef PEDANTIC
drivers/net/mlx5/mlx5_prm.h +1 -1
@@ -1,6 +1,6 @@/* SPDX-License-Identifier: BSD-3-Clause * Copyright 2016 6WIND S.A. -* Copyright 2016 Mellanox. +* Copyright 2016 Mellanox Technologies, Ltd */ #ifndef RTE_PMD_MLX5_PRM_H_
drivers/net/mlx5/mlx5_rss.c +1 -1
@@ -1,6 +1,6 @@/* SPDX-License-Identifier: BSD-3-Clause * Copyright 2015 6WIND S.A. -* Copyright 2015 Mellanox. +* Copyright 2015 Mellanox Technologies, Ltd */ #include <stddef.h>
drivers/net/mlx5/mlx5_rxmode.c +1 -1
@@ -1,6 +1,6 @@/* SPDX-License-Identifier: BSD-3-Clause * Copyright 2015 6WIND S.A. -* Copyright 2015 Mellanox. +* Copyright 2015 Mellanox Technologies, Ltd */ #include <stddef.h>
drivers/net/mlx5/mlx5_rxq.c +1 -1
@@ -1,6 +1,6 @@/* SPDX-License-Identifier: BSD-3-Clause * Copyright 2015 6WIND S.A. -* Copyright 2015 Mellanox. +* Copyright 2015 Mellanox Technologies, Ltd */ #include <stddef.h>
drivers/net/mlx5/mlx5_rxtx.c +1 -1
@@ -1,6 +1,6 @@/* SPDX-License-Identifier: BSD-3-Clause * Copyright 2015 6WIND S.A. -* Copyright 2015 Mellanox. +* Copyright 2015 Mellanox Technologies, Ltd */ #include <assert.h>
drivers/net/mlx5/mlx5_rxtx.h +1 -1
@@ -1,6 +1,6 @@/* SPDX-License-Identifier: BSD-3-Clause * Copyright 2015 6WIND S.A. -* Copyright 2015 Mellanox. +* Copyright 2015 Mellanox Technologies, Ltd */ #ifndef RTE_PMD_MLX5_RXTX_H_
drivers/net/mlx5/mlx5_rxtx_vec.c +1 -1
@@ -1,6 +1,6 @@/* SPDX-License-Identifier: BSD-3-Clause * Copyright 2017 6WIND S.A. -* Copyright 2017 Mellanox. +* Copyright 2017 Mellanox Technologies, Ltd */ #include <assert.h>
drivers/net/mlx5/mlx5_rxtx_vec.h +1 -1
@@ -1,6 +1,6 @@/* SPDX-License-Identifier: BSD-3-Clause * Copyright 2017 6WIND S.A. -* Copyright 2017 Mellanox. +* Copyright 2017 Mellanox Technologies, Ltd */ #ifndef RTE_PMD_MLX5_RXTX_VEC_H_
drivers/net/mlx5/mlx5_rxtx_vec_neon.h +1 -1
@@ -1,6 +1,6 @@/* SPDX-License-Identifier: BSD-3-Clause * Copyright 2017 6WIND S.A. -* Copyright 2017 Mellanox. +* Copyright 2017 Mellanox Technologies, Ltd */ #ifndef RTE_PMD_MLX5_RXTX_VEC_NEON_H_
drivers/net/mlx5/mlx5_rxtx_vec_sse.h +1 -1
@@ -1,6 +1,6 @@/* SPDX-License-Identifier: BSD-3-Clause * Copyright 2017 6WIND S.A. -* Copyright 2017 Mellanox. +* Copyright 2017 Mellanox Technologies, Ltd */ #ifndef RTE_PMD_MLX5_RXTX_VEC_SSE_H_
drivers/net/mlx5/mlx5_socket.c +1 -0
@@ -1,5 +1,6 @@/* SPDX-License-Identifier: BSD-3-Clause * Copyright 2016 6WIND S.A. +* Copyright 2016 Mellanox Technologies, Ltd */ #define _GNU_SOURCE
drivers/net/mlx5/mlx5_stats.c +1 -1
@@ -1,6 +1,6 @@/* SPDX-License-Identifier: BSD-3-Clause * Copyright 2015 6WIND S.A. -* Copyright 2015 Mellanox. +* Copyright 2015 Mellanox Technologies, Ltd */ #include <inttypes.h>
drivers/net/mlx5/mlx5_trigger.c +1 -1
@@ -1,6 +1,6 @@/* SPDX-License-Identifier: BSD-3-Clause * Copyright 2015 6WIND S.A. -* Copyright 2015 Mellanox. +* Copyright 2015 Mellanox Technologies, Ltd */ #include <unistd.h>
drivers/net/mlx5/mlx5_txq.c +1 -1
@@ -1,6 +1,6 @@/* SPDX-License-Identifier: BSD-3-Clause * Copyright 2015 6WIND S.A. -* Copyright 2015 Mellanox. +* Copyright 2015 Mellanox Technologies, Ltd */ #include <stddef.h>
drivers/net/mlx5/mlx5_utils.h +1 -1
@@ -1,6 +1,6 @@/* SPDX-License-Identifier: BSD-3-Clause * Copyright 2015 6WIND S.A. -* Copyright 2015 Mellanox. +* Copyright 2015 Mellanox Technologies, Ltd */ #ifndef RTE_PMD_MLX5_UTILS_H_
drivers/net/mlx5/mlx5_vlan.c +1 -1
@@ -1,6 +1,6 @@/* SPDX-License-Identifier: BSD-3-Clause * Copyright 2015 6WIND S.A. -* Copyright 2015 Mellanox. +* Copyright 2015 Mellanox Technologies, Ltd */ #include <stddef.h>
Signature · 1 line
2.12.0
doc/guides/nics/mlx4.rst line 6
Quoted 13 lines · Shahaf Shuler
doc/guides/nics/mlx4.rst +2
-2@@ -1,6 +1,6 @@ -.. BSD LICENSE +.. SPDX-License-Identifier: BSD-3-Clause Copyright 2012 6WIND S.A. - Copyright 2015 Mellanox + Copyright 2015 Mellanox Technologies, Ltd Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions
Is it intentional to keep rest of the licensing related text?
Tuesday, March 20, 2018 7:26 PM, Ferruh Yigit:
Quoted 15 lines
Subject: Re: [dpdk-dev] [PATCH] net/mlx: align to SPDX format
Quoted 11 lines · Shahaf Shuler
doc/guides/nics/mlx4.rst index renamed from doc/guides/nics/mlx4.rst +0
-0
afeff276e..7ed46021d100644doc/guides/nics/mlx4.rst +2
-2@@ -1,6 +1,6 @@ -.. BSD LICENSE +.. SPDX-License-Identifier: BSD-3-Clause Copyright 2012 6WIND S.A. - Copyright 2015 Mellanox + Copyright 2015 Mellanox Technologies, Ltd
Quoted 5 lines
Quoted 3 lines
doc/guides/nics/mlx4.rst +0
-0Redistribution and use in source and binary forms, with or without modification, are permitted provided that the followingconditions
Is it intentional to keep rest of the licensing related text?
No, wrong scripting :).
Will be fixed in v2, along with more changes in different Mellanox related drivers.
v2 cover align SPDX Mellanox copyrights
In reply to Shahaf ShulerThis series is to align the format of the copyright in Mellanox related files.
On v2:
- remove completely the BSD licence from mlx PMD docs
- add more patches to align files not under drivers/net/mlx*
Shahaf Shuler (9):
net/mlx: align SPDX Mellanox copyrights
net/tap: align SPDX Mellanox copyrights
app/testpmd: align SPDX Mellanox copyrights
net/failsafe: align SPDX Mellanox copyrights
net/vdev_netvsc: align SPDX Mellanox copyrights
eal: align SPDX Mellanox copyrights
ethdev: align SPDX Mellanox copyrights
net: align SPDX Mellanox copyrights
doc: align SPDX Mellanox copyrights
app/test-pmd/cmdline_flow.c | 2 +- doc/guides/linux_gsg/linux_drivers.rst | 2 +- doc/guides/nics/mlx4.rst | 30 ++----------------- doc/guides/nics/mlx5.rst | 30 ++----------------- doc/guides/nics/vdev_netvsc.rst | 2 +- drivers/net/failsafe/failsafe.c | 2 +- drivers/net/failsafe/failsafe_args.c | 2 +- drivers/net/failsafe/failsafe_eal.c | 2 +- drivers/net/failsafe/failsafe_ether.c | 2 +- drivers/net/failsafe/failsafe_flow.c | 2 +- drivers/net/failsafe/failsafe_intr.c | 2 +- drivers/net/failsafe/failsafe_ops.c | 2 +- drivers/net/failsafe/failsafe_private.h | 2 +- drivers/net/failsafe/failsafe_rxtx.c | 2 +- drivers/net/mlx4/Makefile | 31 ++------------------ drivers/net/mlx4/mlx4.c | 2 +- drivers/net/mlx4/mlx4.h | 2 +- drivers/net/mlx4/mlx4_ethdev.c | 2 +- drivers/net/mlx4/mlx4_flow.c | 2 +- drivers/net/mlx4/mlx4_flow.h | 2 +- drivers/net/mlx4/mlx4_glue.c | 2 +- drivers/net/mlx4/mlx4_glue.h | 2 +- drivers/net/mlx4/mlx4_intr.c | 2 +- drivers/net/mlx4/mlx4_mr.c | 2 +- drivers/net/mlx4/mlx4_prm.h | 2 +- drivers/net/mlx4/mlx4_rxq.c | 2 +- drivers/net/mlx4/mlx4_rxtx.c | 2 +- drivers/net/mlx4/mlx4_rxtx.h | 2 +- drivers/net/mlx4/mlx4_txq.c | 2 +- drivers/net/mlx4/mlx4_utils.c | 2 +- drivers/net/mlx4/mlx4_utils.h | 2 +- drivers/net/mlx5/Makefile | 31 ++------------------ drivers/net/mlx5/mlx5.c | 2 +- drivers/net/mlx5/mlx5.h | 2 +- drivers/net/mlx5/mlx5_defs.h | 2 +- drivers/net/mlx5/mlx5_ethdev.c | 2 +- drivers/net/mlx5/mlx5_flow.c | 2 +- drivers/net/mlx5/mlx5_glue.c | 2 +- drivers/net/mlx5/mlx5_glue.h | 2 +- drivers/net/mlx5/mlx5_mac.c | 2 +- drivers/net/mlx5/mlx5_mr.c | 2 +- drivers/net/mlx5/mlx5_prm.h | 2 +- drivers/net/mlx5/mlx5_rss.c | 2 +- drivers/net/mlx5/mlx5_rxmode.c | 2 +- drivers/net/mlx5/mlx5_rxq.c | 2 +- drivers/net/mlx5/mlx5_rxtx.c | 2 +- drivers/net/mlx5/mlx5_rxtx.h | 2 +- drivers/net/mlx5/mlx5_rxtx_vec.c | 2 +- drivers/net/mlx5/mlx5_rxtx_vec.h | 2 +- drivers/net/mlx5/mlx5_rxtx_vec_neon.h | 2 +- drivers/net/mlx5/mlx5_rxtx_vec_sse.h | 2 +- drivers/net/mlx5/mlx5_socket.c | 1 + drivers/net/mlx5/mlx5_stats.c | 2 +- drivers/net/mlx5/mlx5_trigger.c | 2 +- drivers/net/mlx5/mlx5_txq.c | 2 +- drivers/net/mlx5/mlx5_utils.h | 2 +- drivers/net/mlx5/mlx5_vlan.c | 2 +- drivers/net/tap/rte_eth_tap.h | 2 +- drivers/net/tap/tap_bpf.h | 2 +- drivers/net/tap/tap_bpf_api.c | 2 +- drivers/net/tap/tap_bpf_insns.h | 2 +- drivers/net/tap/tap_bpf_program.c | 2 +- drivers/net/tap/tap_flow.c | 2 +- drivers/net/tap/tap_flow.h | 2 +- drivers/net/tap/tap_intr.c | 2 +- drivers/net/tap/tap_netlink.c | 2 +- drivers/net/tap/tap_netlink.h | 2 +- drivers/net/tap/tap_rss.h | 2 +- drivers/net/tap/tap_tcmsgs.c | 2 +- drivers/net/tap/tap_tcmsgs.h | 2 +- drivers/net/vdev_netvsc/Makefile | 2 +- drivers/net/vdev_netvsc/vdev_netvsc.c | 2 +- lib/librte_eal/common/arch/arm/rte_hypervisor.c | 2 +- .../common/arch/ppc_64/rte_hypervisor.c | 2 +- lib/librte_eal/common/arch/x86/rte_hypervisor.c | 2 +- lib/librte_eal/common/eal_common_hypervisor.c | 2 +- lib/librte_eal/common/include/rte_hypervisor.h | 2 +- lib/librte_ether/rte_flow.c | 2 +- lib/librte_ether/rte_flow.h | 2 +- lib/librte_ether/rte_flow_driver.h | 2 +- lib/librte_net/rte_esp.h | 2 +- 81 files changed, 85 insertions(+), 190 deletions(-)
Signature · 1 line
2.12.0
PATCH v2 1/9 net/mlx: align SPDX Mellanox copyrights
Aligning Mellanox SPDX copyrights to a single format. In addition replace to SPDX licence files which were missed.
--- doc/guides/nics/mlx4.rst | 30 ++--------------------------- doc/guides/nics/mlx5.rst | 30 ++--------------------------- drivers/net/mlx4/Makefile | 31 ++---------------------------- drivers/net/mlx4/mlx4.c | 2 +- drivers/net/mlx4/mlx4.h | 2 +- drivers/net/mlx4/mlx4_ethdev.c | 2 +- drivers/net/mlx4/mlx4_flow.c | 2 +- drivers/net/mlx4/mlx4_flow.h | 2 +- drivers/net/mlx4/mlx4_glue.c | 2 +- drivers/net/mlx4/mlx4_glue.h | 2 +- drivers/net/mlx4/mlx4_intr.c | 2 +- drivers/net/mlx4/mlx4_mr.c | 2 +- drivers/net/mlx4/mlx4_prm.h | 2 +- drivers/net/mlx4/mlx4_rxq.c | 2 +- drivers/net/mlx4/mlx4_rxtx.c | 2 +- drivers/net/mlx4/mlx4_rxtx.h | 2 +- drivers/net/mlx4/mlx4_txq.c | 2 +- drivers/net/mlx4/mlx4_utils.c | 2 +- drivers/net/mlx4/mlx4_utils.h | 2 +- drivers/net/mlx5/Makefile | 31 ++---------------------------- drivers/net/mlx5/mlx5.c | 2 +- drivers/net/mlx5/mlx5.h | 2 +- drivers/net/mlx5/mlx5_defs.h | 2 +- drivers/net/mlx5/mlx5_ethdev.c | 2 +- drivers/net/mlx5/mlx5_flow.c | 2 +- drivers/net/mlx5/mlx5_glue.c | 2 +- drivers/net/mlx5/mlx5_glue.h | 2 +- drivers/net/mlx5/mlx5_mac.c | 2 +- drivers/net/mlx5/mlx5_mr.c | 2 +- drivers/net/mlx5/mlx5_prm.h | 2 +- drivers/net/mlx5/mlx5_rss.c | 2 +- drivers/net/mlx5/mlx5_rxmode.c | 2 +- drivers/net/mlx5/mlx5_rxq.c | 2 +- drivers/net/mlx5/mlx5_rxtx.c | 2 +- drivers/net/mlx5/mlx5_rxtx.h | 2 +- drivers/net/mlx5/mlx5_rxtx_vec.c | 2 +- drivers/net/mlx5/mlx5_rxtx_vec.h | 2 +- drivers/net/mlx5/mlx5_rxtx_vec_neon.h | 2 +- drivers/net/mlx5/mlx5_rxtx_vec_sse.h | 2 +- drivers/net/mlx5/mlx5_socket.c | 1 + drivers/net/mlx5/mlx5_stats.c | 2 +- drivers/net/mlx5/mlx5_trigger.c | 2 +- drivers/net/mlx5/mlx5_txq.c | 2 +- drivers/net/mlx5/mlx5_utils.h | 2 +- drivers/net/mlx5/mlx5_vlan.c | 2 +- 45 files changed, 49 insertions(+), 154 deletions(-)
doc/guides/nics/mlx4.rst +2 -28
@@ -1,32 +1,6 @@ -.. BSD LICENSE +.. SPDX-License-Identifier: BSD-3-Clause Copyright 2012 6WIND S.A. - Copyright 2015 Mellanox - - Redistribution and use in source and binary forms, with or without - modification, are permitted provided that the following conditions - are met: - - * Redistributions of source code must retain the above copyright - notice, this list of conditions and the following disclaimer. - * Redistributions in binary form must reproduce the above copyright - notice, this list of conditions and the following disclaimer in - the documentation and/or other materials provided with the - distribution. - * Neither the name of 6WIND S.A. nor the names of its - contributors may be used to endorse or promote products derived - from this software without specific prior written permission. - - THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS - "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT - LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR - A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT - OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, - SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT - LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, - DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY - THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT - (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE - OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + Copyright 2015 Mellanox Technologies, Ltd MLX4 poll mode driver library =============================
doc/guides/nics/mlx5.rst +2 -28
@@ -1,32 +1,6 @@ -.. BSD LICENSE +.. SPDX-License-Identifier: BSD-3-Clause Copyright 2015 6WIND S.A. - Copyright 2015 Mellanox - - Redistribution and use in source and binary forms, with or without - modification, are permitted provided that the following conditions - are met: - - * Redistributions of source code must retain the above copyright - notice, this list of conditions and the following disclaimer. - * Redistributions in binary form must reproduce the above copyright - notice, this list of conditions and the following disclaimer in - the documentation and/or other materials provided with the - distribution. - * Neither the name of 6WIND S.A. nor the names of its - contributors may be used to endorse or promote products derived - from this software without specific prior written permission. - - THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS - "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT - LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR - A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT - OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, - SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT - LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, - DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY - THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT - (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE - OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + Copyright 2015 Mellanox Technologies, Ltd MLX5 poll mode driver =====================
drivers/net/mlx4/Makefile +2 -29
@@ -1,33 +1,6 @@ -# BSD LICENSE -# +# SPDX-License-Identifier: BSD-3-Clause # Copyright 2012 6WIND S.A. -# Copyright 2012 Mellanox -# -# Redistribution and use in source and binary forms, with or without -# modification, are permitted provided that the following conditions -# are met: -# -# * Redistributions of source code must retain the above copyright -# notice, this list of conditions and the following disclaimer. -# * Redistributions in binary form must reproduce the above copyright -# notice, this list of conditions and the following disclaimer in -# the documentation and/or other materials provided with the -# distribution. -# * Neither the name of 6WIND S.A. nor the names of its -# contributors may be used to endorse or promote products derived -# from this software without specific prior written permission. -# -# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS -# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT -# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR -# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT -# OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, -# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT -# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, -# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY -# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT -# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE -# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +# Copyright 2012 Mellanox Technologies, Ltd include $(RTE_SDK)/mk/rte.vars.mk
drivers/net/mlx4/mlx4.c +1 -1
@@ -1,6 +1,6 @@/* SPDX-License-Identifier: BSD-3-Clause * Copyright 2012 6WIND S.A. -* Copyright 2012 Mellanox +* Copyright 2012 Mellanox Technologies, Ltd */ /**
drivers/net/mlx4/mlx4.h +1 -1
@@ -1,6 +1,6 @@/* SPDX-License-Identifier: BSD-3-Clause * Copyright 2012 6WIND S.A. -* Copyright 2012 Mellanox +* Copyright 2012 Mellanox Technologies, Ltd */ #ifndef RTE_PMD_MLX4_H_
drivers/net/mlx4/mlx4_ethdev.c +1 -1
@@ -1,6 +1,6 @@/* SPDX-License-Identifier: BSD-3-Clause * Copyright 2017 6WIND S.A. -* Copyright 2017 Mellanox +* Copyright 2017 Mellanox Technologies, Ltd */ /**
drivers/net/mlx4/mlx4_flow.c +1 -1
@@ -1,6 +1,6 @@/* SPDX-License-Identifier: BSD-3-Clause * Copyright 2017 6WIND S.A. -* Copyright 2017 Mellanox +* Copyright 2017 Mellanox Technologies, Ltd */ /**
drivers/net/mlx4/mlx4_flow.h +1 -1
@@ -1,6 +1,6 @@/* SPDX-License-Identifier: BSD-3-Clause * Copyright 2017 6WIND S.A. -* Copyright 2017 Mellanox +* Copyright 2017 Mellanox Technologies, Ltd */ #ifndef RTE_PMD_MLX4_FLOW_H_
drivers/net/mlx4/mlx4_glue.c +1 -1
@@ -1,6 +1,6 @@/* SPDX-License-Identifier: BSD-3-Clause * Copyright 2018 6WIND S.A. -* Copyright 2018 Mellanox +* Copyright 2018 Mellanox Technologies, Ltd */ #include <stddef.h>
drivers/net/mlx4/mlx4_glue.h +1 -1
@@ -1,6 +1,6 @@/* SPDX-License-Identifier: BSD-3-Clause * Copyright 2018 6WIND S.A. -* Copyright 2018 Mellanox +* Copyright 2018 Mellanox Technologies, Ltd */ #ifndef MLX4_GLUE_H_
drivers/net/mlx4/mlx4_intr.c +1 -1
@@ -1,6 +1,6 @@/* SPDX-License-Identifier: BSD-3-Clause * Copyright 2017 6WIND S.A. -* Copyright 2017 Mellanox +* Copyright 2017 Mellanox Technologies, Ltd */ /**
drivers/net/mlx4/mlx4_mr.c +1 -1
@@ -1,6 +1,6 @@/* SPDX-License-Identifier: BSD-3-Clause * Copyright 2017 6WIND S.A. -* Copyright 2017 Mellanox +* Copyright 2017 Mellanox Technologies, Ltd */ /**
drivers/net/mlx4/mlx4_prm.h +1 -1
@@ -1,6 +1,6 @@/* SPDX-License-Identifier: BSD-3-Clause * Copyright 2017 6WIND S.A. -* Copyright 2017 Mellanox +* Copyright 2017 Mellanox Technologies, Ltd */ #ifndef MLX4_PRM_H_
drivers/net/mlx4/mlx4_rxq.c +1 -1
@@ -1,6 +1,6 @@/* SPDX-License-Identifier: BSD-3-Clause * Copyright 2017 6WIND S.A. -* Copyright 2017 Mellanox +* Copyright 2017 Mellanox Technologies, Ltd */ /**
drivers/net/mlx4/mlx4_rxtx.c +1 -1
@@ -1,6 +1,6 @@/* SPDX-License-Identifier: BSD-3-Clause * Copyright 2017 6WIND S.A. -* Copyright 2017 Mellanox +* Copyright 2017 Mellanox Technologies, Ltd */ /**
drivers/net/mlx4/mlx4_rxtx.h +1 -1
@@ -1,6 +1,6 @@/* SPDX-License-Identifier: BSD-3-Clause * Copyright 2017 6WIND S.A. -* Copyright 2017 Mellanox +* Copyright 2017 Mellanox Technologies, Ltd */ #ifndef MLX4_RXTX_H_
drivers/net/mlx4/mlx4_txq.c +1 -1
@@ -1,6 +1,6 @@/* SPDX-License-Identifier: BSD-3-Clause * Copyright 2017 6WIND S.A. -* Copyright 2017 Mellanox +* Copyright 2017 Mellanox Technologies, Ltd */ /**
drivers/net/mlx4/mlx4_utils.c +1 -1
@@ -1,6 +1,6 @@/* SPDX-License-Identifier: BSD-3-Clause * Copyright 2017 6WIND S.A. -* Copyright 2017 Mellanox +* Copyright 2017 Mellanox Technologies, Ltd */ /**
drivers/net/mlx4/mlx4_utils.h +1 -1
@@ -1,6 +1,6 @@/* SPDX-License-Identifier: BSD-3-Clause * Copyright 2017 6WIND S.A. -* Copyright 2017 Mellanox +* Copyright 2017 Mellanox Technologies, Ltd */ #ifndef MLX4_UTILS_H_
drivers/net/mlx5/Makefile +2 -29
@@ -1,33 +1,6 @@ -# BSD LICENSE -# +# SPDX-License-Identifier: BSD-3-Clause # Copyright 2015 6WIND S.A. -# Copyright 2015 Mellanox. -# -# Redistribution and use in source and binary forms, with or without -# modification, are permitted provided that the following conditions -# are met: -# -# * Redistributions of source code must retain the above copyright -# notice, this list of conditions and the following disclaimer. -# * Redistributions in binary form must reproduce the above copyright -# notice, this list of conditions and the following disclaimer in -# the documentation and/or other materials provided with the -# distribution. -# * Neither the name of 6WIND S.A. nor the names of its -# contributors may be used to endorse or promote products derived -# from this software without specific prior written permission. -# -# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS -# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT -# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR -# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT -# OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, -# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT -# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, -# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY -# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT -# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE -# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +# Copyright 2015 Mellanox Technologies, Ltd include $(RTE_SDK)/mk/rte.vars.mk
drivers/net/mlx5/mlx5.c +1 -1
@@ -1,6 +1,6 @@/* SPDX-License-Identifier: BSD-3-Clause * Copyright 2015 6WIND S.A. -* Copyright 2015 Mellanox. +* Copyright 2015 Mellanox Technologies, Ltd */ #include <stddef.h>
drivers/net/mlx5/mlx5.h +1 -1
@@ -1,6 +1,6 @@/* SPDX-License-Identifier: BSD-3-Clause * Copyright 2015 6WIND S.A. -* Copyright 2015 Mellanox. +* Copyright 2015 Mellanox Technologies, Ltd */ #ifndef RTE_PMD_MLX5_H_
drivers/net/mlx5/mlx5_defs.h +1 -1
@@ -1,6 +1,6 @@/* SPDX-License-Identifier: BSD-3-Clause * Copyright 2015 6WIND S.A. -* Copyright 2015 Mellanox. +* Copyright 2015 Mellanox Technologies, Ltd */ #ifndef RTE_PMD_MLX5_DEFS_H_
drivers/net/mlx5/mlx5_ethdev.c +1 -1
@@ -1,6 +1,6 @@/* SPDX-License-Identifier: BSD-3-Clause * Copyright 2015 6WIND S.A. -* Copyright 2015 Mellanox. +* Copyright 2015 Mellanox Technologies, Ltd */ #define _GNU_SOURCE
drivers/net/mlx5/mlx5_flow.c +1 -1
@@ -1,6 +1,6 @@/* SPDX-License-Identifier: BSD-3-Clause * Copyright 2016 6WIND S.A. -* Copyright 2016 Mellanox. +* Copyright 2016 Mellanox Technologies, Ltd */ #include <sys/queue.h>
drivers/net/mlx5/mlx5_glue.c +1 -1
@@ -1,6 +1,6 @@/* SPDX-License-Identifier: BSD-3-Clause * Copyright 2018 6WIND S.A. -* Copyright 2018 Mellanox Technologies, Ltd. +* Copyright 2018 Mellanox Technologies, Ltd */ #include <errno.h>
drivers/net/mlx5/mlx5_glue.h +1 -1
@@ -1,6 +1,6 @@/* SPDX-License-Identifier: BSD-3-Clause * Copyright 2018 6WIND S.A. -* Copyright 2018 Mellanox Technologies, Ltd. +* Copyright 2018 Mellanox Technologies, Ltd */ #ifndef MLX5_GLUE_H_
drivers/net/mlx5/mlx5_mac.c +1 -1
@@ -1,6 +1,6 @@/* SPDX-License-Identifier: BSD-3-Clause * Copyright 2015 6WIND S.A. -* Copyright 2015 Mellanox. +* Copyright 2015 Mellanox Technologies, Ltd */ #include <stddef.h>
drivers/net/mlx5/mlx5_mr.c +1 -1
@@ -1,6 +1,6 @@/* SPDX-License-Identifier: BSD-3-Clause * Copyright 2016 6WIND S.A. -* Copyright 2016 Mellanox. +* Copyright 2016 Mellanox Technologies, Ltd */ #ifdef PEDANTIC
drivers/net/mlx5/mlx5_prm.h +1 -1
@@ -1,6 +1,6 @@/* SPDX-License-Identifier: BSD-3-Clause * Copyright 2016 6WIND S.A. -* Copyright 2016 Mellanox. +* Copyright 2016 Mellanox Technologies, Ltd */ #ifndef RTE_PMD_MLX5_PRM_H_
drivers/net/mlx5/mlx5_rss.c +1 -1
@@ -1,6 +1,6 @@/* SPDX-License-Identifier: BSD-3-Clause * Copyright 2015 6WIND S.A. -* Copyright 2015 Mellanox. +* Copyright 2015 Mellanox Technologies, Ltd */ #include <stddef.h>
drivers/net/mlx5/mlx5_rxmode.c +1 -1
@@ -1,6 +1,6 @@/* SPDX-License-Identifier: BSD-3-Clause * Copyright 2015 6WIND S.A. -* Copyright 2015 Mellanox. +* Copyright 2015 Mellanox Technologies, Ltd */ #include <stddef.h>
drivers/net/mlx5/mlx5_rxq.c +1 -1
@@ -1,6 +1,6 @@/* SPDX-License-Identifier: BSD-3-Clause * Copyright 2015 6WIND S.A. -* Copyright 2015 Mellanox. +* Copyright 2015 Mellanox Technologies, Ltd */ #include <stddef.h>
drivers/net/mlx5/mlx5_rxtx.c +1 -1
@@ -1,6 +1,6 @@/* SPDX-License-Identifier: BSD-3-Clause * Copyright 2015 6WIND S.A. -* Copyright 2015 Mellanox. +* Copyright 2015 Mellanox Technologies, Ltd */ #include <assert.h>
drivers/net/mlx5/mlx5_rxtx.h +1 -1
@@ -1,6 +1,6 @@/* SPDX-License-Identifier: BSD-3-Clause * Copyright 2015 6WIND S.A. -* Copyright 2015 Mellanox. +* Copyright 2015 Mellanox Technologies, Ltd */ #ifndef RTE_PMD_MLX5_RXTX_H_
drivers/net/mlx5/mlx5_rxtx_vec.c +1 -1
@@ -1,6 +1,6 @@/* SPDX-License-Identifier: BSD-3-Clause * Copyright 2017 6WIND S.A. -* Copyright 2017 Mellanox. +* Copyright 2017 Mellanox Technologies, Ltd */ #include <assert.h>
drivers/net/mlx5/mlx5_rxtx_vec.h +1 -1
@@ -1,6 +1,6 @@/* SPDX-License-Identifier: BSD-3-Clause * Copyright 2017 6WIND S.A. -* Copyright 2017 Mellanox. +* Copyright 2017 Mellanox Technologies, Ltd */ #ifndef RTE_PMD_MLX5_RXTX_VEC_H_
drivers/net/mlx5/mlx5_rxtx_vec_neon.h +1 -1
@@ -1,6 +1,6 @@/* SPDX-License-Identifier: BSD-3-Clause * Copyright 2017 6WIND S.A. -* Copyright 2017 Mellanox. +* Copyright 2017 Mellanox Technologies, Ltd */ #ifndef RTE_PMD_MLX5_RXTX_VEC_NEON_H_
drivers/net/mlx5/mlx5_rxtx_vec_sse.h +1 -1
@@ -1,6 +1,6 @@/* SPDX-License-Identifier: BSD-3-Clause * Copyright 2017 6WIND S.A. -* Copyright 2017 Mellanox. +* Copyright 2017 Mellanox Technologies, Ltd */ #ifndef RTE_PMD_MLX5_RXTX_VEC_SSE_H_
drivers/net/mlx5/mlx5_socket.c +1 -0
@@ -1,5 +1,6 @@/* SPDX-License-Identifier: BSD-3-Clause * Copyright 2016 6WIND S.A. +* Copyright 2016 Mellanox Technologies, Ltd */ #define _GNU_SOURCE
drivers/net/mlx5/mlx5_stats.c +1 -1
@@ -1,6 +1,6 @@/* SPDX-License-Identifier: BSD-3-Clause * Copyright 2015 6WIND S.A. -* Copyright 2015 Mellanox. +* Copyright 2015 Mellanox Technologies, Ltd */ #include <inttypes.h>
drivers/net/mlx5/mlx5_trigger.c +1 -1
@@ -1,6 +1,6 @@/* SPDX-License-Identifier: BSD-3-Clause * Copyright 2015 6WIND S.A. -* Copyright 2015 Mellanox. +* Copyright 2015 Mellanox Technologies, Ltd */ #include <unistd.h>
drivers/net/mlx5/mlx5_txq.c +1 -1
@@ -1,6 +1,6 @@/* SPDX-License-Identifier: BSD-3-Clause * Copyright 2015 6WIND S.A. -* Copyright 2015 Mellanox. +* Copyright 2015 Mellanox Technologies, Ltd */ #include <stddef.h>
drivers/net/mlx5/mlx5_utils.h +1 -1
@@ -1,6 +1,6 @@/* SPDX-License-Identifier: BSD-3-Clause * Copyright 2015 6WIND S.A. -* Copyright 2015 Mellanox. +* Copyright 2015 Mellanox Technologies, Ltd */ #ifndef RTE_PMD_MLX5_UTILS_H_
drivers/net/mlx5/mlx5_vlan.c +1 -1
@@ -1,6 +1,6 @@/* SPDX-License-Identifier: BSD-3-Clause * Copyright 2015 6WIND S.A. -* Copyright 2015 Mellanox. +* Copyright 2015 Mellanox Technologies, Ltd */ #include <stddef.h>
Signature · 1 line
2.12.0
PATCH v2 2/9 net/tap: align SPDX Mellanox copyrights
In reply to Shahaf ShulerAligning Mellanox SPDX copyrights to a single format.
--- drivers/net/tap/rte_eth_tap.h | 2 +- drivers/net/tap/tap_bpf.h | 2 +- drivers/net/tap/tap_bpf_api.c | 2 +- drivers/net/tap/tap_bpf_insns.h | 2 +- drivers/net/tap/tap_bpf_program.c | 2 +- drivers/net/tap/tap_flow.c | 2 +- drivers/net/tap/tap_flow.h | 2 +- drivers/net/tap/tap_intr.c | 2 +- drivers/net/tap/tap_netlink.c | 2 +- drivers/net/tap/tap_netlink.h | 2 +- drivers/net/tap/tap_rss.h | 2 +- drivers/net/tap/tap_tcmsgs.c | 2 +- drivers/net/tap/tap_tcmsgs.h | 2 +- 13 files changed, 13 insertions(+), 13 deletions(-)
drivers/net/tap/rte_eth_tap.h +1 -1
@@ -1,6 +1,6 @@/* SPDX-License-Identifier: BSD-3-Clause * Copyright 2017 6WIND S.A. -* Copyright 2017 Mellanox. +* Copyright 2017 Mellanox Technologies, Ltd */ #ifndef _RTE_ETH_TAP_H_
drivers/net/tap/tap_bpf.h +1 -1
@@ -1,5 +1,5 @@/* SPDX-License-Identifier: BSD-3-Clause OR GPL-2.0 -* Copyright 2017 Mellanox Technologies, Ltd. +* Copyright 2017 Mellanox Technologies, Ltd */ #ifndef __TAP_BPF_H__
drivers/net/tap/tap_bpf_api.c +1 -1
@@ -1,5 +1,5 @@/* SPDX-License-Identifier: BSD-3-Clause -* Copyright 2017 Mellanox Technologies, Ltd. +* Copyright 2017 Mellanox Technologies, Ltd */ #include <errno.h>
drivers/net/tap/tap_bpf_insns.h +1 -1
@@ -1,5 +1,5 @@/* SPDX-License-Identifier: BSD-3-Clause -* Copyright 2017 Mellanox Technologies, Ltd. +* Copyright 2017 Mellanox Technologies, Ltd */ #include <tap_bpf.h>
drivers/net/tap/tap_bpf_program.c +1 -1
@@ -1,5 +1,5 @@/* SPDX-License-Identifier: BSD-3-Clause OR GPL-2.0 -* Copyright 2017 Mellanox Technologies, Ltd. +* Copyright 2017 Mellanox Technologies, Ltd */ #include <stdint.h>
drivers/net/tap/tap_flow.c +1 -1
@@ -1,6 +1,6 @@/* SPDX-License-Identifier: BSD-3-Clause * Copyright 2017 6WIND S.A. -* Copyright 2017 Mellanox. +* Copyright 2017 Mellanox Technologies, Ltd */ #include <errno.h>
drivers/net/tap/tap_flow.h +1 -1
@@ -1,6 +1,6 @@/* SPDX-License-Identifier: BSD-3-Clause * Copyright 2017 6WIND S.A. -* Copyright 2017 Mellanox. +* Copyright 2017 Mellanox Technologies, Ltd */ #ifndef _TAP_FLOW_H_
drivers/net/tap/tap_intr.c +1 -1
@@ -1,5 +1,5 @@/* SPDX-License-Identifier: BSD-3-Clause -* Copyright 2018 Mellanox Technologies, Ltd. +* Copyright 2018 Mellanox Technologies, Ltd */ /**
drivers/net/tap/tap_netlink.c +1 -1
@@ -1,6 +1,6 @@/* SPDX-License-Identifier: BSD-3-Clause * Copyright 2017 6WIND S.A. -* Copyright 2017 Mellanox. +* Copyright 2017 Mellanox Technologies, Ltd */ #include <errno.h>
drivers/net/tap/tap_netlink.h +1 -1
@@ -1,6 +1,6 @@/* SPDX-License-Identifier: BSD-3-Clause * Copyright 2017 6WIND S.A. -* Copyright 2017 Mellanox. +* Copyright 2017 Mellanox Technologies, Ltd */ #ifndef _TAP_NETLINK_H_
drivers/net/tap/tap_rss.h +1 -1
@@ -1,5 +1,5 @@/* SPDX-License-Identifier: BSD-3-Clause -* Copyright 2017 Mellanox Technologies, Ltd. +* Copyright 2017 Mellanox Technologies, Ltd */ #ifndef _TAP_RSS_H_
drivers/net/tap/tap_tcmsgs.c +1 -1
@@ -1,6 +1,6 @@/* SPDX-License-Identifier: BSD-3-Clause * Copyright 2017 6WIND S.A. -* Copyright 2017 Mellanox. +* Copyright 2017 Mellanox Technologies, Ltd */ #include <inttypes.h>
drivers/net/tap/tap_tcmsgs.h +1 -1
@@ -1,6 +1,6 @@/* SPDX-License-Identifier: BSD-3-Clause * Copyright 2017 6WIND S.A. -* Copyright 2017 Mellanox. +* Copyright 2017 Mellanox Technologies, Ltd */ #ifndef _TAP_TCMSGS_H_
Signature · 1 line
2.12.0
PATCH v2 3/9 app/testpmd: align SPDX Mellanox copyrights
In reply to Shahaf ShulerAligning Mellanox SPDX copyrights to a single format.
--- app/test-pmd/cmdline_flow.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
app/test-pmd/cmdline_flow.c +1 -1
@@ -1,6 +1,6 @@/* SPDX-License-Identifier: BSD-3-Clause * Copyright 2016 6WIND S.A. -* Copyright 2016 Mellanox. +* Copyright 2016 Mellanox Technologies, Ltd */ #include <stddef.h>
Signature · 1 line
2.12.0
PATCH v2 4/9 net/failsafe: align SPDX Mellanox copyrights
In reply to Shahaf ShulerAligning Mellanox SPDX copyrights to a single format.
--- drivers/net/failsafe/failsafe.c | 2 +- drivers/net/failsafe/failsafe_args.c | 2 +- drivers/net/failsafe/failsafe_eal.c | 2 +- drivers/net/failsafe/failsafe_ether.c | 2 +- drivers/net/failsafe/failsafe_flow.c | 2 +- drivers/net/failsafe/failsafe_intr.c | 2 +- drivers/net/failsafe/failsafe_ops.c | 2 +- drivers/net/failsafe/failsafe_private.h | 2 +- drivers/net/failsafe/failsafe_rxtx.c | 2 +- 9 files changed, 9 insertions(+), 9 deletions(-)
drivers/net/failsafe/failsafe.c +1 -1
@@ -1,6 +1,6 @@/* SPDX-License-Identifier: BSD-3-Clause * Copyright 2017 6WIND S.A. -* Copyright 2017 Mellanox. +* Copyright 2017 Mellanox Technologies, Ltd */ #include <rte_alarm.h>
drivers/net/failsafe/failsafe_args.c +1 -1
@@ -1,6 +1,6 @@/* SPDX-License-Identifier: BSD-3-Clause * Copyright 2017 6WIND S.A. -* Copyright 2017 Mellanox. +* Copyright 2017 Mellanox Technologies, Ltd */ #include <fcntl.h>
drivers/net/failsafe/failsafe_eal.c +1 -1
@@ -1,6 +1,6 @@/* SPDX-License-Identifier: BSD-3-Clause * Copyright 2017 6WIND S.A. -* Copyright 2017 Mellanox. +* Copyright 2017 Mellanox Technologies, Ltd */ #include <rte_malloc.h>
drivers/net/failsafe/failsafe_ether.c +1 -1
@@ -1,6 +1,6 @@/* SPDX-License-Identifier: BSD-3-Clause * Copyright 2017 6WIND S.A. -* Copyright 2017 Mellanox. +* Copyright 2017 Mellanox Technologies, Ltd */ #include <unistd.h>
drivers/net/failsafe/failsafe_flow.c +1 -1
@@ -1,6 +1,6 @@/* SPDX-License-Identifier: BSD-3-Clause * Copyright 2017 6WIND S.A. -* Copyright 2017 Mellanox. +* Copyright 2017 Mellanox Technologies, Ltd */ #include <sys/queue.h>
drivers/net/failsafe/failsafe_intr.c +1 -1
@@ -1,5 +1,5 @@/* SPDX-License-Identifier: BSD-3-Clause -* Copyright 2018 Mellanox Technologies, Ltd. +* Copyright 2018 Mellanox Technologies, Ltd */ /**
drivers/net/failsafe/failsafe_ops.c +1 -1
@@ -1,6 +1,6 @@/* SPDX-License-Identifier: BSD-3-Clause * Copyright 2017 6WIND S.A. -* Copyright 2017 Mellanox. +* Copyright 2017 Mellanox Technologies, Ltd */ #include <stdbool.h>
drivers/net/failsafe/failsafe_private.h +1 -1
@@ -1,6 +1,6 @@/* SPDX-License-Identifier: BSD-3-Clause * Copyright 2017 6WIND S.A. -* Copyright 2017 Mellanox. +* Copyright 2017 Mellanox Technologies, Ltd */ #ifndef _RTE_ETH_FAILSAFE_PRIVATE_H_
drivers/net/failsafe/failsafe_rxtx.c +1 -1
@@ -1,6 +1,6 @@/* SPDX-License-Identifier: BSD-3-Clause * Copyright 2017 6WIND S.A. -* Copyright 2017 Mellanox. +* Copyright 2017 Mellanox Technologies, Ltd */ #include <rte_atomic.h>
Signature · 1 line
2.12.0
PATCH v2 5/9 net/vdev_netvsc: align SPDX Mellanox copyrights
In reply to Shahaf ShulerAligning Mellanox SPDX copyrights to a single format.
--- doc/guides/nics/vdev_netvsc.rst | 2 +- drivers/net/vdev_netvsc/Makefile | 2 +- drivers/net/vdev_netvsc/vdev_netvsc.c | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-)
doc/guides/nics/vdev_netvsc.rst +1 -1
@@ -1,6 +1,6 @@ .. SPDX-License-Identifier: BSD-3-Clause Copyright 2017 6WIND S.A. - Copyright 2017 Mellanox Technologies, Ltd. + Copyright 2017 Mellanox Technologies, Ltd VDEV_NETVSC driver ==================
drivers/net/vdev_netvsc/Makefile +1 -1
@@ -1,6 +1,6 @@ # SPDX-License-Identifier: BSD-3-Clause # Copyright 2017 6WIND S.A. -# Copyright 2017 Mellanox Technologies, Ltd. +# Copyright 2017 Mellanox Technologies, Ltd include $(RTE_SDK)/mk/rte.vars.mk
drivers/net/vdev_netvsc/vdev_netvsc.c +1 -1
@@ -1,6 +1,6 @@/* SPDX-License-Identifier: BSD-3-Clause * Copyright 2017 6WIND S.A. -* Copyright 2017 Mellanox Technologies, Ltd. +* Copyright 2017 Mellanox Technologies, Ltd */ #include <errno.h>
Signature · 1 line
2.12.0
PATCH v2 6/9 eal: align SPDX Mellanox copyrights
In reply to Shahaf ShulerAligning Mellanox SPDX copyrights to a single format.
--- lib/librte_eal/common/arch/arm/rte_hypervisor.c | 2 +- lib/librte_eal/common/arch/ppc_64/rte_hypervisor.c | 2 +- lib/librte_eal/common/arch/x86/rte_hypervisor.c | 2 +- lib/librte_eal/common/eal_common_hypervisor.c | 2 +- lib/librte_eal/common/include/rte_hypervisor.h | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-)
lib/librte_eal/common/arch/arm/rte_hypervisor.c +1 -1
@@ -1,5 +1,5 @@/* SPDX-License-Identifier: BSD-3-Clause -* Copyright 2017 Mellanox Technologies, Ltd. +* Copyright 2017 Mellanox Technologies, Ltd */ #include "rte_hypervisor.h"
lib/librte_eal/common/arch/ppc_64/rte_hypervisor.c +1 -1
@@ -1,5 +1,5 @@/* SPDX-License-Identifier: BSD-3-Clause -* Copyright 2017 Mellanox Technologies, Ltd. +* Copyright 2017 Mellanox Technologies, Ltd */ #include "rte_hypervisor.h"
lib/librte_eal/common/arch/x86/rte_hypervisor.c +1 -1
@@ -1,5 +1,5 @@/* SPDX-License-Identifier: BSD-3-Clause -* Copyright 2017 Mellanox Technologies, Ltd. +* Copyright 2017 Mellanox Technologies, Ltd */ #include "rte_hypervisor.h"
lib/librte_eal/common/eal_common_hypervisor.c +1 -1
@@ -1,5 +1,5 @@/* SPDX-License-Identifier: BSD-3-Clause -* Copyright 2017 Mellanox Technologies, Ltd. +* Copyright 2017 Mellanox Technologies, Ltd */ #include "rte_hypervisor.h"
lib/librte_eal/common/include/rte_hypervisor.h +1 -1
@@ -1,5 +1,5 @@/* SPDX-License-Identifier: BSD-3-Clause -* Copyright 2017 Mellanox Technologies, Ltd. +* Copyright 2017 Mellanox Technologies, Ltd */ #ifndef RTE_HYPERVISOR_H
Signature · 1 line
2.12.0
PATCH v2 7/9 ethdev: align SPDX Mellanox copyrights
In reply to Shahaf ShulerAligning Mellanox SPDX copyrights to a single format.
--- lib/librte_ether/rte_flow.c | 2 +- lib/librte_ether/rte_flow.h | 2 +- lib/librte_ether/rte_flow_driver.h | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-)
lib/librte_ether/rte_flow.c +1 -1
@@ -1,6 +1,6 @@/* SPDX-License-Identifier: BSD-3-Clause * Copyright 2016 6WIND S.A. -* Copyright 2016 Mellanox. +* Copyright 2016 Mellanox Technologies, Ltd */ #include <errno.h>
lib/librte_ether/rte_flow.h +1 -1
@@ -1,6 +1,6 @@/* SPDX-License-Identifier: BSD-3-Clause * Copyright 2016 6WIND S.A. -* Copyright 2016 Mellanox. +* Copyright 2016 Mellanox Technologies, Ltd */ #ifndef RTE_FLOW_H_
lib/librte_ether/rte_flow_driver.h +1 -1
@@ -1,6 +1,6 @@/* SPDX-License-Identifier: BSD-3-Clause * Copyright 2016 6WIND S.A. -* Copyright 2016 Mellanox. +* Copyright 2016 Mellanox Technologies, Ltd */ #ifndef RTE_FLOW_DRIVER_H_
Signature · 1 line
2.12.0
PATCH v2 8/9 net: align SPDX Mellanox copyrights
In reply to Shahaf ShulerAligning Mellanox SPDX copyrights to a single format.
--- lib/librte_net/rte_esp.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
lib/librte_net/rte_esp.h +1 -1
@@ -1,5 +1,5 @@/* SPDX-License-Identifier: BSD-3-Clause -* Copyright (c) 2016-2017, Mellanox Technologies. +* Copyright 2016 Mellanox Technologies, Ltd */ #ifndef _RTE_ESP_H_
Signature · 1 line
2.12.0
PATCH v2 9/9 doc: align SPDX Mellanox copyrights
In reply to Shahaf ShulerAligning Mellanox SPDX copyrights to a single format.
--- doc/guides/linux_gsg/linux_drivers.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
doc/guides/linux_gsg/linux_drivers.rst +1 -1
@@ -1,6 +1,6 @@ .. SPDX-License-Identifier: BSD-3-Clause Copyright(c) 2010-2015 Intel Corporation. - Copyright(c) 2017 Mellanox Corporation. + Copyright 2017 Mellanox Technologies, Ltd All rights reserved. .. _linux_gsg_linux_drivers:
Signature · 1 line
2.12.0
Re: [PATCH v2 0/9] align SPDX Mellanox copyrights
In reply to Shahaf ShulerQuoted 7 lines · Shahaf Shuler
This series is to align the format of the copyright in Mellanox related files.
On v2:
- remove completely the BSD licence from mlx PMD docs
- add more patches to align files not underdrivers/net/mlx*
Quoted 10 lines
Shahaf Shuler (9):
net/mlx: align SPDX Mellanox copyrights
net/tap: align SPDX Mellanox copyrights
app/testpmd: align SPDX Mellanox copyrights
net/failsafe: align SPDX Mellanox copyrights
net/vdev_netvsc: align SPDX Mellanox copyrights
eal: align SPDX Mellanox copyrights
ethdev: align SPDX Mellanox copyrights
net: align SPDX Mellanox copyrights
doc: align SPDX Mellanox copyrights
For the series,
Signature · 2 lines
Adrien Mazarguil 6WIND
Thomas Monjalon
AppliedRe: [PATCH v2 0/9] align SPDX Mellanox copyrights
In reply to Shahaf Shuler20/03/2018 20:20, Shahaf Shuler:
Quoted 5 lines
This series is to align the format of the copyright in Mellanox related files.
On v2:
- remove completely the BSD licence from mlx PMD docs
- add more patches to align files not underdrivers/net/mlx*
Applied, thanks