DPDK patches and discussions
 help / color / mirror / Atom feed
From: Rasesh Mody <rasesh.mody@cavium.com>
To: dev@dpdk.org
Cc: Rasesh Mody <rasesh.mody@cavium.com>,
	hemant.agrawal@nxp.com, ferruh.yigit@intel.com,
	thomas@monjalon.net, Dept-EngDPDKDev@cavium.com
Subject: [dpdk-dev] [PATCH] net/bnx2x: move SPDX tags to source files
Date: Sat,  7 Jul 2018 22:24:57 -0700	[thread overview]
Message-ID: <1531027497-31483-1-git-send-email-rasesh.mody@cavium.com> (raw)

We were using LICENSE.bnx2x_pmd to reference inclusion of SPDX licensing
tag from all the source file. Remove the LICENSE.bnx2x_pmd file and
directly include SPDX tags in source files.

Signed-off-by: Rasesh Mody <rasesh.mody@cavium.com>
---
 drivers/net/bnx2x/LICENSE.bnx2x_pmd |    3 ---
 drivers/net/bnx2x/Makefile          |    2 +-
 drivers/net/bnx2x/bnx2x.c           |    2 +-
 drivers/net/bnx2x/bnx2x.h           |    2 +-
 drivers/net/bnx2x/bnx2x_ethdev.c    |    2 +-
 drivers/net/bnx2x/bnx2x_ethdev.h    |    2 +-
 drivers/net/bnx2x/bnx2x_logs.h      |    2 +-
 drivers/net/bnx2x/bnx2x_rxtx.c      |    2 +-
 drivers/net/bnx2x/bnx2x_rxtx.h      |    2 +-
 drivers/net/bnx2x/bnx2x_stats.c     |    2 +-
 drivers/net/bnx2x/bnx2x_stats.h     |    2 +-
 drivers/net/bnx2x/bnx2x_vfpf.c      |    2 +-
 drivers/net/bnx2x/bnx2x_vfpf.h      |    2 +-
 drivers/net/bnx2x/ecore_fw_defs.h   |    2 +-
 drivers/net/bnx2x/ecore_hsi.h       |    2 +-
 drivers/net/bnx2x/ecore_init.h      |    2 +-
 drivers/net/bnx2x/ecore_init_ops.h  |    2 +-
 drivers/net/bnx2x/ecore_mfw_req.h   |    2 +-
 drivers/net/bnx2x/ecore_reg.h       |    2 +-
 drivers/net/bnx2x/ecore_sp.c        |    2 +-
 drivers/net/bnx2x/ecore_sp.h        |    2 +-
 drivers/net/bnx2x/elink.c           |    2 +-
 drivers/net/bnx2x/elink.h           |    2 +-
 23 files changed, 22 insertions(+), 25 deletions(-)
 delete mode 100644 drivers/net/bnx2x/LICENSE.bnx2x_pmd

diff --git a/drivers/net/bnx2x/LICENSE.bnx2x_pmd b/drivers/net/bnx2x/LICENSE.bnx2x_pmd
deleted file mode 100644
index 64c6ef2..0000000
--- a/drivers/net/bnx2x/LICENSE.bnx2x_pmd
+++ /dev/null
@@ -1,3 +0,0 @@
-/* SPDX-License-Identifier: BSD-3-Clause
- * Copyright (c) 2014-2018 Cavium Inc.
- */
diff --git a/drivers/net/bnx2x/Makefile b/drivers/net/bnx2x/Makefile
index 150b4cf..f5221f8 100644
--- a/drivers/net/bnx2x/Makefile
+++ b/drivers/net/bnx2x/Makefile
@@ -2,7 +2,7 @@
 #    All rights reserved.
 #    www.cavium.com
 #
-#    See LICENSE.bnx2x_pmd for copyright and licensing details.
+#    SPDX-License-Identifier: BSD-3-Clause
 include $(RTE_SDK)/mk/rte.vars.mk
 
 #
diff --git a/drivers/net/bnx2x/bnx2x.c b/drivers/net/bnx2x/bnx2x.c
index 84ade5f..24663f8 100644
--- a/drivers/net/bnx2x/bnx2x.c
+++ b/drivers/net/bnx2x/bnx2x.c
@@ -10,7 +10,7 @@
  * All rights reserved.
  * www.cavium.com
  *
