Skip to contentSkip to conversation

net/pcap: convert license headers to SPDX tags

PATCH In review Ferruh Yigit 5 participants 13 messages Dec 18, 2017 – Jan 16, 2018 Network drivers

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 net/pcap: convert license headers to SPDX tags

---
 doc/guides/nics/pcap_ring.rst   | 29 +----------------------------
 drivers/net/pcap/Makefile       | 35 ++++-------------------------------
 drivers/net/pcap/rte_eth_pcap.c | 35 ++++-------------------------------
 3 files changed, 9 insertions(+), 90 deletions(-)
doc/guides/nics/pcap_ring.rst +1 -28
index 5e4f5f605..5e0bab969 100644
@@ -1,32 +1,5 @@
-..  BSD LICENSE
+..  SPDX-License-Identifier: BSD-3-Clause
     Copyright(c) 2010-2015 Intel Corporation. All rights reserved.
-    All rights reserved.
-
-    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 Intel Corporation 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.
 
 Libpcap and Ring Based Poll Mode Drivers
 ========================================
drivers/net/pcap/Makefile +4 -31
index b6487d42b..16738a233 100644
@@ -1,34 +1,7 @@
-#   BSD LICENSE
-#
-#   Copyright(c) 2010-2014 Intel Corporation. All rights reserved.
-#   Copyright(c) 2014 6WIND S.A.
-#   All rights reserved.
-#
-#   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 Intel Corporation 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.
+# SPDX-License-Identifier: BSD-3-Clause
+# Copyright(c) 2010-2014 Intel Corporation. All rights reserved.
+# Copyright(c) 2014 6WIND S.A.
+# All rights reserved.
 
 include $(RTE_SDK)/mk/rte.vars.mk
 
drivers/net/pcap/rte_eth_pcap.c +4 -31
index 5a86752f9..74581616d 100644
@@ -1,35 +1,8 @@
 /*-
- *   BSD LICENSE
- *
- *   Copyright(c) 2010-2016 Intel Corporation. All rights reserved.
- *   Copyright(c) 2014 6WIND S.A.
- *   All rights reserved.
- *
- *   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 Intel Corporation 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.
+ * SPDX-License-Identifier: BSD-3-Clause
+ * Copyright(c) 2010-2016 Intel Corporation. All rights reserved.
+ * Copyright(c) 2014 6WIND S.A.
+ * All rights reserved.
  */
 
 #include <time.h>
Signature · 1 line
2.14.3
#1 lore raw
Quoted 1 line · Ferruh Yigit

<...>

Quoted 5 lines

+ * SPDX-License-Identifier: BSD-3-Clause
+ * Copyright(c) 2010-2016 Intel Corporation. All rights reserved.
+ * Copyright(c) 2014 6WIND S.A.
+ * All rights reserved.
*/

Hi Hemant, Thomas,

Can you please suggest about extra "All rights reserved." line.

It is in the part of the BSD header, and I _assume_ that has been intended to cover all "Copyright" lines above it.
But since some of the Copyright holders (at least Intel ones) already has that in same line with copyright and I _assume_ this is intentional because of legal requirements, can we remove that line.

I guess we have two options while removing it, applying it to all previous Copyright lines (B) or just remove it (A):

(A)
SPDX-License-Identifier: BSD-3-Clause
Copyright(c) 2010-2016 Intel Corporation. All rights reserved. Copyright(c) 2014 6WIND S.A.

(B)
SPDX-License-Identifier: BSD-3-Clause
Copyright(c) 2010-2016 Intel Corporation. All rights reserved. Copyright(c) 2014 6WIND S.A. All rights reserved.

Can we go with option (A)?

#2 lore raw

18/12/2017 22:18, Ferruh Yigit:

Quoted 29 lines · Ferruh Yigit
Quoted 1 line

<...>

Quoted 5 lines

+ * SPDX-License-Identifier: BSD-3-Clause
+ * Copyright(c) 2010-2016 Intel Corporation. All rights reserved.
+ * Copyright(c) 2014 6WIND S.A.
+ * All rights reserved.
*/

Hi Hemant, Thomas,

Can you please suggest about extra "All rights reserved." line.

It is in the part of the BSD header, and I _assume_ that has been intended to cover all "Copyright" lines above it.
But since some of the Copyright holders (at least Intel ones) already has that in same line with copyright and I _assume_ this is intentional because of legal requirements, can we remove that line.

I guess we have two options while removing it, applying it to all previous Copyright lines (B) or just remove it (A):

(A)
SPDX-License-Identifier: BSD-3-Clause
Copyright(c) 2010-2016 Intel Corporation. All rights reserved. Copyright(c) 2014 6WIND S.A.

Quoted 6 lines

