Skip to contentSkip to conversation

Add missing SPDX license tags

PATCH In review Stephen Hemminger 4 participants 9 messages Jul 14, 2020 – Aug 12, 2020

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

cover Add missing SPDX license tags

Fix some recent gaps in SPDX license information.

Stephen Hemminger (3):
eal/windows: add missing SPDX license tag
net/qede/base: add missing license information
doc: add missing SPDX license tags

 doc/guides/custom.css                            | 1 +
 doc/guides/linux_gsg/nic_perf_intel_platform.rst | 3 +++
 doc/guides/prog_guide/build-sdk-meson.rst        | 3 +++
 drivers/net/qede/base/ecore_hsi_func_common.h    | 6 ++++++
 lib/librte_eal/windows/eal_hugepages.c           | 4 ++++
 5 files changed, 17 insertions(+)
Signature · 1 line
2.27.0
#1 lore raw

PATCH 1/3 eal/windows: add missing SPDX license tag

This file was added without license information. Add BSD SPDX license with copyright assigned to the original author (as was done for other files in Windows EAL).

---
 lib/librte_eal/windows/eal_hugepages.c | 4 ++++
 1 file changed, 4 insertions(+)
lib/librte_eal/windows/eal_hugepages.c +4 -0
index 44dae985e5d3..83a3d0ffc66c 100644
@@ -1,3 +1,7 @@
+/* SPDX-License-Identifier: BSD-3-Clause
+ * Copyright (c) 2020 Dmitry Kozlyuk
+ */
+
 #include <rte_errno.h>
 #include <rte_log.h>
 #include <rte_memory.h>
Signature · 1 line
2.27.0
#4 lore raw

PATCH 2/3 net/qede/base: add missing license information

In reply to Stephen Hemminger

Add SPDX header that is the same as other files in the same qede/base directory.

---
 drivers/net/qede/base/ecore_hsi_func_common.h | 6 ++++++
 1 file changed, 6 insertions(+)
drivers/net/qede/base/ecore_hsi_func_common.h +6 -0
index 2cd175163bcc..0e1187ba20a2 100644
@@ -1,3 +1,9 @@
+/* SPDX-License-Identifier: BSD-3-Clause
+ * Copyright (c) 2016 - 2018 Cavium Inc.
+ * All rights reserved.
+ * www.cavium.com
+ */
+
 #ifndef _HSI_FUNC_COMMON_H
 #define _HSI_FUNC_COMMON_H
 
Signature · 1 line
2.27.0
#6 lore raw

PATCH 3/3 doc: add missing SPDX license tags

In reply to Stephen Hemminger

A few files in doc directory were missing license tag info.

---
 doc/guides/custom.css                            | 1 +
 doc/guides/linux_gsg/nic_perf_intel_platform.rst | 3 +++
 doc/guides/prog_guide/build-sdk-meson.rst        | 3 +++
 3 files changed, 7 insertions(+)