- * See LICENSE.bnx2x_pmd for copyright and licensing details.
+ * SPDX-License-Identifier: BSD-3-Clause
  */
 
 #define BNX2X_DRIVER_VERSION "1.78.18"
diff --git a/drivers/net/bnx2x/bnx2x.h b/drivers/net/bnx2x/bnx2x.h
index 4150fd8..adc69a2 100644
--- a/drivers/net/bnx2x/bnx2x.h
+++ b/drivers/net/bnx2x/bnx2x.h
@@ -10,7 +10,7 @@
  * All rights reserved.
  * www.cavium.com
  *
- * See LICENSE.bnx2x_pmd for copyright and licensing details.
+ * SPDX-License-Identifier: BSD-3-Clause
  */
 
 #ifndef __BNX2X_H__
diff --git a/drivers/net/bnx2x/bnx2x_ethdev.c b/drivers/net/bnx2x/bnx2x_ethdev.c
index 6a9cd58..7636e73 100644
--- a/drivers/net/bnx2x/bnx2x_ethdev.c
+++ b/drivers/net/bnx2x/bnx2x_ethdev.c
@@ -5,7 +5,7 @@
  * All rights reserved.
  * www.cavium.com
  *
- * See LICENSE.bnx2x_pmd for copyright and licensing details.
+ * SPDX-License-Identifier: BSD-3-Clause
  */
 
 #include "bnx2x.h"
diff --git a/drivers/net/bnx2x/bnx2x_ethdev.h b/drivers/net/bnx2x/bnx2x_ethdev.h
index f05be7e..233d55d 100644
--- a/drivers/net/bnx2x/bnx2x_ethdev.h
+++ b/drivers/net/bnx2x/bnx2x_ethdev.h
@@ -5,7 +5,7 @@
  * All rights reserved.
  * www.cavium.com
  *
- * See LICENSE.bnx2x_pmd for copyright and licensing details.
+ * SPDX-License-Identifier: BSD-3-Clause
  */
 
 #ifndef PMD_BNX2X_ETHDEV_H
diff --git a/drivers/net/bnx2x/bnx2x_logs.h b/drivers/net/bnx2x/bnx2x_logs.h
index 69a2fe1..67ee348 100644
--- a/drivers/net/bnx2x/bnx2x_logs.h
+++ b/drivers/net/bnx2x/bnx2x_logs.h
@@ -5,7 +5,7 @@
  * All rights reserved.
  * www.cavium.com
  *
- * See LICENSE.bnx2x_pmd for copyright and licensing details.
+ * SPDX-License-Identifier: BSD-3-Clause
  */
 
 #ifndef _PMD_LOGS_H_
diff --git a/drivers/net/bnx2x/bnx2x_rxtx.c b/drivers/net/bnx2x/bnx2x_rxtx.c
index 331884c..727a72a 100644
--- a/drivers/net/bnx2x/bnx2x_rxtx.c
+++ b/drivers/net/bnx2x/bnx2x_rxtx.c
@@ -5,7 +5,7 @@
  * All rights reserved.
  * www.cavium.com
  *
- * See LICENSE.bnx2x_pmd for copyright and licensing details.
+ * SPDX-License-Identifier: BSD-3-Clause
  */
 
 #include "bnx2x.h"
diff --git a/drivers/net/bnx2x/bnx2x_rxtx.h b/drivers/net/bnx2x/bnx2x_rxtx.h
index 94b9e1b..84979f1 100644
--- a/drivers/net/bnx2x/bnx2x_rxtx.h
+++ b/drivers/net/bnx2x/bnx2x_rxtx.h
@@ -5,7 +5,7 @@
  * All rights reserved.
  * www.cavium.com
  *
- * See LICENSE.bnx2x_pmd for copyright and licensing details.
+ * SPDX-License-Identifier: BSD-3-Clause
  */
 
 #ifndef _BNX2X_RXTX_H_
diff --git a/drivers/net/bnx2x/bnx2x_stats.c b/drivers/net/bnx2x/bnx2x_stats.c
index e3880ab..47d8a3e 100644
--- a/drivers/net/bnx2x/bnx2x_stats.c
+++ b/drivers/net/bnx2x/bnx2x_stats.c
@@ -10,7 +10,7 @@
  * All rights reserved.
  * www.cavium.com
  *
- * See LICENSE.bnx2x_pmd for copyright and licensing details.
+ * SPDX-License-Identifier: BSD-3-Clause
  */
 
 #include "bnx2x.h"