(B)
SPDX-License-Identifier: BSD-3-Clause
Copyright(c) 2010-2016 Intel Corporation. All rights reserved. Copyright(c) 2014 6WIND S.A. All rights reserved.

Can we go with option (A)?

I have absolutely no idea about "All rights reserved". Please get some inputs from Intel lawyers.

#3 lore raw
In reply to Ferruh Yigit

HI Ferruh,

Quoted 29 lines · Ferruh Yigit
Quoted 1 line · Ferruh Yigit

<...>

Quoted 5 lines

+ * SPDX-License-Identifier: BSD-3-Clause
+ * Copyright(c) 2010-2016 Intel Corporation. All rights reserved.
+ * Copyright(c) 2014 6WIND S.A.
+ * All rights reserved.
*/

Hi Hemant, Thomas,

Can you please suggest about extra "All rights reserved." line.

It is in the part of the BSD header, and I _assume_ that has been intended to cover all "Copyright" lines above it.
But since some of the Copyright holders (at least Intel ones) already has that in same line with copyright and I _assume_ this is intentional because of legal requirements, can we remove that line.

I guess we have two options while removing it, applying it to all previous Copyright lines (B) or just remove it (A):

(A)
SPDX-License-Identifier: BSD-3-Clause
Copyright(c) 2010-2016 Intel Corporation. All rights reserved. Copyright(c) 2014 6WIND S.A.

Quoted 8 lines

(B)
SPDX-License-Identifier: BSD-3-Clause
Copyright(c) 2010-2016 Intel Corporation. All rights reserved. Copyright(c) 2014 6WIND S.A. All rights reserved.

Can we go with option (A)?

"All rights reserved" depend on legal counsel.
e.g Freescale preferred it, with NXP migration, we have stopped doing it.

w.r.t your query, I will suggest option (c)
SPDX-License-Identifier: BSD-3-Clause
Copyright(c) 2010-2016 Intel Corporation. All rights reserved. Copyright(c) 2014 6WIND S.A.
All rights reserved.

i.e no change in copyright.

However, as Bruce mentioned, we can remove *All rights reserved* for the files having duplicate statement for a single copyright.

#4 lore raw
In reply to Ferruh Yigit
Quoted 29 lines · Ferruh Yigit
Quoted 1 line · Ferruh Yigit

<...>

Quoted 5 lines

+ * SPDX-License-Identifier: BSD-3-Clause
+ * Copyright(c) 2010-2016 Intel Corporation. All rights reserved.
+ * Copyright(c) 2014 6WIND S.A.
+ * All rights reserved.
*/

Hi Hemant, Thomas,

Can you please suggest about extra "All rights reserved." line.

It is in the part of the BSD header, and I _assume_ that has been intended to cover all "Copyright" lines above it.
But since some of the Copyright holders (at least Intel ones) already has that in same line with copyright and I _assume_ this is intentional because of legal requirements, can we remove that line.

I guess we have two options while removing it, applying it to all previous Copyright lines (B) or just remove it (A):

(A)
SPDX-License-Identifier: BSD-3-Clause
Copyright(c) 2010-2016 Intel Corporation. All rights reserved. Copyright(c) 2014 6WIND S.A.

Quoted 7 lines

(B)
SPDX-License-Identifier: BSD-3-Clause
Copyright(c) 2010-2016 Intel Corporation. All rights reserved. Copyright(c) 2014 6WIND S.A. All rights reserved.

Can we go with option (A)?

Hi Ferruh,

I'm looking to replace a lot of the Intel-copyright license headers - automating it right now. The latest Intel template actually has the "all rights reserved" omitted. [See my patch for meson.build files]

/Bruce

#5 lore raw
Quoted 36 lines · Bruce Richardson
Quoted 35 lines · Ferruh Yigit
Quoted 1 line · Ferruh Yigit

<...>

Quoted 5 lines

+ * SPDX-License-Identifier: BSD-3-Clause
+ * Copyright(c) 2010-2016 Intel Corporation. All rights reserved.
+ * Copyright(c) 2014 6WIND S.A.
+ * All rights reserved.
*/

Hi Hemant, Thomas,

Can you please suggest about extra "All rights reserved." line.

It is in the part of the BSD header, and I _assume_ that has been intended to cover all "Copyright" lines above it.
But since some of the Copyright holders (at least Intel ones) already has that in same line with copyright and I _assume_ this is intentional because of legal requirements, can we remove that line.

I guess we have two options while removing it, applying it to all previous Copyright lines (B) or just remove it (A):

(A)
SPDX-License-Identifier: BSD-3-Clause
Copyright(c) 2010-2016 Intel Corporation. All rights reserved. Copyright(c) 2014 6WIND S.A.

(B)
SPDX-License-Identifier: BSD-3-Clause
Copyright(c) 2010-2016 Intel Corporation. All rights reserved. Copyright(c) 2014 6WIND S.A. All rights reserved.