doc/guides/custom.css +1 -0
index c87c60611929..a1572eaf9da6 100644
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: BSD-3-Clause */
 /* Override readthedocs theme */
 
 /* Spacing before a list item must be bigger than spacing inside the item.
doc/guides/linux_gsg/nic_perf_intel_platform.rst +3 -0
index 08be5d58b9bb..3ca52c4c65fb 100644
@@ -1,3 +1,6 @@
+..  SPDX-License-Identifier: BSD-3-Clause
+    Copyright(c) 2010-2019 Intel Corporation.
+
 How to get best performance with NICs on Intel platforms
 ========================================================
 
doc/guides/prog_guide/build-sdk-meson.rst +3 -0
index 44d1cafdf035..ac3b89c3009d 100644
@@ -1,3 +1,6 @@
+..  SPDX-License-Identifier: BSD-3-Clause
+    Copyright(c) 2019-2020 Intel Corporation.
+
 Installing DPDK Using the meson build system
 ============================================
 
Signature · 1 line
2.27.0
Acked-by on v1 3/3
#7 lore raw

Re: [dpdk-dev] [PATCH 3/3] doc: add missing SPDX license tags

Quoted 4 lines · Stephen Hemminger

A few files in doc directory were missing license tag info.

---

For Intel copyright parts:

Quoted 39 lines
 doc/guides/custom.css                            | 1 +
 doc/guides/linux_gsg/nic_perf_intel_platform.rst | 3 +++
 doc/guides/prog_guide/build-sdk-meson.rst        | 3 +++
 3 files changed, 7 insertions(+)
doc/guides/custom.css +1 -0
index c87c60611929..a1572eaf9da6 100644
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: BSD-3-Clause */
 /* Override readthedocs theme */
 
 /* Spacing before a list item must be bigger than spacing inside the item.
doc/guides/linux_gsg/nic_perf_intel_platform.rst +3 -0
index 08be5d58b9bb..3ca52c4c65fb 100644
@@ -1,3 +1,6 @@
+..  SPDX-License-Identifier: BSD-3-Clause
+    Copyright(c) 2010-2019 Intel Corporation.
+
 How to get best performance with NICs on Intel platforms
 ========================================================
 
doc/guides/prog_guide/build-sdk-meson.rst +3 -0
index 44d1cafdf035..ac3b89c3009d 100644
@@ -1,3 +1,6 @@
+..  SPDX-License-Identifier: BSD-3-Clause
+    Copyright(c) 2019-2020 Intel Corporation.
+
 Installing DPDK Using the meson build system
 ============================================
 
Signature · 1 line
2.27.0
#5 lore raw

Re: [dpdk-dev] [PATCH 2/3] net/qede/base: add missing license information

In reply to Stephen Hemminger

+Cc maintainers

15/07/2020 01:50, Stephen Hemminger:

Quoted 23 lines

Add SPDX header that is the same as other files in the same qede/base directory.

---
 drivers/net/qede/base/ecore_hsi_func_common.h | 6 ++++++
 1 file changed, 6 insertions(+)
drivers/net/qede/base/ecore_hsi_func_common.h +6 -0
index 2cd175163bcc..0e1187ba20a2 100644
@@ -1,3 +1,9 @@
+/* SPDX-License-Identifier: BSD-3-Clause
+ * Copyright (c) 2016 - 2018 Cavium Inc.
+ * All rights reserved.
+ * www.cavium.com
+ */
+
 #ifndef _HSI_FUNC_COMMON_H
 #define _HSI_FUNC_COMMON_H
 
#2 lore raw

Re: [dpdk-dev] [PATCH 1/3] eal/windows: add missing SPDX license tag

In reply to Stephen Hemminger

+Cc Dmitry

15/07/2020 01:50, Stephen Hemminger:

Quoted 22 lines

This file was added without license information. Add BSD SPDX license with copyright assigned to the original author (as was done for other files in Windows EAL).

---
 lib/librte_eal/windows/eal_hugepages.c | 4 ++++
 1 file changed, 4 insertions(+)
lib/librte_eal/windows/eal_hugepages.c +4 -0
index 44dae985e5d3..83a3d0ffc66c 100644
@@ -1,3 +1,7 @@
+/* SPDX-License-Identifier: BSD-3-Clause
+ * Copyright (c) 2020 Dmitry Kozlyuk
+ */
+
 #include <rte_errno.h>
 #include <rte_log.h>
 #include <rte_memory.h>
#8 lore raw
In reply to Stephen Hemminger
Quoted 7 lines · On Tue, 14 Jul 2020 16:50:08 -0700 Stephen Hemminger…

Fix some recent gaps in SPDX license information.

Stephen Hemminger (3):
eal/windows: add missing SPDX license tag
net/qede/base: add missing license information
doc: add missing SPDX license tags

Quoted 7 lines
 doc/guides/custom.css                            | 1 +
 doc/guides/linux_gsg/nic_perf_intel_platform.rst | 3 +++
 doc/guides/prog_guide/build-sdk-meson.rst        | 3 +++
 drivers/net/qede/base/ecore_hsi_func_common.h    | 6 ++++++
 lib/librte_eal/windows/eal_hugepages.c           | 4 ++++
 5 files changed, 17 insertions(+)

Ping, what happened to these, didn't see them in 20.08