diff --git a/drivers/net/bnx2x/bnx2x_stats.h b/drivers/net/bnx2x/bnx2x_stats.h
index 6fcaf60..8729619 100644
--- a/drivers/net/bnx2x/bnx2x_stats.h
+++ b/drivers/net/bnx2x/bnx2x_stats.h
@@ -10,7 +10,7 @@
  * All rights reserved.
  * www.cavium.com
  *
- * See LICENSE.bnx2x_pmd for copyright and licensing details.
+ * SPDX-License-Identifier: BSD-3-Clause
  */
 
 #ifndef BNX2X_STATS_H
diff --git a/drivers/net/bnx2x/bnx2x_vfpf.c b/drivers/net/bnx2x/bnx2x_vfpf.c
index dacad77..dd5ba98 100644
--- a/drivers/net/bnx2x/bnx2x_vfpf.c
+++ b/drivers/net/bnx2x/bnx2x_vfpf.c
@@ -5,7 +5,7 @@
  * All rights reserved.
  * www.cavium.com
  *
- * See LICENSE.bnx2x_pmd for copyright and licensing details.
+ * SPDX-License-Identifier: BSD-3-Clause
  */
 
 #include "bnx2x.h"
diff --git a/drivers/net/bnx2x/bnx2x_vfpf.h b/drivers/net/bnx2x/bnx2x_vfpf.h
index c4675d4..702afe3 100644
--- a/drivers/net/bnx2x/bnx2x_vfpf.h
+++ b/drivers/net/bnx2x/bnx2x_vfpf.h
@@ -5,7 +5,7 @@
  * All rights reserved.
  * www.cavium.com
  *
- * See LICENSE.bnx2x_pmd for copyright and licensing details.
+ * SPDX-License-Identifier: BSD-3-Clause
  */
 
 #ifndef BNX2X_VFPF_H
diff --git a/drivers/net/bnx2x/ecore_fw_defs.h b/drivers/net/bnx2x/ecore_fw_defs.h
index d10dd10..eace530 100644
--- a/drivers/net/bnx2x/ecore_fw_defs.h
+++ b/drivers/net/bnx2x/ecore_fw_defs.h
@@ -9,7 +9,7 @@
  * All rights reserved.
  * www.cavium.com
  *
- * See LICENSE.bnx2x_pmd for copyright and licensing details.
+ * SPDX-License-Identifier: BSD-3-Clause
  */
 
 #ifndef ECORE_FW_DEFS_H
diff --git a/drivers/net/bnx2x/ecore_hsi.h b/drivers/net/bnx2x/ecore_hsi.h
index 0220e5f..94879c5 100644
--- a/drivers/net/bnx2x/ecore_hsi.h
+++ b/drivers/net/bnx2x/ecore_hsi.h
@@ -9,7 +9,7 @@
  * All rights reserved.
  * www.cavium.com
  *
- * See LICENSE.bnx2x_pmd for copyright and licensing details.
+ * SPDX-License-Identifier: BSD-3-Clause
  */
 
 #ifndef ECORE_HSI_H
diff --git a/drivers/net/bnx2x/ecore_init.h b/drivers/net/bnx2x/ecore_init.h
index 8d00abb..a17ca19 100644
--- a/drivers/net/bnx2x/ecore_init.h
+++ b/drivers/net/bnx2x/ecore_init.h
@@ -10,7 +10,7 @@
  * All rights reserved.
  * www.cavium.com
  *
- * See LICENSE.bnx2x_pmd for copyright and licensing details.
+ * SPDX-License-Identifier: BSD-3-Clause
  */
 
 #ifndef ECORE_INIT_H
diff --git a/drivers/net/bnx2x/ecore_init_ops.h b/drivers/net/bnx2x/ecore_init_ops.h
index dd5df3d..a93e7b4 100644
--- a/drivers/net/bnx2x/ecore_init_ops.h
+++ b/drivers/net/bnx2x/ecore_init_ops.h
@@ -10,7 +10,7 @@
  * All rights reserved.
  * www.cavium.com
  *
- * See LICENSE.bnx2x_pmd for copyright and licensing details.
+ * SPDX-License-Identifier: BSD-3-Clause
  */
 
 #ifndef ECORE_INIT_OPS_H