Quoted 7 lines
Quoted 1 line

Can we go with option (A)?

Hi Ferruh,

I'm looking to replace a lot of the Intel-copyright license headers - automating it right now. The latest Intel template actually has the "all rights reserved" omitted. [See my patch for meson.build files]

Batch update is good idea, thanks.
If your patch doesn't cover this I update the patch to omit that part.

Thanks,
ferruh

Quoted 3 lines

/Bruce

#6 lore raw
Quoted 39 lines · Ferruh Yigit
Quoted 38 lines · Bruce Richardson
Quoted 36 lines · Ferruh Yigit
Quoted 1 line · Ferruh Yigit

<...>

Quoted 5 lines

+ * SPDX-License-Identifier: BSD-3-Clause
+ * Copyright(c) 2010-2016 Intel Corporation. All rights reserved.
+ * Copyright(c) 2014 6WIND S.A.
+ * All rights reserved.
*/

Hi Hemant, Thomas,

Can you please suggest about extra "All rights reserved." line.

It is in the part of the BSD header, and I _assume_ that has been intended to cover all "Copyright" lines above it.
But since some of the Copyright holders (at least Intel ones) already has that in same line with copyright and I _assume_ this is intentional because of legal requirements, can we remove that line.

I guess we have two options while removing it, applying it to all previous Copyright lines (B) or just remove it (A):

(A)
SPDX-License-Identifier: BSD-3-Clause
Copyright(c) 2010-2016 Intel Corporation. All rights reserved. Copyright(c) 2014 6WIND S.A.

(B)
SPDX-License-Identifier: BSD-3-Clause
Copyright(c) 2010-2016 Intel Corporation. All rights reserved. Copyright(c) 2014 6WIND S.A. All rights reserved.

Can we go with option (A)?

Quoted 9 lines
Quoted 5 lines

Hi Ferruh,

I'm looking to replace a lot of the Intel-copyright license headers - automating it right now. The latest Intel template actually has the "all rights reserved" omitted. [See my patch for meson.build files]

Batch update is good idea, thanks.
If your patch doesn't cover this I update the patch to omit that part.

My patches don't cover files with multiple copyright holders, so additional patches here will be needed.

Thanks,
/Bruce

#7 lore raw
Quoted 46 lines · Bruce Richardson
Quoted 45 lines · Ferruh Yigit
Quoted 43 lines · Bruce Richardson
Quoted 29 lines · Ferruh Yigit
Quoted 1 line · Ferruh Yigit

<...>

Quoted 5 lines

+ * SPDX-License-Identifier: BSD-3-Clause
+ * Copyright(c) 2010-2016 Intel Corporation. All rights reserved.
+ * Copyright(c) 2014 6WIND S.A.
+ * All rights reserved.
*/

Hi Hemant, Thomas,

Can you please suggest about extra "All rights reserved." line.

It is in the part of the BSD header, and I _assume_ that has been intended to cover all "Copyright" lines above it.
But since some of the Copyright holders (at least Intel ones) already has that in same line with copyright and I _assume_ this is intentional because of legal requirements, can we remove that line.

I guess we have two options while removing it, applying it to all previous Copyright lines (B) or just remove it (A):

(A)
SPDX-License-Identifier: BSD-3-Clause
Copyright(c) 2010-2016 Intel Corporation. All rights reserved. Copyright(c) 2014 6WIND S.A.

Quoted 7 lines

(B)
SPDX-License-Identifier: BSD-3-Clause
Copyright(c) 2010-2016 Intel Corporation. All rights reserved. Copyright(c) 2014 6WIND S.A. All rights reserved.

Can we go with option (A)?

Hi Ferruh,

I'm looking to replace a lot of the Intel-copyright license headers - automating it right now. The latest Intel template actually has the "all rights reserved" omitted. [See my patch for meson.build files]

Quoted 5 lines
Quoted 3 lines

Batch update is good idea, thanks.
If your patch doesn't cover this I update the patch to omit that part.

My patches don't cover files with multiple copyright holders, so additional patches here will be needed.

OK, I will send it,
and as I understand from Hemant's comment, we can't omit the standalone "All rights reserved." although I would like to remove it (just for simplicity, not with any legal basis :)), so final header becomes:

SPDX-License-Identifier: BSD-3-Clause
Copyright(c) 2010-2016 Intel Corporation.
Copyright(c) 2014 6WIND S.A.
All rights reserved.

Quoted 4 lines

Thanks,
/Bruce

#8 lore raw

PATCH v2 1/1 net/pcap: convert license headers to SPDX tags

In reply to Ferruh Yigit

---
v2: Changed syntax for SPDX header