diff --git a/drivers/net/bnx2x/ecore_mfw_req.h b/drivers/net/bnx2x/ecore_mfw_req.h
index c798c74..6a20285 100644
--- a/drivers/net/bnx2x/ecore_mfw_req.h
+++ b/drivers/net/bnx2x/ecore_mfw_req.h
@@ -9,7 +9,7 @@
  * All rights reserved.
  * www.cavium.com
  *
- * See LICENSE.bnx2x_pmd for copyright and licensing details.
+ * SPDX-License-Identifier: BSD-3-Clause
  */
 
 #ifndef ECORE_MFW_REQ_H
diff --git a/drivers/net/bnx2x/ecore_reg.h b/drivers/net/bnx2x/ecore_reg.h
index 9800baf..6520897 100644
--- a/drivers/net/bnx2x/ecore_reg.h
+++ b/drivers/net/bnx2x/ecore_reg.h
@@ -9,7 +9,7 @@
  * All rights reserved.
  * www.cavium.com
  *
- * See LICENSE.bnx2x_pmd for copyright and licensing details.
+ * SPDX-License-Identifier: BSD-3-Clause
  */
 
 #ifndef ECORE_REG_H
diff --git a/drivers/net/bnx2x/ecore_sp.c b/drivers/net/bnx2x/ecore_sp.c
index 7532967..cd8d5ee 100644
--- a/drivers/net/bnx2x/ecore_sp.c
+++ b/drivers/net/bnx2x/ecore_sp.c
@@ -10,7 +10,7 @@
  * All rights reserved.
  * www.cavium.com
  *
- * See LICENSE.bnx2x_pmd for copyright and licensing details.
+ * SPDX-License-Identifier: BSD-3-Clause
  */
 
 #include "bnx2x.h"
diff --git a/drivers/net/bnx2x/ecore_sp.h b/drivers/net/bnx2x/ecore_sp.h
index 772c8b1..1fd0caf 100644
--- a/drivers/net/bnx2x/ecore_sp.h
+++ b/drivers/net/bnx2x/ecore_sp.h
@@ -10,7 +10,7 @@
  * All rights reserved.
  * www.cavium.com
  *
- * See LICENSE.bnx2x_pmd for copyright and licensing details.
+ * SPDX-License-Identifier: BSD-3-Clause
  */
 
 #ifndef ECORE_SP_H
diff --git a/drivers/net/bnx2x/elink.c b/drivers/net/bnx2x/elink.c
index 34a2937..0f312db 100644
--- a/drivers/net/bnx2x/elink.c
+++ b/drivers/net/bnx2x/elink.c
@@ -10,7 +10,7 @@
  * All rights reserved.
  * www.cavium.com
  *
- * See LICENSE.bnx2x_pmd for copyright and licensing details.
+ * SPDX-License-Identifier: BSD-3-Clause
  */
 
 #include "bnx2x.h"
diff --git a/drivers/net/bnx2x/elink.h b/drivers/net/bnx2x/elink.h
index 236f936..2c716ff 100644
--- a/drivers/net/bnx2x/elink.h
+++ b/drivers/net/bnx2x/elink.h
@@ -10,7 +10,7 @@
  * All rights reserved.
  * www.cavium.com
  *
- * See LICENSE.bnx2x_pmd for copyright and licensing details.
+ * SPDX-License-Identifier: BSD-3-Clause
  */
 
 #ifndef ELINK_H
-- 
1.7.10.3

             reply	other threads:[~2018-07-08  5:25 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-07-08  5:24 Rasesh Mody [this message]
2018-07-09 21:07 ` Thomas Monjalon
2018-07-10 15:57   ` Mody, Rasesh
2018-07-14  1:33 ` [dpdk-dev] [PATCH v2] " Rasesh Mody
2018-07-16  6:29   ` Hemant
2018-07-16 20:05     ` Mody, Rasesh
2018-07-27 15:47   ` [dpdk-dev] [PATCH v3] " Rasesh Mody
2018-08-03 14:48     ` Thomas Monjalon

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1531027497-31483-1-git-send-email-rasesh.mody@cavium.com \
    --to=rasesh.mody@cavium.com \
    --cc=Dept-EngDPDKDev@cavium.com \
    --cc=dev@dpdk.org \
    --cc=ferruh.yigit@intel.com \
    --cc=hemant.agrawal@nxp.com \
    --cc=thomas@monjalon.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).