---
 doc/guides/nics/pcap_ring.rst   | 31 ++-----------------------------
 drivers/net/pcap/Makefile       | 35 ++++-------------------------------
 drivers/net/pcap/rte_eth_pcap.c | 36 ++++--------------------------------
 3 files changed, 10 insertions(+), 92 deletions(-)
doc/guides/nics/pcap_ring.rst +2 -29
index 5e4f5f605..de47f68cf 100644
@@ -1,32 +1,5 @@
-..  BSD LICENSE
-    Copyright(c) 2010-2015 Intel Corporation. All rights reserved.
-    All rights reserved.
-
-    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 Intel Corporation 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.
+..  SPDX-License-Identifier: BSD-3-Clause
+    Copyright(c) 2010-2015 Intel Corporation.
 
 Libpcap and Ring Based Poll Mode Drivers
 ========================================
drivers/net/pcap/Makefile +4 -31
index b6487d42b..ef332162c 100644
@@ -1,34 +1,7 @@
-#   BSD LICENSE
-#
-#   Copyright(c) 2010-2014 Intel Corporation. All rights reserved.
-#   Copyright(c) 2014 6WIND S.A.
-#   All rights reserved.
-#
-#   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 Intel Corporation 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.
+# SPDX-License-Identifier: BSD-3-Clause
+# Copyright(c) 2010-2014 Intel Corporation.
+# Copyright(c) 2014 6WIND S.A.
+# All rights reserved.
 
 include $(RTE_SDK)/mk/rte.vars.mk
 
drivers/net/pcap/rte_eth_pcap.c +4 -32
index 5a86752f9..72fcd0916 100644
@@ -1,35 +1,7 @@
-/*-
- *   BSD LICENSE
- *
- *   Copyright(c) 2010-2016 Intel Corporation. All rights reserved.
- *   Copyright(c) 2014 6WIND S.A.
- *   All rights reserved.
- *
- *   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 Intel Corporation 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.
+/* SPDX-License-Identifier: BSD-3-Clause
+ * Copyright(c) 2010-2016 Intel Corporation.
+ * Copyright(c) 2014 6WIND S.A.
+ * All rights reserved.
  */
 
 #include <time.h>
Signature · 1 line
2.14.3
Acked-by on v2 1/1
#9 lore raw
Quoted 9 lines · Ferruh Yigit

---
v2: Changed syntax for SPDX header

---
 doc/guides/nics/pcap_ring.rst   | 31 ++-----------------------------
 drivers/net/pcap/Makefile       | 35 ++++-------------------------------
 drivers/net/pcap/rte_eth_pcap.c | 36 ++++--------------------------------
 3 files changed, 10 insertions(+), 92 deletions(-)

<snip>..

drivers/net/pcap/Makefile line 4

Quoted 9 lines
drivers/net/pcap/Makefile +4 -0
index b6487d42b..ef332162c 100644
 
+# SPDX-License-Identifier: BSD-3-Clause
+# Copyright(c) 2010-2014 Intel Corporation.
+# Copyright(c) 2014 6WIND S.A.
+# All rights reserved.

This patch should get an explicit ACK from 6 wind.

#10 lore raw

10/01/2018 07:28, Hemant Agrawal:

Quoted 6 lines

drivers/net/pcap/Makefile line 4

Quoted 4 lines
drivers/net/pcap/Makefile +4 -0
+# SPDX-License-Identifier: BSD-3-Clause
+# Copyright(c) 2010-2014 Intel Corporation.
+# Copyright(c) 2014 6WIND S.A.
+# All rights reserved.

This patch should get an explicit ACK from 6 wind.

Cc some 6WIND guys.

Acked-by
#11 lore raw
Quoted 9 lines · Thomas Monjalon

10/01/2018 07:28, Hemant Agrawal:

Quoted 6 lines

drivers/net/pcap/Makefile line 4

Quoted 4 lines
drivers/net/pcap/Makefile +4 -0
+# SPDX-License-Identifier: BSD-3-Clause
+# Copyright(c) 2010-2014 Intel Corporation.
+# Copyright(c) 2014 6WIND S.A.
+# All rights reserved.

This patch should get an explicit ACK from 6 wind.

Cc some 6WIND guys.

author Acked-by Hemant Agrawal Applied
#12 lore raw
Quoted 7 lines · Olivier Matz
Quoted 6 lines · Thomas Monjalon

10/01/2018 07:28, Hemant Agrawal:

Quoted 5 lines
Quoted 4 lines
drivers/net/pcap/Makefile +4 -0
+# SPDX-License-Identifier: BSD-3-Clause
+# Copyright(c) 2010-2014 Intel Corporation.
+# Copyright(c) 2014 6WIND S.A.
+# All rights reserved.
Quoted 1 line

Applied to dpdk-next-net/master, thanks.