* [dpdk-dev] [PATCH] net/qede: move SPDX tags to source files
@ 2018-07-08 5:27 Rasesh Mody
2018-07-09 6:39 ` Hemant Agrawal
2018-07-14 1:34 ` [dpdk-dev] [PATCH v2] " Rasesh Mody
0 siblings, 2 replies; 6+ messages in thread
From: Rasesh Mody @ 2018-07-08 5:27 UTC (permalink / raw)
To: dev; +Cc: Rasesh Mody, hemant.agrawal, ferruh.yigit, thomas, Dept-EngDPDKDev
We were using LICENSE.qede_pmd to reference inclusion of SPDX licensing
tag from all the source file. Remove the LICENSE.qede_pmd file and
directly include SPDX tags in source files.
Signed-off-by: Rasesh Mody <rasesh.mody@cavium.com>
---
drivers/net/qede/LICENSE.qede_pmd | 3 ---
drivers/net/qede/Makefile | 2 +-
drivers/net/qede/base/bcm_osal.c | 2 +-
drivers/net/qede/base/bcm_osal.h | 2 +-
drivers/net/qede/base/common_hsi.h | 2 +-
drivers/net/qede/base/ecore.h | 2 +-
drivers/net/qede/base/ecore_attn_values.h | 2 +-
drivers/net/qede/base/ecore_chain.h | 2 +-
drivers/net/qede/base/ecore_cxt.c | 2 +-
drivers/net/qede/base/ecore_cxt.h | 2 +-
drivers/net/qede/base/ecore_cxt_api.h | 2 +-
drivers/net/qede/base/ecore_dcbx.c | 2 +-
drivers/net/qede/base/ecore_dcbx.h | 2 +-
drivers/net/qede/base/ecore_dcbx_api.h | 2 +-
drivers/net/qede/base/ecore_dev.c | 2 +-
drivers/net/qede/base/ecore_dev_api.h | 2 +-
drivers/net/qede/base/ecore_gtt_reg_addr.h | 2 +-
drivers/net/qede/base/ecore_gtt_values.h | 2 +-
drivers/net/qede/base/ecore_hsi_common.h | 2 +-
drivers/net/qede/base/ecore_hsi_debug_tools.h | 2 +-
drivers/net/qede/base/ecore_hsi_eth.h | 2 +-
drivers/net/qede/base/ecore_hsi_init_func.h | 2 +-
drivers/net/qede/base/ecore_hsi_init_tool.h | 2 +-
drivers/net/qede/base/ecore_hw.c | 2 +-
drivers/net/qede/base/ecore_hw.h | 2 +-
drivers/net/qede/base/ecore_hw_defs.h | 2 +-
drivers/net/qede/base/ecore_init_fw_funcs.c | 2 +-
drivers/net/qede/base/ecore_init_fw_funcs.h | 2 +-
drivers/net/qede/base/ecore_init_ops.c | 2 +-
drivers/net/qede/base/ecore_init_ops.h | 2 +-
drivers/net/qede/base/ecore_int.c | 2 +-
drivers/net/qede/base/ecore_int.h | 2 +-
drivers/net/qede/base/ecore_int_api.h | 2 +-
drivers/net/qede/base/ecore_iov_api.h | 2 +-
drivers/net/qede/base/ecore_iro.h | 2 +-
drivers/net/qede/base/ecore_iro_values.h | 2 +-
drivers/net/qede/base/ecore_l2.c | 2 +-
drivers/net/qede/base/ecore_l2.h | 2 +-
drivers/net/qede/base/ecore_l2_api.h | 2 +-
drivers/net/qede/base/ecore_mcp.c | 2 +-
drivers/net/qede/base/ecore_mcp.h | 2 +-
drivers/net/qede/base/ecore_mcp_api.h | 2 +-
drivers/net/qede/base/ecore_mng_tlv.c | 2 +-
drivers/net/qede/base/ecore_proto_if.h | 2 +-
drivers/net/qede/base/ecore_rt_defs.h | 2 +-
drivers/net/qede/base/ecore_sp_api.h | 2 +-
drivers/net/qede/base/ecore_sp_commands.c | 2 +-
drivers/net/qede/base/ecore_sp_commands.h | 2 +-
drivers/net/qede/base/ecore_spq.c | 2 +-
drivers/net/qede/base/ecore_spq.h | 2 +-
drivers/net/qede/base/ecore_sriov.c | 2 +-
drivers/net/qede/base/ecore_sriov.h | 2 +-
drivers/net/qede/base/ecore_status.h | 2 +-
drivers/net/qede/base/ecore_utils.h | 2 +-
drivers/net/qede/base/ecore_vf.c | 2 +-
drivers/net/qede/base/ecore_vf.h | 2 +-
drivers/net/qede/base/ecore_vf_api.h | 2 +-
drivers/net/qede/base/ecore_vfpf_if.h | 2 +-
drivers/net/qede/base/eth_common.h | 2 +-
drivers/net/qede/base/mcp_public.h | 2 +-
drivers/net/qede/base/nvm_cfg.h | 2 +-
drivers/net/qede/base/reg_addr.h | 2 +-
drivers/net/qede/qede_ethdev.c | 2 +-
drivers/net/qede/qede_ethdev.h | 2 +-
drivers/net/qede/qede_fdir.c | 2 +-
drivers/net/qede/qede_if.h | 2 +-
drivers/net/qede/qede_logs.h | 2 +-
drivers/net/qede/qede_main.c | 2 +-
drivers/net/qede/qede_rxtx.c | 2 +-
drivers/net/qede/qede_rxtx.h | 2 +-
70 files changed, 69 insertions(+), 72 deletions(-)
delete mode 100644 drivers/net/qede/LICENSE.qede_pmd
diff --git a/drivers/net/qede/LICENSE.qede_pmd b/drivers/net/qede/LICENSE.qede_pmd
deleted file mode 100644
index 022085a..0000000
--- a/drivers/net/qede/LICENSE.qede_pmd
+++ /dev/null
@@ -1,3 +0,0 @@
-/* SPDX-License-Identifier: BSD-3-Clause
- * Copyright (c) 2016 - 2018 Cavium Inc.
- */
diff --git a/drivers/net/qede/Makefile b/drivers/net/qede/Makefile
index c30a867..45ad579 100644
--- a/drivers/net/qede/Makefile
+++ b/drivers/net/qede/Makefile
@@ -2,7 +2,7 @@
# All rights reserved.
# www.cavium.com
#
-# See LICENSE.qede_pmd for copyright and licensing details.
+# SPDX-License-Identifier: BSD-3-Clause
include $(RTE_SDK)/mk/rte.vars.mk
diff --git a/drivers/net/qede/base/bcm_osal.c b/drivers/net/qede/base/bcm_osal.c
index 72627df..d94f38c 100644
--- a/drivers/net/qede/base/bcm_osal.c
+++ b/drivers/net/qede/base/bcm_osal.c
@@ -3,7 +3,7 @@
* All rights reserved.
* www.cavium.com
*
- * See LICENSE.qede_pmd for copyright and licensing details.
+ * SPDX-License-Identifier: BSD-3-Clause
*/
#include <rte_memzone.h>
diff --git a/drivers/net/qede/base/bcm_osal.h b/drivers/net/qede/base/bcm_osal.h
index 27090c7..2025bea 100644
--- a/drivers/net/qede/base/bcm_osal.h
+++ b/drivers/net/qede/base/bcm_osal.h
@@ -3,7 +3,7 @@
* All rights reserved.
* www.cavium.com
*
- * See LICENSE.qede_pmd for copyright and licensing details.
+ * SPDX-License-Identifier: BSD-3-Clause
*/
#ifndef __BCM_OSAL_H
diff --git a/drivers/net/qede/base/common_hsi.h b/drivers/net/qede/base/common_hsi.h
index 5250784..5b1545c 100644
--- a/drivers/net/qede/base/common_hsi.h
+++ b/drivers/net/qede/base/common_hsi.h
@@ -3,7 +3,7 @@
* All rights reserved.
* www.cavium.com
*
- * See LICENSE.qede_pmd for copyright and licensing details.
+ * SPDX-License-Identifier: BSD-3-Clause
*/
#ifndef __COMMON_HSI__
diff --git a/drivers/net/qede/base/ecore.h b/drivers/net/qede/base/ecore.h
index 57d6aa9..bbe93ef 100644
--- a/drivers/net/qede/base/ecore.h
+++ b/drivers/net/qede/base/ecore.h
@@ -3,7 +3,7 @@
* All rights reserved.
* www.cavium.com
*
- * See LICENSE.qede_pmd for copyright and licensing details.
+ * SPDX-License-Identifier: BSD-3-Clause
*/
#ifndef __ECORE_H
diff --git a/drivers/net/qede/base/ecore_attn_values.h b/drivers/net/qede/base/ecore_attn_values.h
index d893e0a..7e52369 100644
--- a/drivers/net/qede/base/ecore_attn_values.h
+++ b/drivers/net/qede/base/ecore_attn_values.h
@@ -3,7 +3,7 @@
* All rights reserved.
* www.cavium.com
*
- * See LICENSE.qede_pmd for copyright and licensing details.
+ * SPDX-License-Identifier: BSD-3-Clause
*/
#ifndef __ATTN_VALUES_H__
diff --git a/drivers/net/qede/base/ecore_chain.h b/drivers/net/qede/base/ecore_chain.h
index 0b79746..839c0c6 100644
--- a/drivers/net/qede/base/ecore_chain.h
+++ b/drivers/net/qede/base/ecore_chain.h
@@ -3,7 +3,7 @@
* All rights reserved.
* www.cavium.com
*
- * See LICENSE.qede_pmd for copyright and licensing details.
+ * SPDX-License-Identifier: BSD-3-Clause
*/
#ifndef __ECORE_CHAIN_H__
diff --git a/drivers/net/qede/base/ecore_cxt.c b/drivers/net/qede/base/ecore_cxt.c
index a91b2ff..b857c99 100644
--- a/drivers/net/qede/base/ecore_cxt.c
+++ b/drivers/net/qede/base/ecore_cxt.c
@@ -3,7 +3,7 @@
* All rights reserved.
* www.cavium.com
*
- * See LICENSE.qede_pmd for copyright and licensing details.
+ * SPDX-License-Identifier: BSD-3-Clause
*/
#include "bcm_osal.h"
diff --git a/drivers/net/qede/base/ecore_cxt.h b/drivers/net/qede/base/ecore_cxt.h
index 3bcbe8f..8d7d74c 100644
--- a/drivers/net/qede/base/ecore_cxt.h
+++ b/drivers/net/qede/base/ecore_cxt.h
@@ -3,7 +3,7 @@
* All rights reserved.
* www.cavium.com
*
- * See LICENSE.qede_pmd for copyright and licensing details.
+ * SPDX-License-Identifier: BSD-3-Clause
*/
#ifndef _ECORE_CID_
diff --git a/drivers/net/qede/base/ecore_cxt_api.h b/drivers/net/qede/base/ecore_cxt_api.h
index 65509ad..58f9afb 100644
--- a/drivers/net/qede/base/ecore_cxt_api.h
+++ b/drivers/net/qede/base/ecore_cxt_api.h
@@ -3,7 +3,7 @@
* All rights reserved.
* www.cavium.com
*
- * See LICENSE.qede_pmd for copyright and licensing details.
+ * SPDX-License-Identifier: BSD-3-Clause
*/
#ifndef __ECORE_CXT_API_H__
diff --git a/drivers/net/qede/base/ecore_dcbx.c b/drivers/net/qede/base/ecore_dcbx.c
index 9b8d39f..e646bdd 100644
--- a/drivers/net/qede/base/ecore_dcbx.c
+++ b/drivers/net/qede/base/ecore_dcbx.c
@@ -3,7 +3,7 @@
* All rights reserved.
* www.cavium.com
*
- * See LICENSE.qede_pmd for copyright and licensing details.
+ * SPDX-License-Identifier: BSD-3-Clause
*/
#include "bcm_osal.h"
diff --git a/drivers/net/qede/base/ecore_dcbx.h b/drivers/net/qede/base/ecore_dcbx.h
index 49df62c..ea3c183 100644
--- a/drivers/net/qede/base/ecore_dcbx.h
+++ b/drivers/net/qede/base/ecore_dcbx.h
@@ -3,7 +3,7 @@
* All rights reserved.
* www.cavium.com
*
- * See LICENSE.qede_pmd for copyright and licensing details.
+ * SPDX-License-Identifier: BSD-3-Clause
*/
#ifndef __ECORE_DCBX_H__
diff --git a/drivers/net/qede/base/ecore_dcbx_api.h b/drivers/net/qede/base/ecore_dcbx_api.h
index 2ad1def..d1c378e 100644
--- a/drivers/net/qede/base/ecore_dcbx_api.h
+++ b/drivers/net/qede/base/ecore_dcbx_api.h
@@ -3,7 +3,7 @@
* All rights reserved.
* www.cavium.com
*
- * See LICENSE.qede_pmd for copyright and licensing details.
+ * SPDX-License-Identifier: BSD-3-Clause
*/
#ifndef __ECORE_DCBX_API_H__
diff --git a/drivers/net/qede/base/ecore_dev.c b/drivers/net/qede/base/ecore_dev.c
index 4ebbedd..b557cf2 100644
--- a/drivers/net/qede/base/ecore_dev.c
+++ b/drivers/net/qede/base/ecore_dev.c
@@ -3,7 +3,7 @@
* All rights reserved.
* www.cavium.com
*
- * See LICENSE.qede_pmd for copyright and licensing details.
+ * SPDX-License-Identifier: BSD-3-Clause
*/
#include "bcm_osal.h"
diff --git a/drivers/net/qede/base/ecore_dev_api.h b/drivers/net/qede/base/ecore_dev_api.h
index 0dd78d6..36f3158 100644
--- a/drivers/net/qede/base/ecore_dev_api.h
+++ b/drivers/net/qede/base/ecore_dev_api.h
@@ -3,7 +3,7 @@
* All rights reserved.
* www.cavium.com
*
- * See LICENSE.qede_pmd for copyright and licensing details.
+ * SPDX-License-Identifier: BSD-3-Clause
*/
#ifndef __ECORE_DEV_API_H__
diff --git a/drivers/net/qede/base/ecore_gtt_reg_addr.h b/drivers/net/qede/base/ecore_gtt_reg_addr.h
index ac29dc4..3c23390 100644
--- a/drivers/net/qede/base/ecore_gtt_reg_addr.h
+++ b/drivers/net/qede/base/ecore_gtt_reg_addr.h
@@ -3,7 +3,7 @@
* All rights reserved.
* www.cavium.com
*
- * See LICENSE.qede_pmd for copyright and licensing details.
+ * SPDX-License-Identifier: BSD-3-Clause
*/
#ifndef GTT_REG_ADDR_H
diff --git a/drivers/net/qede/base/ecore_gtt_values.h b/drivers/net/qede/base/ecore_gtt_values.h
index d9af94d..a61ed79 100644
--- a/drivers/net/qede/base/ecore_gtt_values.h
+++ b/drivers/net/qede/base/ecore_gtt_values.h
@@ -3,7 +3,7 @@
* All rights reserved.
* www.cavium.com
*
- * See LICENSE.qede_pmd for copyright and licensing details.
+ * SPDX-License-Identifier: BSD-3-Clause
*/
#ifndef __PREVENT_PXP_GLOBAL_WIN__
diff --git a/drivers/net/qede/base/ecore_hsi_common.h b/drivers/net/qede/base/ecore_hsi_common.h
index d400fa9..5e9beee 100644
--- a/drivers/net/qede/base/ecore_hsi_common.h
+++ b/drivers/net/qede/base/ecore_hsi_common.h
@@ -3,7 +3,7 @@
* All rights reserved.
* www.cavium.com
*
- * See LICENSE.qede_pmd for copyright and licensing details.
+ * SPDX-License-Identifier: BSD-3-Clause
*/
#ifndef __ECORE_HSI_COMMON__
diff --git a/drivers/net/qede/base/ecore_hsi_debug_tools.h b/drivers/net/qede/base/ecore_hsi_debug_tools.h
index 262834e..3471e5c5 100644
--- a/drivers/net/qede/base/ecore_hsi_debug_tools.h
+++ b/drivers/net/qede/base/ecore_hsi_debug_tools.h
@@ -3,7 +3,7 @@
* All rights reserved.
* www.cavium.com
*
- * See LICENSE.qede_pmd for copyright and licensing details.
+ * SPDX-License-Identifier: BSD-3-Clause
*/
#ifndef __ECORE_HSI_DEBUG_TOOLS__
diff --git a/drivers/net/qede/base/ecore_hsi_eth.h b/drivers/net/qede/base/ecore_hsi_eth.h
index efe3bb2..e4f652b 100644
--- a/drivers/net/qede/base/ecore_hsi_eth.h
+++ b/drivers/net/qede/base/ecore_hsi_eth.h
@@ -3,7 +3,7 @@
* All rights reserved.
* www.cavium.com
*
- * See LICENSE.qede_pmd for copyright and licensing details.
+ * SPDX-License-Identifier: BSD-3-Clause
*/
#ifndef __ECORE_HSI_ETH__
diff --git a/drivers/net/qede/base/ecore_hsi_init_func.h b/drivers/net/qede/base/ecore_hsi_init_func.h
index c318514..233e4fe 100644
--- a/drivers/net/qede/base/ecore_hsi_init_func.h
+++ b/drivers/net/qede/base/ecore_hsi_init_func.h
@@ -3,7 +3,7 @@
* All rights reserved.
* www.cavium.com
*
- * See LICENSE.qede_pmd for copyright and licensing details.
+ * SPDX-License-Identifier: BSD-3-Clause
*/
#ifndef __ECORE_HSI_INIT_FUNC__
diff --git a/drivers/net/qede/base/ecore_hsi_init_tool.h b/drivers/net/qede/base/ecore_hsi_init_tool.h
index 2e338a9..6bac273 100644
--- a/drivers/net/qede/base/ecore_hsi_init_tool.h
+++ b/drivers/net/qede/base/ecore_hsi_init_tool.h
@@ -3,7 +3,7 @@
* All rights reserved.
* www.cavium.com
*
- * See LICENSE.qede_pmd for copyright and licensing details.
+ * SPDX-License-Identifier: BSD-3-Clause
*/
#ifndef __ECORE_HSI_INIT_TOOL__
diff --git a/drivers/net/qede/base/ecore_hw.c b/drivers/net/qede/base/ecore_hw.c
index b00c33d..5247aae 100644
--- a/drivers/net/qede/base/ecore_hw.c
+++ b/drivers/net/qede/base/ecore_hw.c
@@ -3,7 +3,7 @@
* All rights reserved.
* www.cavium.com
*
- * See LICENSE.qede_pmd for copyright and licensing details.
+ * SPDX-License-Identifier: BSD-3-Clause
*/
#include "bcm_osal.h"
diff --git a/drivers/net/qede/base/ecore_hw.h b/drivers/net/qede/base/ecore_hw.h
index f3f513e..fbe8934 100644
--- a/drivers/net/qede/base/ecore_hw.h
+++ b/drivers/net/qede/base/ecore_hw.h
@@ -3,7 +3,7 @@
* All rights reserved.
* www.cavium.com
*
- * See LICENSE.qede_pmd for copyright and licensing details.
+ * SPDX-License-Identifier: BSD-3-Clause
*/
#ifndef __ECORE_HW_H__
diff --git a/drivers/net/qede/base/ecore_hw_defs.h b/drivers/net/qede/base/ecore_hw_defs.h
index 2f4bd53..f50b297 100644
--- a/drivers/net/qede/base/ecore_hw_defs.h
+++ b/drivers/net/qede/base/ecore_hw_defs.h
@@ -3,7 +3,7 @@
* All rights reserved.
* www.cavium.com
*
- * See LICENSE.qede_pmd for copyright and licensing details.
+ * SPDX-License-Identifier: BSD-3-Clause
*/
#ifndef _ECORE_IGU_DEF_H_
diff --git a/drivers/net/qede/base/ecore_init_fw_funcs.c b/drivers/net/qede/base/ecore_init_fw_funcs.c
index 3f98662..bd77808 100644
--- a/drivers/net/qede/base/ecore_init_fw_funcs.c
+++ b/drivers/net/qede/base/ecore_init_fw_funcs.c
@@ -3,7 +3,7 @@
* All rights reserved.
* www.cavium.com
*
- * See LICENSE.qede_pmd for copyright and licensing details.
+ * SPDX-License-Identifier: BSD-3-Clause
*/
#include "bcm_osal.h"
diff --git a/drivers/net/qede/base/ecore_init_fw_funcs.h b/drivers/net/qede/base/ecore_init_fw_funcs.h
index 310c9ed..a81e99f 100644
--- a/drivers/net/qede/base/ecore_init_fw_funcs.h
+++ b/drivers/net/qede/base/ecore_init_fw_funcs.h
@@ -3,7 +3,7 @@
* All rights reserved.
* www.cavium.com
*
- * See LICENSE.qede_pmd for copyright and licensing details.
+ * SPDX-License-Identifier: BSD-3-Clause
*/
#ifndef _INIT_FW_FUNCS_H
diff --git a/drivers/net/qede/base/ecore_init_ops.c b/drivers/net/qede/base/ecore_init_ops.c
index eadccf4..0e830b8 100644
--- a/drivers/net/qede/base/ecore_init_ops.c
+++ b/drivers/net/qede/base/ecore_init_ops.c
@@ -3,7 +3,7 @@
* All rights reserved.
* www.cavium.com
*
- * See LICENSE.qede_pmd for copyright and licensing details.
+ * SPDX-License-Identifier: BSD-3-Clause
*/
/* include the precompiled configuration values - only once */
diff --git a/drivers/net/qede/base/ecore_init_ops.h b/drivers/net/qede/base/ecore_init_ops.h
index 7ca00e4..414f57f 100644
--- a/drivers/net/qede/base/ecore_init_ops.h
+++ b/drivers/net/qede/base/ecore_init_ops.h
@@ -3,7 +3,7 @@
* All rights reserved.
* www.cavium.com
*
- * See LICENSE.qede_pmd for copyright and licensing details.
+ * SPDX-License-Identifier: BSD-3-Clause
*/
#ifndef __ECORE_INIT_OPS__
diff --git a/drivers/net/qede/base/ecore_int.c b/drivers/net/qede/base/ecore_int.c
index 7272f05..7854142 100644
--- a/drivers/net/qede/base/ecore_int.c
+++ b/drivers/net/qede/base/ecore_int.c
@@ -3,7 +3,7 @@
* All rights reserved.
* www.cavium.com
*
- * See LICENSE.qede_pmd for copyright and licensing details.
+ * SPDX-License-Identifier: BSD-3-Clause
*/
#include <rte_string_fns.h>
diff --git a/drivers/net/qede/base/ecore_int.h b/drivers/net/qede/base/ecore_int.h
index bb22fdd..ce81b92 100644
--- a/drivers/net/qede/base/ecore_int.h
+++ b/drivers/net/qede/base/ecore_int.h
@@ -3,7 +3,7 @@
* All rights reserved.
* www.cavium.com
*
- * See LICENSE.qede_pmd for copyright and licensing details.
+ * SPDX-License-Identifier: BSD-3-Clause
*/
#ifndef __ECORE_INT_H__
diff --git a/drivers/net/qede/base/ecore_int_api.h b/drivers/net/qede/base/ecore_int_api.h
index dff5377..a399afe 100644
--- a/drivers/net/qede/base/ecore_int_api.h
+++ b/drivers/net/qede/base/ecore_int_api.h
@@ -3,7 +3,7 @@
* All rights reserved.
* www.cavium.com
*
- * See LICENSE.qede_pmd for copyright and licensing details.
+ * SPDX-License-Identifier: BSD-3-Clause
*/
#ifndef __ECORE_INT_API_H__
diff --git a/drivers/net/qede/base/ecore_iov_api.h b/drivers/net/qede/base/ecore_iov_api.h
index ee7cad7..00a1621 100644
--- a/drivers/net/qede/base/ecore_iov_api.h
+++ b/drivers/net/qede/base/ecore_iov_api.h
@@ -3,7 +3,7 @@
* All rights reserved.
* www.cavium.com
*
- * See LICENSE.qede_pmd for copyright and licensing details.
+ * SPDX-License-Identifier: BSD-3-Clause
*/
#ifndef __ECORE_SRIOV_API_H__
diff --git a/drivers/net/qede/base/ecore_iro.h b/drivers/net/qede/base/ecore_iro.h
index e4dc1c9..e8d069e 100644
--- a/drivers/net/qede/base/ecore_iro.h
+++ b/drivers/net/qede/base/ecore_iro.h
@@ -3,7 +3,7 @@
* All rights reserved.
* www.cavium.com
*
- * See LICENSE.qede_pmd for copyright and licensing details.
+ * SPDX-License-Identifier: BSD-3-Clause
*/
#ifndef __IRO_H__
diff --git a/drivers/net/qede/base/ecore_iro_values.h b/drivers/net/qede/base/ecore_iro_values.h
index b47abeb..46f5d6a 100644
--- a/drivers/net/qede/base/ecore_iro_values.h
+++ b/drivers/net/qede/base/ecore_iro_values.h
@@ -3,7 +3,7 @@
* All rights reserved.
* www.cavium.com
*
- * See LICENSE.qede_pmd for copyright and licensing details.
+ * SPDX-License-Identifier: BSD-3-Clause
*/
#ifndef __IRO_VALUES_H__
diff --git a/drivers/net/qede/base/ecore_l2.c b/drivers/net/qede/base/ecore_l2.c
index 91d89e5..23b1a49 100644
--- a/drivers/net/qede/base/ecore_l2.c
+++ b/drivers/net/qede/base/ecore_l2.c
@@ -3,7 +3,7 @@
* All rights reserved.
* www.cavium.com
*
- * See LICENSE.qede_pmd for copyright and licensing details.
+ * SPDX-License-Identifier: BSD-3-Clause
*/
#include "bcm_osal.h"
diff --git a/drivers/net/qede/base/ecore_l2.h b/drivers/net/qede/base/ecore_l2.h
index bea6a6d..6f34cd6 100644
--- a/drivers/net/qede/base/ecore_l2.h
+++ b/drivers/net/qede/base/ecore_l2.h
@@ -3,7 +3,7 @@
* All rights reserved.
* www.cavium.com
*
- * See LICENSE.qede_pmd for copyright and licensing details.
+ * SPDX-License-Identifier: BSD-3-Clause
*/
#ifndef __ECORE_L2_H__
diff --git a/drivers/net/qede/base/ecore_l2_api.h b/drivers/net/qede/base/ecore_l2_api.h
index 43ebbd1..5c7cea4 100644
--- a/drivers/net/qede/base/ecore_l2_api.h
+++ b/drivers/net/qede/base/ecore_l2_api.h
@@ -3,7 +3,7 @@
* All rights reserved.
* www.cavium.com
*
- * See LICENSE.qede_pmd for copyright and licensing details.
+ * SPDX-License-Identifier: BSD-3-Clause
*/
#ifndef __ECORE_L2_API_H__
diff --git a/drivers/net/qede/base/ecore_mcp.c b/drivers/net/qede/base/ecore_mcp.c
index 784d28c..9135fbe 100644
--- a/drivers/net/qede/base/ecore_mcp.c
+++ b/drivers/net/qede/base/ecore_mcp.c
@@ -3,7 +3,7 @@
* All rights reserved.
* www.cavium.com
*
- * See LICENSE.qede_pmd for copyright and licensing details.
+ * SPDX-License-Identifier: BSD-3-Clause
*/
#include "bcm_osal.h"
diff --git a/drivers/net/qede/base/ecore_mcp.h b/drivers/net/qede/base/ecore_mcp.h
index c422736..1d039ba 100644
--- a/drivers/net/qede/base/ecore_mcp.h
+++ b/drivers/net/qede/base/ecore_mcp.h
@@ -3,7 +3,7 @@
* All rights reserved.
* www.cavium.com
*
- * See LICENSE.qede_pmd for copyright and licensing details.
+ * SPDX-License-Identifier: BSD-3-Clause
*/
#ifndef __ECORE_MCP_H__
diff --git a/drivers/net/qede/base/ecore_mcp_api.h b/drivers/net/qede/base/ecore_mcp_api.h
index 06b33bb..9d5f7cf 100644
--- a/drivers/net/qede/base/ecore_mcp_api.h
+++ b/drivers/net/qede/base/ecore_mcp_api.h
@@ -3,7 +3,7 @@
* All rights reserved.
* www.cavium.com
*
- * See LICENSE.qede_pmd for copyright and licensing details.
+ * SPDX-License-Identifier: BSD-3-Clause
*/
#ifndef __ECORE_MCP_API_H__
diff --git a/drivers/net/qede/base/ecore_mng_tlv.c b/drivers/net/qede/base/ecore_mng_tlv.c
index b48076a..683c043 100644
--- a/drivers/net/qede/base/ecore_mng_tlv.c
+++ b/drivers/net/qede/base/ecore_mng_tlv.c
@@ -3,7 +3,7 @@
* All rights reserved.
* www.cavium.com
*
- * See LICENSE.qede_pmd for copyright and licensing details.
+ * SPDX-License-Identifier: BSD-3-Clause
*/
#include "bcm_osal.h"
diff --git a/drivers/net/qede/base/ecore_proto_if.h b/drivers/net/qede/base/ecore_proto_if.h
index f049d82..cafbd23 100644
--- a/drivers/net/qede/base/ecore_proto_if.h
+++ b/drivers/net/qede/base/ecore_proto_if.h
@@ -3,7 +3,7 @@
* All rights reserved.
* www.cavium.com
*
- * See LICENSE.qede_pmd for copyright and licensing details.
+ * SPDX-License-Identifier: BSD-3-Clause
*/
#ifndef __ECORE_PROTO_IF_H__
diff --git a/drivers/net/qede/base/ecore_rt_defs.h b/drivers/net/qede/base/ecore_rt_defs.h
index 7dec2dd..1ae7fa8 100644
--- a/drivers/net/qede/base/ecore_rt_defs.h
+++ b/drivers/net/qede/base/ecore_rt_defs.h
@@ -3,7 +3,7 @@
* All rights reserved.
* www.cavium.com
*
- * See LICENSE.qede_pmd for copyright and licensing details.
+ * SPDX-License-Identifier: BSD-3-Clause
*/
#ifndef __RT_DEFS_H__
diff --git a/drivers/net/qede/base/ecore_sp_api.h b/drivers/net/qede/base/ecore_sp_api.h
index 469bf1d..ca60e89 100644
--- a/drivers/net/qede/base/ecore_sp_api.h
+++ b/drivers/net/qede/base/ecore_sp_api.h
@@ -3,7 +3,7 @@
* All rights reserved.
* www.cavium.com
*
- * See LICENSE.qede_pmd for copyright and licensing details.
+ * SPDX-License-Identifier: BSD-3-Clause
*/
#ifndef __ECORE_SP_API_H__
diff --git a/drivers/net/qede/base/ecore_sp_commands.c b/drivers/net/qede/base/ecore_sp_commands.c
index 47c1feb..87180b0 100644
--- a/drivers/net/qede/base/ecore_sp_commands.c
+++ b/drivers/net/qede/base/ecore_sp_commands.c
@@ -3,7 +3,7 @@
* All rights reserved.
* www.cavium.com
*
- * See LICENSE.qede_pmd for copyright and licensing details.
+ * SPDX-License-Identifier: BSD-3-Clause
*/
#include "bcm_osal.h"
diff --git a/drivers/net/qede/base/ecore_sp_commands.h b/drivers/net/qede/base/ecore_sp_commands.h
index d160a76..25c083a 100644
--- a/drivers/net/qede/base/ecore_sp_commands.h
+++ b/drivers/net/qede/base/ecore_sp_commands.h
@@ -3,7 +3,7 @@
* All rights reserved.
* www.cavium.com
*
- * See LICENSE.qede_pmd for copyright and licensing details.
+ * SPDX-License-Identifier: BSD-3-Clause
*/
#ifndef __ECORE_SP_COMMANDS_H__
diff --git a/drivers/net/qede/base/ecore_spq.c b/drivers/net/qede/base/ecore_spq.c
index db169e6..435b66b 100644
--- a/drivers/net/qede/base/ecore_spq.c
+++ b/drivers/net/qede/base/ecore_spq.c
@@ -3,7 +3,7 @@
* All rights reserved.
* www.cavium.com
*
- * See LICENSE.qede_pmd for copyright and licensing details.
+ * SPDX-License-Identifier: BSD-3-Clause
*/
#include "bcm_osal.h"
diff --git a/drivers/net/qede/base/ecore_spq.h b/drivers/net/qede/base/ecore_spq.h
index 7d9be3e..1ed89c8 100644
--- a/drivers/net/qede/base/ecore_spq.h
+++ b/drivers/net/qede/base/ecore_spq.h
@@ -3,7 +3,7 @@
* All rights reserved.
* www.cavium.com
*
- * See LICENSE.qede_pmd for copyright and licensing details.
+ * SPDX-License-Identifier: BSD-3-Clause
*/
#ifndef __ECORE_SPQ_H__
diff --git a/drivers/net/qede/base/ecore_sriov.c b/drivers/net/qede/base/ecore_sriov.c
index b6997b8..77cf6fb 100644
--- a/drivers/net/qede/base/ecore_sriov.c
+++ b/drivers/net/qede/base/ecore_sriov.c
@@ -3,7 +3,7 @@
* All rights reserved.
* www.cavium.com
*
- * See LICENSE.qede_pmd for copyright and licensing details.
+ * SPDX-License-Identifier: BSD-3-Clause
*/
#include "bcm_osal.h"
diff --git a/drivers/net/qede/base/ecore_sriov.h b/drivers/net/qede/base/ecore_sriov.h
index 8d846d3..4f27f3c 100644
--- a/drivers/net/qede/base/ecore_sriov.h
+++ b/drivers/net/qede/base/ecore_sriov.h
@@ -3,7 +3,7 @@
* All rights reserved.
* www.cavium.com
*
- * See LICENSE.qede_pmd for copyright and licensing details.
+ * SPDX-License-Identifier: BSD-3-Clause
*/
#ifndef __ECORE_SRIOV_H__
diff --git a/drivers/net/qede/base/ecore_status.h b/drivers/net/qede/base/ecore_status.h
index 3af2b57..6a6ae6f 100644
--- a/drivers/net/qede/base/ecore_status.h
+++ b/drivers/net/qede/base/ecore_status.h
@@ -3,7 +3,7 @@
* All rights reserved.
* www.cavium.com
*
- * See LICENSE.qede_pmd for copyright and licensing details.
+ * SPDX-License-Identifier: BSD-3-Clause
*/
#ifndef __ECORE_STATUS_H__
diff --git a/drivers/net/qede/base/ecore_utils.h b/drivers/net/qede/base/ecore_utils.h
index f6459c3..a547260 100644
--- a/drivers/net/qede/base/ecore_utils.h
+++ b/drivers/net/qede/base/ecore_utils.h
@@ -3,7 +3,7 @@
* All rights reserved.
* www.cavium.com
*
- * See LICENSE.qede_pmd for copyright and licensing details.
+ * SPDX-License-Identifier: BSD-3-Clause
*/
#ifndef __ECORE_UTILS_H__
diff --git a/drivers/net/qede/base/ecore_vf.c b/drivers/net/qede/base/ecore_vf.c
index 94e09c3..fceaafe 100644
--- a/drivers/net/qede/base/ecore_vf.c
+++ b/drivers/net/qede/base/ecore_vf.c
@@ -3,7 +3,7 @@
* All rights reserved.
* www.cavium.com
*
- * See LICENSE.qede_pmd for copyright and licensing details.
+ * SPDX-License-Identifier: BSD-3-Clause
*/
#include "bcm_osal.h"
diff --git a/drivers/net/qede/base/ecore_vf.h b/drivers/net/qede/base/ecore_vf.h
index 52c630f..47d09ac 100644
--- a/drivers/net/qede/base/ecore_vf.h
+++ b/drivers/net/qede/base/ecore_vf.h
@@ -3,7 +3,7 @@
* All rights reserved.
* www.cavium.com
*
- * See LICENSE.qede_pmd for copyright and licensing details.
+ * SPDX-License-Identifier: BSD-3-Clause
*/
#ifndef __ECORE_VF_H__
diff --git a/drivers/net/qede/base/ecore_vf_api.h b/drivers/net/qede/base/ecore_vf_api.h
index af7bc36..7b42aec 100644
--- a/drivers/net/qede/base/ecore_vf_api.h
+++ b/drivers/net/qede/base/ecore_vf_api.h
@@ -3,7 +3,7 @@
* All rights reserved.
* www.cavium.com
*
- * See LICENSE.qede_pmd for copyright and licensing details.
+ * SPDX-License-Identifier: BSD-3-Clause
*/
#ifndef __ECORE_VF_API_H__
diff --git a/drivers/net/qede/base/ecore_vfpf_if.h b/drivers/net/qede/base/ecore_vfpf_if.h
index c8828ad..b870859 100644
--- a/drivers/net/qede/base/ecore_vfpf_if.h
+++ b/drivers/net/qede/base/ecore_vfpf_if.h
@@ -3,7 +3,7 @@
* All rights reserved.
* www.cavium.com
*
- * See LICENSE.qede_pmd for copyright and licensing details.
+ * SPDX-License-Identifier: BSD-3-Clause
*/
#ifndef __ECORE_VF_PF_IF_H__
diff --git a/drivers/net/qede/base/eth_common.h b/drivers/net/qede/base/eth_common.h
index 9de49b6..a788c87 100644
--- a/drivers/net/qede/base/eth_common.h
+++ b/drivers/net/qede/base/eth_common.h
@@ -3,7 +3,7 @@
* All rights reserved.
* www.cavium.com
*
- * See LICENSE.qede_pmd for copyright and licensing details.
+ * SPDX-License-Identifier: BSD-3-Clause
*/
#ifndef __ETH_COMMON__
diff --git a/drivers/net/qede/base/mcp_public.h b/drivers/net/qede/base/mcp_public.h
index 752473e..f511b57 100644
--- a/drivers/net/qede/base/mcp_public.h
+++ b/drivers/net/qede/base/mcp_public.h
@@ -3,7 +3,7 @@
* All rights reserved.
* www.cavium.com
*
- * See LICENSE.qede_pmd for copyright and licensing details.
+ * SPDX-License-Identifier: BSD-3-Clause
*/
/****************************************************************************
diff --git a/drivers/net/qede/base/nvm_cfg.h b/drivers/net/qede/base/nvm_cfg.h
index a20d067..fc91f4a 100644
--- a/drivers/net/qede/base/nvm_cfg.h
+++ b/drivers/net/qede/base/nvm_cfg.h
@@ -3,7 +3,7 @@
* All rights reserved.
* www.cavium.com
*
- * See LICENSE.qede_pmd for copyright and licensing details.
+ * SPDX-License-Identifier: BSD-3-Clause
*/
/****************************************************************************
diff --git a/drivers/net/qede/base/reg_addr.h b/drivers/net/qede/base/reg_addr.h
index 71f0ca1..7ed0032 100644
--- a/drivers/net/qede/base/reg_addr.h
+++ b/drivers/net/qede/base/reg_addr.h
@@ -3,7 +3,7 @@
* All rights reserved.
* www.cavium.com
*
- * See LICENSE.qede_pmd for copyright and licensing details.
+ * SPDX-License-Identifier: BSD-3-Clause
*/
#define CDU_REG_CID_ADDR_PARAMS_CONTEXT_SIZE_SHIFT \
diff --git a/drivers/net/qede/qede_ethdev.c b/drivers/net/qede/qede_ethdev.c
index 7a63d05..c0565b3 100644
--- a/drivers/net/qede/qede_ethdev.c
+++ b/drivers/net/qede/qede_ethdev.c
@@ -3,7 +3,7 @@
* All rights reserved.
* www.cavium.com
*
- * See LICENSE.qede_pmd for copyright and licensing details.
+ * SPDX-License-Identifier: BSD-3-Clause
*/
#include "qede_ethdev.h"
diff --git a/drivers/net/qede/qede_ethdev.h b/drivers/net/qede/qede_ethdev.h
index 9b80011..d729b63 100644
--- a/drivers/net/qede/qede_ethdev.h
+++ b/drivers/net/qede/qede_ethdev.h
@@ -3,7 +3,7 @@
* All rights reserved.
* www.cavium.com
*
- * See LICENSE.qede_pmd for copyright and licensing details.
+ * SPDX-License-Identifier: BSD-3-Clause
*/
diff --git a/drivers/net/qede/qede_fdir.c b/drivers/net/qede/qede_fdir.c
index 9d0b052..f8d22a2 100644
--- a/drivers/net/qede/qede_fdir.c
+++ b/drivers/net/qede/qede_fdir.c
@@ -3,7 +3,7 @@
* All rights reserved.
* www.cavium.com
*
- * See LICENSE.qede_pmd for copyright and licensing details.
+ * SPDX-License-Identifier: BSD-3-Clause
*/
#include <rte_udp.h>
diff --git a/drivers/net/qede/qede_if.h b/drivers/net/qede/qede_if.h
index 01f17c9..ef75d34 100644
--- a/drivers/net/qede/qede_if.h
+++ b/drivers/net/qede/qede_if.h
@@ -3,7 +3,7 @@
* All rights reserved.
* www.cavium.com
*
- * See LICENSE.qede_pmd for copyright and licensing details.
+ * SPDX-License-Identifier: BSD-3-Clause
*/
#ifndef _QEDE_IF_H
diff --git a/drivers/net/qede/qede_logs.h b/drivers/net/qede/qede_logs.h
index e7f714f..1c074cd 100644
--- a/drivers/net/qede/qede_logs.h
+++ b/drivers/net/qede/qede_logs.h
@@ -3,7 +3,7 @@
* All rights reserved.
* www.cavium.com
*
- * See LICENSE.qede_pmd for copyright and licensing details.
+ * SPDX-License-Identifier: BSD-3-Clause
*/
#ifndef _QEDE_LOGS_H_
diff --git a/drivers/net/qede/qede_main.c b/drivers/net/qede/qede_main.c
index de5a7ca..40341c4 100644
--- a/drivers/net/qede/qede_main.c
+++ b/drivers/net/qede/qede_main.c
@@ -3,7 +3,7 @@
* All rights reserved.
* www.cavium.com
*
- * See LICENSE.qede_pmd for copyright and licensing details.
+ * SPDX-License-Identifier: BSD-3-Clause
*/
#include <limits.h>
diff --git a/drivers/net/qede/qede_rxtx.c b/drivers/net/qede/qede_rxtx.c
index 4fa1c61..0e8302c 100644
--- a/drivers/net/qede/qede_rxtx.c
+++ b/drivers/net/qede/qede_rxtx.c
@@ -3,7 +3,7 @@
* All rights reserved.
* www.cavium.com
*
- * See LICENSE.qede_pmd for copyright and licensing details.
+ * SPDX-License-Identifier: BSD-3-Clause
*/
#include <rte_net.h>
diff --git a/drivers/net/qede/qede_rxtx.h b/drivers/net/qede/qede_rxtx.h
index 84a834d..afd3064 100644
--- a/drivers/net/qede/qede_rxtx.h
+++ b/drivers/net/qede/qede_rxtx.h
@@ -3,7 +3,7 @@
* All rights reserved.
* www.cavium.com
*
- * See LICENSE.qede_pmd for copyright and licensing details.
+ * SPDX-License-Identifier: BSD-3-Clause
*/
--
1.7.10.3
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [dpdk-dev] [PATCH] net/qede: move SPDX tags to source files
2018-07-08 5:27 [dpdk-dev] [PATCH] net/qede: move SPDX tags to source files Rasesh Mody
@ 2018-07-09 6:39 ` Hemant Agrawal
2018-07-10 15:56 ` Mody, Rasesh
2018-07-14 1:34 ` [dpdk-dev] [PATCH v2] " Rasesh Mody
1 sibling, 1 reply; 6+ messages in thread
From: Hemant Agrawal @ 2018-07-09 6:39 UTC (permalink / raw)
To: Rasesh Mody, dev; +Cc: ferruh.yigit, thomas, Dept-EngDPDKDev
Hi Rasesh,
There is a problem with these patches.
The SPDX shall be first line for *.c, *.h and Makefiles. It shall come before the copyright statements.
Regards,
Hemant
diff --git a/drivers/net/qede/Makefile b/drivers/net/qede/Makefile
index c30a867..45ad579 100644
--- a/drivers/net/qede/Makefile
+++ b/drivers/net/qede/Makefile
@@ -2,7 +2,7 @@
# All rights reserved.
# https://emea01.safelinks.protection.outlook.com/?url=www.cavium.com&data=02%7C01%7Chemant.agrawal%40nxp.com%7Cb12b0f85086b488ee3f308d5e4939352%7C686ea1d3bc2b4c6fa92cd99c5c301635%7C0%7C0%7C636666244855549507&sdata=hfihj1buvAcoQTc3O3KXp%2FmorsaAWzB1PMtOGiIVYJo%3D&reserved=0
#
-# See LICENSE.qede_pmd for copyright and licensing details.
+# SPDX-License-Identifier: BSD-3-Clause
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [dpdk-dev] [PATCH] net/qede: move SPDX tags to source files
2018-07-09 6:39 ` Hemant Agrawal
@ 2018-07-10 15:56 ` Mody, Rasesh
0 siblings, 0 replies; 6+ messages in thread
From: Mody, Rasesh @ 2018-07-10 15:56 UTC (permalink / raw)
To: Hemant Agrawal, dev; +Cc: ferruh.yigit, thomas, Dept-Eng DPDK Dev
> From: Hemant Agrawal [mailto:hemant.agrawal@nxp.com]
> Sent: Sunday, July 08, 2018 11:40 PM
>
> Hi Rasesh,
> There is a problem with these patches.
>
> The SPDX shall be first line for *.c, *.h and Makefiles. It shall come before the
> copyright statements.
I will send a v2 with the change.
Thanks!
-Rasesh
> Regards,
> Hemant
>
>
> diff --git a/drivers/net/qede/Makefile b/drivers/net/qede/Makefile index
> c30a867..45ad579 100644
> --- a/drivers/net/qede/Makefile
> +++ b/drivers/net/qede/Makefile
> @@ -2,7 +2,7 @@
> # All rights reserved.
> #
> https://emea01.safelinks.protection.outlook.com/?url=www.cavium.com&a
> mp;data=02%7C01%7Chemant.agrawal%40nxp.com%7Cb12b0f85086b488ee
> 3f308d5e4939352%7C686ea1d3bc2b4c6fa92cd99c5c301635%7C0%7C0%7C636
> 666244855549507&sdata=hfihj1buvAcoQTc3O3KXp%2FmorsaAWzB1PM
> tOGiIVYJo%3D&reserved=0
> #
> -# See LICENSE.qede_pmd for copyright and licensing details.
> +# SPDX-License-Identifier: BSD-3-Clause
^ permalink raw reply [flat|nested] 6+ messages in thread
* [dpdk-dev] [PATCH v2] net/qede: move SPDX tags to source files
2018-07-08 5:27 [dpdk-dev] [PATCH] net/qede: move SPDX tags to source files Rasesh Mody
2018-07-09 6:39 ` Hemant Agrawal
@ 2018-07-14 1:34 ` Rasesh Mody
2018-07-16 6:26 ` Hemant
2018-07-18 10:32 ` Ferruh Yigit
1 sibling, 2 replies; 6+ messages in thread
From: Rasesh Mody @ 2018-07-14 1:34 UTC (permalink / raw)
To: dev; +Cc: Rasesh Mody, hemant.agrawal, ferruh.yigit, thomas, Dept-EngDPDKDev
We were using LICENSE.qede_pmd to reference inclusion of SPDX licensing
tag from all the source file. Remove the LICENSE.qede_pmd file and
directly include SPDX tags in source files.
Signed-off-by: Rasesh Mody <rasesh.mody@cavium.com>
---
drivers/net/qede/LICENSE.qede_pmd | 3 ---
drivers/net/qede/Makefile | 3 +--
drivers/net/qede/base/bcm_osal.c | 4 +---
drivers/net/qede/base/bcm_osal.h | 4 +---
drivers/net/qede/base/common_hsi.h | 4 +---
drivers/net/qede/base/ecore.h | 4 +---
drivers/net/qede/base/ecore_attn_values.h | 4 +---
drivers/net/qede/base/ecore_chain.h | 4 +---
drivers/net/qede/base/ecore_cxt.c | 4 +---
drivers/net/qede/base/ecore_cxt.h | 4 +---
drivers/net/qede/base/ecore_cxt_api.h | 4 +---
drivers/net/qede/base/ecore_dcbx.c | 4 +---
drivers/net/qede/base/ecore_dcbx.h | 4 +---
drivers/net/qede/base/ecore_dcbx_api.h | 4 +---
drivers/net/qede/base/ecore_dev.c | 4 +---
drivers/net/qede/base/ecore_dev_api.h | 4 +---
drivers/net/qede/base/ecore_gtt_reg_addr.h | 4 +---
drivers/net/qede/base/ecore_gtt_values.h | 4 +---
drivers/net/qede/base/ecore_hsi_common.h | 4 +---
drivers/net/qede/base/ecore_hsi_debug_tools.h | 4 +---
drivers/net/qede/base/ecore_hsi_eth.h | 4 +---
drivers/net/qede/base/ecore_hsi_init_func.h | 4 +---
drivers/net/qede/base/ecore_hsi_init_tool.h | 4 +---
drivers/net/qede/base/ecore_hw.c | 4 +---
drivers/net/qede/base/ecore_hw.h | 4 +---
drivers/net/qede/base/ecore_hw_defs.h | 4 +---
drivers/net/qede/base/ecore_init_fw_funcs.c | 4 +---
drivers/net/qede/base/ecore_init_fw_funcs.h | 4 +---
drivers/net/qede/base/ecore_init_ops.c | 4 +---
drivers/net/qede/base/ecore_init_ops.h | 4 +---
drivers/net/qede/base/ecore_int.c | 4 +---
drivers/net/qede/base/ecore_int.h | 4 +---
drivers/net/qede/base/ecore_int_api.h | 4 +---
drivers/net/qede/base/ecore_iov_api.h | 4 +---
drivers/net/qede/base/ecore_iro.h | 4 +---
drivers/net/qede/base/ecore_iro_values.h | 4 +---
drivers/net/qede/base/ecore_l2.c | 4 +---
drivers/net/qede/base/ecore_l2.h | 4 +---
drivers/net/qede/base/ecore_l2_api.h | 4 +---
drivers/net/qede/base/ecore_mcp.c | 4 +---
drivers/net/qede/base/ecore_mcp.h | 4 +---
drivers/net/qede/base/ecore_mcp_api.h | 4 +---
drivers/net/qede/base/ecore_mng_tlv.c | 4 +---
drivers/net/qede/base/ecore_proto_if.h | 4 +---
drivers/net/qede/base/ecore_rt_defs.h | 4 +---
drivers/net/qede/base/ecore_sp_api.h | 4 +---
drivers/net/qede/base/ecore_sp_commands.c | 4 +---
drivers/net/qede/base/ecore_sp_commands.h | 4 +---
drivers/net/qede/base/ecore_spq.c | 4 +---
drivers/net/qede/base/ecore_spq.h | 4 +---
drivers/net/qede/base/ecore_sriov.c | 4 +---
drivers/net/qede/base/ecore_sriov.h | 4 +---
drivers/net/qede/base/ecore_status.h | 4 +---
drivers/net/qede/base/ecore_utils.h | 4 +---
drivers/net/qede/base/ecore_vf.c | 4 +---
drivers/net/qede/base/ecore_vf.h | 4 +---
drivers/net/qede/base/ecore_vf_api.h | 4 +---
drivers/net/qede/base/ecore_vfpf_if.h | 4 +---
drivers/net/qede/base/eth_common.h | 4 +---
drivers/net/qede/base/mcp_public.h | 4 +---
drivers/net/qede/base/nvm_cfg.h | 4 +---
drivers/net/qede/base/reg_addr.h | 4 +---
drivers/net/qede/qede_ethdev.c | 4 +---
drivers/net/qede/qede_ethdev.h | 4 +---
drivers/net/qede/qede_fdir.c | 4 +---
drivers/net/qede/qede_if.h | 4 +---
drivers/net/qede/qede_logs.h | 4 +---
drivers/net/qede/qede_main.c | 4 +---
drivers/net/qede/qede_rxtx.c | 4 +---
drivers/net/qede/qede_rxtx.h | 4 +---
70 files changed, 69 insertions(+), 209 deletions(-)
delete mode 100644 drivers/net/qede/LICENSE.qede_pmd
diff --git a/drivers/net/qede/LICENSE.qede_pmd b/drivers/net/qede/LICENSE.qede_pmd
deleted file mode 100644
index 022085a..0000000
--- a/drivers/net/qede/LICENSE.qede_pmd
+++ /dev/null
@@ -1,3 +0,0 @@
-/* SPDX-License-Identifier: BSD-3-Clause
- * Copyright (c) 2016 - 2018 Cavium Inc.
- */
diff --git a/drivers/net/qede/Makefile b/drivers/net/qede/Makefile
index c30a867..488ca1d 100644
--- a/drivers/net/qede/Makefile
+++ b/drivers/net/qede/Makefile
@@ -1,8 +1,7 @@
+# SPDX-License-Identifier: BSD-3-Clause
# Copyright (c) 2016 - 2018 Cavium Inc.
# All rights reserved.
# www.cavium.com
-#
-# See LICENSE.qede_pmd for copyright and licensing details.
include $(RTE_SDK)/mk/rte.vars.mk
diff --git a/drivers/net/qede/base/bcm_osal.c b/drivers/net/qede/base/bcm_osal.c
index 72627df..d5d6f8e 100644
--- a/drivers/net/qede/base/bcm_osal.c
+++ b/drivers/net/qede/base/bcm_osal.c
@@ -1,9 +1,7 @@
-/*
+/* SPDX-License-Identifier: BSD-3-Clause
* Copyright (c) 2016 - 2018 Cavium Inc.
* All rights reserved.
* www.cavium.com
- *
- * See LICENSE.qede_pmd for copyright and licensing details.
*/
#include <rte_memzone.h>
diff --git a/drivers/net/qede/base/bcm_osal.h b/drivers/net/qede/base/bcm_osal.h
index 27090c7..630867f 100644
--- a/drivers/net/qede/base/bcm_osal.h
+++ b/drivers/net/qede/base/bcm_osal.h
@@ -1,9 +1,7 @@
-/*
+/* SPDX-License-Identifier: BSD-3-Clause
* Copyright (c) 2016 - 2018 Cavium Inc.
* All rights reserved.
* www.cavium.com
- *
- * See LICENSE.qede_pmd for copyright and licensing details.
*/
#ifndef __BCM_OSAL_H
diff --git a/drivers/net/qede/base/common_hsi.h b/drivers/net/qede/base/common_hsi.h
index 5250784..ca8e59d 100644
--- a/drivers/net/qede/base/common_hsi.h
+++ b/drivers/net/qede/base/common_hsi.h
@@ -1,9 +1,7 @@
-/*
+/* SPDX-License-Identifier: BSD-3-Clause
* Copyright (c) 2016 - 2018 Cavium Inc.
* All rights reserved.
* www.cavium.com
- *
- * See LICENSE.qede_pmd for copyright and licensing details.
*/
#ifndef __COMMON_HSI__
diff --git a/drivers/net/qede/base/ecore.h b/drivers/net/qede/base/ecore.h
index 57d6aa9..5d79fdf 100644
--- a/drivers/net/qede/base/ecore.h
+++ b/drivers/net/qede/base/ecore.h
@@ -1,9 +1,7 @@
-/*
+/* SPDX-License-Identifier: BSD-3-Clause
* Copyright (c) 2016 - 2018 Cavium Inc.
* All rights reserved.
* www.cavium.com
- *
- * See LICENSE.qede_pmd for copyright and licensing details.
*/
#ifndef __ECORE_H
diff --git a/drivers/net/qede/base/ecore_attn_values.h b/drivers/net/qede/base/ecore_attn_values.h
index d893e0a..ec773fb 100644
--- a/drivers/net/qede/base/ecore_attn_values.h
+++ b/drivers/net/qede/base/ecore_attn_values.h
@@ -1,9 +1,7 @@
-/*
+/* SPDX-License-Identifier: BSD-3-Clause
* Copyright (c) 2016 - 2018 Cavium Inc.
* All rights reserved.
* www.cavium.com
- *
- * See LICENSE.qede_pmd for copyright and licensing details.
*/
#ifndef __ATTN_VALUES_H__
diff --git a/drivers/net/qede/base/ecore_chain.h b/drivers/net/qede/base/ecore_chain.h
index 0b79746..6d0382d 100644
--- a/drivers/net/qede/base/ecore_chain.h
+++ b/drivers/net/qede/base/ecore_chain.h
@@ -1,9 +1,7 @@
-/*
+/* SPDX-License-Identifier: BSD-3-Clause
* Copyright (c) 2016 - 2018 Cavium Inc.
* All rights reserved.
* www.cavium.com
- *
- * See LICENSE.qede_pmd for copyright and licensing details.
*/
#ifndef __ECORE_CHAIN_H__
diff --git a/drivers/net/qede/base/ecore_cxt.c b/drivers/net/qede/base/ecore_cxt.c
index a91b2ff..bf36ce5 100644
--- a/drivers/net/qede/base/ecore_cxt.c
+++ b/drivers/net/qede/base/ecore_cxt.c
@@ -1,9 +1,7 @@
-/*
+/* SPDX-License-Identifier: BSD-3-Clause
* Copyright (c) 2016 - 2018 Cavium Inc.
* All rights reserved.
* www.cavium.com
- *
- * See LICENSE.qede_pmd for copyright and licensing details.
*/
#include "bcm_osal.h"
diff --git a/drivers/net/qede/base/ecore_cxt.h b/drivers/net/qede/base/ecore_cxt.h
index 3bcbe8f..f8c955c 100644
--- a/drivers/net/qede/base/ecore_cxt.h
+++ b/drivers/net/qede/base/ecore_cxt.h
@@ -1,9 +1,7 @@
-/*
+/* SPDX-License-Identifier: BSD-3-Clause
* Copyright (c) 2016 - 2018 Cavium Inc.
* All rights reserved.
* www.cavium.com
- *
- * See LICENSE.qede_pmd for copyright and licensing details.
*/
#ifndef _ECORE_CID_
diff --git a/drivers/net/qede/base/ecore_cxt_api.h b/drivers/net/qede/base/ecore_cxt_api.h
index 65509ad..6c8b283 100644
--- a/drivers/net/qede/base/ecore_cxt_api.h
+++ b/drivers/net/qede/base/ecore_cxt_api.h
@@ -1,9 +1,7 @@
-/*
+/* SPDX-License-Identifier: BSD-3-Clause
* Copyright (c) 2016 - 2018 Cavium Inc.
* All rights reserved.
* www.cavium.com
- *
- * See LICENSE.qede_pmd for copyright and licensing details.
*/
#ifndef __ECORE_CXT_API_H__
diff --git a/drivers/net/qede/base/ecore_dcbx.c b/drivers/net/qede/base/ecore_dcbx.c
index 9b8d39f..9667874 100644
--- a/drivers/net/qede/base/ecore_dcbx.c
+++ b/drivers/net/qede/base/ecore_dcbx.c
@@ -1,9 +1,7 @@
-/*
+/* SPDX-License-Identifier: BSD-3-Clause
* Copyright (c) 2016 - 2018 Cavium Inc.
* All rights reserved.
* www.cavium.com
- *
- * See LICENSE.qede_pmd for copyright and licensing details.
*/
#include "bcm_osal.h"
diff --git a/drivers/net/qede/base/ecore_dcbx.h b/drivers/net/qede/base/ecore_dcbx.h
index 49df62c..519e6ce 100644
--- a/drivers/net/qede/base/ecore_dcbx.h
+++ b/drivers/net/qede/base/ecore_dcbx.h
@@ -1,9 +1,7 @@
-/*
+/* SPDX-License-Identifier: BSD-3-Clause
* Copyright (c) 2016 - 2018 Cavium Inc.
* All rights reserved.
* www.cavium.com
- *
- * See LICENSE.qede_pmd for copyright and licensing details.
*/
#ifndef __ECORE_DCBX_H__
diff --git a/drivers/net/qede/base/ecore_dcbx_api.h b/drivers/net/qede/base/ecore_dcbx_api.h
index 2ad1def..eaf8e08 100644
--- a/drivers/net/qede/base/ecore_dcbx_api.h
+++ b/drivers/net/qede/base/ecore_dcbx_api.h
@@ -1,9 +1,7 @@
-/*
+/* SPDX-License-Identifier: BSD-3-Clause
* Copyright (c) 2016 - 2018 Cavium Inc.
* All rights reserved.
* www.cavium.com
- *
- * See LICENSE.qede_pmd for copyright and licensing details.
*/
#ifndef __ECORE_DCBX_API_H__
diff --git a/drivers/net/qede/base/ecore_dev.c b/drivers/net/qede/base/ecore_dev.c
index 4ebbedd..cfe73c6 100644
--- a/drivers/net/qede/base/ecore_dev.c
+++ b/drivers/net/qede/base/ecore_dev.c
@@ -1,9 +1,7 @@
-/*
+/* SPDX-License-Identifier: BSD-3-Clause
* Copyright (c) 2016 - 2018 Cavium Inc.
* All rights reserved.
* www.cavium.com
- *
- * See LICENSE.qede_pmd for copyright and licensing details.
*/
#include "bcm_osal.h"
diff --git a/drivers/net/qede/base/ecore_dev_api.h b/drivers/net/qede/base/ecore_dev_api.h
index 0dd78d6..02bacc2 100644
--- a/drivers/net/qede/base/ecore_dev_api.h
+++ b/drivers/net/qede/base/ecore_dev_api.h
@@ -1,9 +1,7 @@
-/*
+/* SPDX-License-Identifier: BSD-3-Clause
* Copyright (c) 2016 - 2018 Cavium Inc.
* All rights reserved.
* www.cavium.com
- *
- * See LICENSE.qede_pmd for copyright and licensing details.
*/
#ifndef __ECORE_DEV_API_H__
diff --git a/drivers/net/qede/base/ecore_gtt_reg_addr.h b/drivers/net/qede/base/ecore_gtt_reg_addr.h
index ac29dc4..8c8fed4 100644
--- a/drivers/net/qede/base/ecore_gtt_reg_addr.h
+++ b/drivers/net/qede/base/ecore_gtt_reg_addr.h
@@ -1,9 +1,7 @@
-/*
+/* SPDX-License-Identifier: BSD-3-Clause
* Copyright (c) 2016 - 2018 Cavium Inc.
* All rights reserved.
* www.cavium.com
- *
- * See LICENSE.qede_pmd for copyright and licensing details.
*/
#ifndef GTT_REG_ADDR_H
diff --git a/drivers/net/qede/base/ecore_gtt_values.h b/drivers/net/qede/base/ecore_gtt_values.h
index d9af94d..adc20c0 100644
--- a/drivers/net/qede/base/ecore_gtt_values.h
+++ b/drivers/net/qede/base/ecore_gtt_values.h
@@ -1,9 +1,7 @@
-/*
+/* SPDX-License-Identifier: BSD-3-Clause
* Copyright (c) 2016 - 2018 Cavium Inc.
* All rights reserved.
* www.cavium.com
- *
- * See LICENSE.qede_pmd for copyright and licensing details.
*/
#ifndef __PREVENT_PXP_GLOBAL_WIN__
diff --git a/drivers/net/qede/base/ecore_hsi_common.h b/drivers/net/qede/base/ecore_hsi_common.h
index d400fa9..2d761b9 100644
--- a/drivers/net/qede/base/ecore_hsi_common.h
+++ b/drivers/net/qede/base/ecore_hsi_common.h
@@ -1,9 +1,7 @@
-/*
+/* SPDX-License-Identifier: BSD-3-Clause
* Copyright (c) 2016 - 2018 Cavium Inc.
* All rights reserved.
* www.cavium.com
- *
- * See LICENSE.qede_pmd for copyright and licensing details.
*/
#ifndef __ECORE_HSI_COMMON__
diff --git a/drivers/net/qede/base/ecore_hsi_debug_tools.h b/drivers/net/qede/base/ecore_hsi_debug_tools.h
index 262834e..bf54872 100644
--- a/drivers/net/qede/base/ecore_hsi_debug_tools.h
+++ b/drivers/net/qede/base/ecore_hsi_debug_tools.h
@@ -1,9 +1,7 @@
-/*
+/* SPDX-License-Identifier: BSD-3-Clause
* Copyright (c) 2016 - 2018 Cavium Inc.
* All rights reserved.
* www.cavium.com
- *
- * See LICENSE.qede_pmd for copyright and licensing details.
*/
#ifndef __ECORE_HSI_DEBUG_TOOLS__
diff --git a/drivers/net/qede/base/ecore_hsi_eth.h b/drivers/net/qede/base/ecore_hsi_eth.h
index efe3bb2..6b51230 100644
--- a/drivers/net/qede/base/ecore_hsi_eth.h
+++ b/drivers/net/qede/base/ecore_hsi_eth.h
@@ -1,9 +1,7 @@
-/*
+/* SPDX-License-Identifier: BSD-3-Clause
* Copyright (c) 2016 - 2018 Cavium Inc.
* All rights reserved.
* www.cavium.com
- *
- * See LICENSE.qede_pmd for copyright and licensing details.
*/
#ifndef __ECORE_HSI_ETH__
diff --git a/drivers/net/qede/base/ecore_hsi_init_func.h b/drivers/net/qede/base/ecore_hsi_init_func.h
index c318514..d77edaa 100644
--- a/drivers/net/qede/base/ecore_hsi_init_func.h
+++ b/drivers/net/qede/base/ecore_hsi_init_func.h
@@ -1,9 +1,7 @@
-/*
+/* SPDX-License-Identifier: BSD-3-Clause
* Copyright (c) 2016 - 2018 Cavium Inc.
* All rights reserved.
* www.cavium.com
- *
- * See LICENSE.qede_pmd for copyright and licensing details.
*/
#ifndef __ECORE_HSI_INIT_FUNC__
diff --git a/drivers/net/qede/base/ecore_hsi_init_tool.h b/drivers/net/qede/base/ecore_hsi_init_tool.h
index 2e338a9..0e157f9 100644
--- a/drivers/net/qede/base/ecore_hsi_init_tool.h
+++ b/drivers/net/qede/base/ecore_hsi_init_tool.h
@@ -1,9 +1,7 @@
-/*
+/* SPDX-License-Identifier: BSD-3-Clause
* Copyright (c) 2016 - 2018 Cavium Inc.
* All rights reserved.
* www.cavium.com
- *
- * See LICENSE.qede_pmd for copyright and licensing details.
*/
#ifndef __ECORE_HSI_INIT_TOOL__
diff --git a/drivers/net/qede/base/ecore_hw.c b/drivers/net/qede/base/ecore_hw.c
index b00c33d..51bba27 100644
--- a/drivers/net/qede/base/ecore_hw.c
+++ b/drivers/net/qede/base/ecore_hw.c
@@ -1,9 +1,7 @@
-/*
+/* SPDX-License-Identifier: BSD-3-Clause
* Copyright (c) 2016 - 2018 Cavium Inc.
* All rights reserved.
* www.cavium.com
- *
- * See LICENSE.qede_pmd for copyright and licensing details.
*/
#include "bcm_osal.h"
diff --git a/drivers/net/qede/base/ecore_hw.h b/drivers/net/qede/base/ecore_hw.h
index f3f513e..394207e 100644
--- a/drivers/net/qede/base/ecore_hw.h
+++ b/drivers/net/qede/base/ecore_hw.h
@@ -1,9 +1,7 @@
-/*
+/* SPDX-License-Identifier: BSD-3-Clause
* Copyright (c) 2016 - 2018 Cavium Inc.
* All rights reserved.
* www.cavium.com
- *
- * See LICENSE.qede_pmd for copyright and licensing details.
*/
#ifndef __ECORE_HW_H__
diff --git a/drivers/net/qede/base/ecore_hw_defs.h b/drivers/net/qede/base/ecore_hw_defs.h
index 2f4bd53..b8c2686 100644
--- a/drivers/net/qede/base/ecore_hw_defs.h
+++ b/drivers/net/qede/base/ecore_hw_defs.h
@@ -1,9 +1,7 @@
-/*
+/* SPDX-License-Identifier: BSD-3-Clause
* Copyright (c) 2016 - 2018 Cavium Inc.
* All rights reserved.
* www.cavium.com
- *
- * See LICENSE.qede_pmd for copyright and licensing details.
*/
#ifndef _ECORE_IGU_DEF_H_
diff --git a/drivers/net/qede/base/ecore_init_fw_funcs.c b/drivers/net/qede/base/ecore_init_fw_funcs.c
index 3f98662..b8496cb 100644
--- a/drivers/net/qede/base/ecore_init_fw_funcs.c
+++ b/drivers/net/qede/base/ecore_init_fw_funcs.c
@@ -1,9 +1,7 @@
-/*
+/* SPDX-License-Identifier: BSD-3-Clause
* Copyright (c) 2016 - 2018 Cavium Inc.
* All rights reserved.
* www.cavium.com
- *
- * See LICENSE.qede_pmd for copyright and licensing details.
*/
#include "bcm_osal.h"
diff --git a/drivers/net/qede/base/ecore_init_fw_funcs.h b/drivers/net/qede/base/ecore_init_fw_funcs.h
index 310c9ed..1024bb2 100644
--- a/drivers/net/qede/base/ecore_init_fw_funcs.h
+++ b/drivers/net/qede/base/ecore_init_fw_funcs.h
@@ -1,9 +1,7 @@
-/*
+/* SPDX-License-Identifier: BSD-3-Clause
* Copyright (c) 2016 - 2018 Cavium Inc.
* All rights reserved.
* www.cavium.com
- *
- * See LICENSE.qede_pmd for copyright and licensing details.
*/
#ifndef _INIT_FW_FUNCS_H
diff --git a/drivers/net/qede/base/ecore_init_ops.c b/drivers/net/qede/base/ecore_init_ops.c
index eadccf4..b7636f3 100644
--- a/drivers/net/qede/base/ecore_init_ops.c
+++ b/drivers/net/qede/base/ecore_init_ops.c
@@ -1,9 +1,7 @@
-/*
+/* SPDX-License-Identifier: BSD-3-Clause
* Copyright (c) 2016 - 2018 Cavium Inc.
* All rights reserved.
* www.cavium.com
- *
- * See LICENSE.qede_pmd for copyright and licensing details.
*/
/* include the precompiled configuration values - only once */
diff --git a/drivers/net/qede/base/ecore_init_ops.h b/drivers/net/qede/base/ecore_init_ops.h
index 7ca00e4..de7846d 100644
--- a/drivers/net/qede/base/ecore_init_ops.h
+++ b/drivers/net/qede/base/ecore_init_ops.h
@@ -1,9 +1,7 @@
-/*
+/* SPDX-License-Identifier: BSD-3-Clause
* Copyright (c) 2016 - 2018 Cavium Inc.
* All rights reserved.
* www.cavium.com
- *
- * See LICENSE.qede_pmd for copyright and licensing details.
*/
#ifndef __ECORE_INIT_OPS__
diff --git a/drivers/net/qede/base/ecore_int.c b/drivers/net/qede/base/ecore_int.c
index 7272f05..ce8fac1 100644
--- a/drivers/net/qede/base/ecore_int.c
+++ b/drivers/net/qede/base/ecore_int.c
@@ -1,9 +1,7 @@
-/*
+/* SPDX-License-Identifier: BSD-3-Clause
* Copyright (c) 2016 - 2018 Cavium Inc.
* All rights reserved.
* www.cavium.com
- *
- * See LICENSE.qede_pmd for copyright and licensing details.
*/
#include <rte_string_fns.h>
diff --git a/drivers/net/qede/base/ecore_int.h b/drivers/net/qede/base/ecore_int.h
index bb22fdd..041240d 100644
--- a/drivers/net/qede/base/ecore_int.h
+++ b/drivers/net/qede/base/ecore_int.h
@@ -1,9 +1,7 @@
-/*
+/* SPDX-License-Identifier: BSD-3-Clause
* Copyright (c) 2016 - 2018 Cavium Inc.
* All rights reserved.
* www.cavium.com
- *
- * See LICENSE.qede_pmd for copyright and licensing details.
*/
#ifndef __ECORE_INT_H__
diff --git a/drivers/net/qede/base/ecore_int_api.h b/drivers/net/qede/base/ecore_int_api.h
index dff5377..aeaf469 100644
--- a/drivers/net/qede/base/ecore_int_api.h
+++ b/drivers/net/qede/base/ecore_int_api.h
@@ -1,9 +1,7 @@
-/*
+/* SPDX-License-Identifier: BSD-3-Clause
* Copyright (c) 2016 - 2018 Cavium Inc.
* All rights reserved.
* www.cavium.com
- *
- * See LICENSE.qede_pmd for copyright and licensing details.
*/
#ifndef __ECORE_INT_API_H__
diff --git a/drivers/net/qede/base/ecore_iov_api.h b/drivers/net/qede/base/ecore_iov_api.h
index ee7cad7..29001d7 100644
--- a/drivers/net/qede/base/ecore_iov_api.h
+++ b/drivers/net/qede/base/ecore_iov_api.h
@@ -1,9 +1,7 @@
-/*
+/* SPDX-License-Identifier: BSD-3-Clause
* Copyright (c) 2016 - 2018 Cavium Inc.
* All rights reserved.
* www.cavium.com
- *
- * See LICENSE.qede_pmd for copyright and licensing details.
*/
#ifndef __ECORE_SRIOV_API_H__
diff --git a/drivers/net/qede/base/ecore_iro.h b/drivers/net/qede/base/ecore_iro.h
index e4dc1c9..0569302 100644
--- a/drivers/net/qede/base/ecore_iro.h
+++ b/drivers/net/qede/base/ecore_iro.h
@@ -1,9 +1,7 @@
-/*
+/* SPDX-License-Identifier: BSD-3-Clause
* Copyright (c) 2016 - 2018 Cavium Inc.
* All rights reserved.
* www.cavium.com
- *
- * See LICENSE.qede_pmd for copyright and licensing details.
*/
#ifndef __IRO_H__
diff --git a/drivers/net/qede/base/ecore_iro_values.h b/drivers/net/qede/base/ecore_iro_values.h
index b47abeb..685fa2e 100644
--- a/drivers/net/qede/base/ecore_iro_values.h
+++ b/drivers/net/qede/base/ecore_iro_values.h
@@ -1,9 +1,7 @@
-/*
+/* SPDX-License-Identifier: BSD-3-Clause
* Copyright (c) 2016 - 2018 Cavium Inc.
* All rights reserved.
* www.cavium.com
- *
- * See LICENSE.qede_pmd for copyright and licensing details.
*/
#ifndef __IRO_VALUES_H__
diff --git a/drivers/net/qede/base/ecore_l2.c b/drivers/net/qede/base/ecore_l2.c
index 91d89e5..d71f461 100644
--- a/drivers/net/qede/base/ecore_l2.c
+++ b/drivers/net/qede/base/ecore_l2.c
@@ -1,9 +1,7 @@
-/*
+/* SPDX-License-Identifier: BSD-3-Clause
* Copyright (c) 2016 - 2018 Cavium Inc.
* All rights reserved.
* www.cavium.com
- *
- * See LICENSE.qede_pmd for copyright and licensing details.
*/
#include "bcm_osal.h"
diff --git a/drivers/net/qede/base/ecore_l2.h b/drivers/net/qede/base/ecore_l2.h
index bea6a6d..8fa4030 100644
--- a/drivers/net/qede/base/ecore_l2.h
+++ b/drivers/net/qede/base/ecore_l2.h
@@ -1,9 +1,7 @@
-/*
+/* SPDX-License-Identifier: BSD-3-Clause
* Copyright (c) 2016 - 2018 Cavium Inc.
* All rights reserved.
* www.cavium.com
- *
- * See LICENSE.qede_pmd for copyright and licensing details.
*/
#ifndef __ECORE_L2_H__
diff --git a/drivers/net/qede/base/ecore_l2_api.h b/drivers/net/qede/base/ecore_l2_api.h
index 43ebbd1..575b9e3 100644
--- a/drivers/net/qede/base/ecore_l2_api.h
+++ b/drivers/net/qede/base/ecore_l2_api.h
@@ -1,9 +1,7 @@
-/*
+/* SPDX-License-Identifier: BSD-3-Clause
* Copyright (c) 2016 - 2018 Cavium Inc.
* All rights reserved.
* www.cavium.com
- *
- * See LICENSE.qede_pmd for copyright and licensing details.
*/
#ifndef __ECORE_L2_API_H__
diff --git a/drivers/net/qede/base/ecore_mcp.c b/drivers/net/qede/base/ecore_mcp.c
index 784d28c..ea14c17 100644
--- a/drivers/net/qede/base/ecore_mcp.c
+++ b/drivers/net/qede/base/ecore_mcp.c
@@ -1,9 +1,7 @@
-/*
+/* SPDX-License-Identifier: BSD-3-Clause
* Copyright (c) 2016 - 2018 Cavium Inc.
* All rights reserved.
* www.cavium.com
- *
- * See LICENSE.qede_pmd for copyright and licensing details.
*/
#include "bcm_osal.h"
diff --git a/drivers/net/qede/base/ecore_mcp.h b/drivers/net/qede/base/ecore_mcp.h
index c422736..8e12531 100644
--- a/drivers/net/qede/base/ecore_mcp.h
+++ b/drivers/net/qede/base/ecore_mcp.h
@@ -1,9 +1,7 @@
-/*
+/* SPDX-License-Identifier: BSD-3-Clause
* Copyright (c) 2016 - 2018 Cavium Inc.
* All rights reserved.
* www.cavium.com
- *
- * See LICENSE.qede_pmd for copyright and licensing details.
*/
#ifndef __ECORE_MCP_H__
diff --git a/drivers/net/qede/base/ecore_mcp_api.h b/drivers/net/qede/base/ecore_mcp_api.h
index 06b33bb..cfb9f99 100644
--- a/drivers/net/qede/base/ecore_mcp_api.h
+++ b/drivers/net/qede/base/ecore_mcp_api.h
@@ -1,9 +1,7 @@
-/*
+/* SPDX-License-Identifier: BSD-3-Clause
* Copyright (c) 2016 - 2018 Cavium Inc.
* All rights reserved.
* www.cavium.com
- *
- * See LICENSE.qede_pmd for copyright and licensing details.
*/
#ifndef __ECORE_MCP_API_H__
diff --git a/drivers/net/qede/base/ecore_mng_tlv.c b/drivers/net/qede/base/ecore_mng_tlv.c
index b48076a..f766647 100644
--- a/drivers/net/qede/base/ecore_mng_tlv.c
+++ b/drivers/net/qede/base/ecore_mng_tlv.c
@@ -1,9 +1,7 @@
-/*
+/* SPDX-License-Identifier: BSD-3-Clause
* Copyright (c) 2016 - 2018 Cavium Inc.
* All rights reserved.
* www.cavium.com
- *
- * See LICENSE.qede_pmd for copyright and licensing details.
*/
#include "bcm_osal.h"
diff --git a/drivers/net/qede/base/ecore_proto_if.h b/drivers/net/qede/base/ecore_proto_if.h
index f049d82..f91b25e 100644
--- a/drivers/net/qede/base/ecore_proto_if.h
+++ b/drivers/net/qede/base/ecore_proto_if.h
@@ -1,9 +1,7 @@
-/*
+/* SPDX-License-Identifier: BSD-3-Clause
* Copyright (c) 2016 - 2018 Cavium Inc.
* All rights reserved.
* www.cavium.com
- *
- * See LICENSE.qede_pmd for copyright and licensing details.
*/
#ifndef __ECORE_PROTO_IF_H__
diff --git a/drivers/net/qede/base/ecore_rt_defs.h b/drivers/net/qede/base/ecore_rt_defs.h
index 7dec2dd..721b8c1 100644
--- a/drivers/net/qede/base/ecore_rt_defs.h
+++ b/drivers/net/qede/base/ecore_rt_defs.h
@@ -1,9 +1,7 @@
-/*
+/* SPDX-License-Identifier: BSD-3-Clause
* Copyright (c) 2016 - 2018 Cavium Inc.
* All rights reserved.
* www.cavium.com
- *
- * See LICENSE.qede_pmd for copyright and licensing details.
*/
#ifndef __RT_DEFS_H__
diff --git a/drivers/net/qede/base/ecore_sp_api.h b/drivers/net/qede/base/ecore_sp_api.h
index 469bf1d..4633dbe 100644
--- a/drivers/net/qede/base/ecore_sp_api.h
+++ b/drivers/net/qede/base/ecore_sp_api.h
@@ -1,9 +1,7 @@
-/*
+/* SPDX-License-Identifier: BSD-3-Clause
* Copyright (c) 2016 - 2018 Cavium Inc.
* All rights reserved.
* www.cavium.com
- *
- * See LICENSE.qede_pmd for copyright and licensing details.
*/
#ifndef __ECORE_SP_API_H__
diff --git a/drivers/net/qede/base/ecore_sp_commands.c b/drivers/net/qede/base/ecore_sp_commands.c
index 47c1feb..b43baf9 100644
--- a/drivers/net/qede/base/ecore_sp_commands.c
+++ b/drivers/net/qede/base/ecore_sp_commands.c
@@ -1,9 +1,7 @@
-/*
+/* SPDX-License-Identifier: BSD-3-Clause
* Copyright (c) 2016 - 2018 Cavium Inc.
* All rights reserved.
* www.cavium.com
- *
- * See LICENSE.qede_pmd for copyright and licensing details.
*/
#include "bcm_osal.h"
diff --git a/drivers/net/qede/base/ecore_sp_commands.h b/drivers/net/qede/base/ecore_sp_commands.h
index d160a76..e57414c 100644
--- a/drivers/net/qede/base/ecore_sp_commands.h
+++ b/drivers/net/qede/base/ecore_sp_commands.h
@@ -1,9 +1,7 @@
-/*
+/* SPDX-License-Identifier: BSD-3-Clause
* Copyright (c) 2016 - 2018 Cavium Inc.
* All rights reserved.
* www.cavium.com
- *
- * See LICENSE.qede_pmd for copyright and licensing details.
*/
#ifndef __ECORE_SP_COMMANDS_H__
diff --git a/drivers/net/qede/base/ecore_spq.c b/drivers/net/qede/base/ecore_spq.c
index db169e6..776c86f 100644
--- a/drivers/net/qede/base/ecore_spq.c
+++ b/drivers/net/qede/base/ecore_spq.c
@@ -1,9 +1,7 @@
-/*
+/* SPDX-License-Identifier: BSD-3-Clause
* Copyright (c) 2016 - 2018 Cavium Inc.
* All rights reserved.
* www.cavium.com
- *
- * See LICENSE.qede_pmd for copyright and licensing details.
*/
#include "bcm_osal.h"
diff --git a/drivers/net/qede/base/ecore_spq.h b/drivers/net/qede/base/ecore_spq.h
index 7d9be3e..6142c39 100644
--- a/drivers/net/qede/base/ecore_spq.h
+++ b/drivers/net/qede/base/ecore_spq.h
@@ -1,9 +1,7 @@
-/*
+/* SPDX-License-Identifier: BSD-3-Clause
* Copyright (c) 2016 - 2018 Cavium Inc.
* All rights reserved.
* www.cavium.com
- *
- * See LICENSE.qede_pmd for copyright and licensing details.
*/
#ifndef __ECORE_SPQ_H__
diff --git a/drivers/net/qede/base/ecore_sriov.c b/drivers/net/qede/base/ecore_sriov.c
index b6997b8..f7ebf7a 100644
--- a/drivers/net/qede/base/ecore_sriov.c
+++ b/drivers/net/qede/base/ecore_sriov.c
@@ -1,9 +1,7 @@
-/*
+/* SPDX-License-Identifier: BSD-3-Clause
* Copyright (c) 2016 - 2018 Cavium Inc.
* All rights reserved.
* www.cavium.com
- *
- * See LICENSE.qede_pmd for copyright and licensing details.
*/
#include "bcm_osal.h"
diff --git a/drivers/net/qede/base/ecore_sriov.h b/drivers/net/qede/base/ecore_sriov.h
index 8d846d3..50c7d2c 100644
--- a/drivers/net/qede/base/ecore_sriov.h
+++ b/drivers/net/qede/base/ecore_sriov.h
@@ -1,9 +1,7 @@
-/*
+/* SPDX-License-Identifier: BSD-3-Clause
* Copyright (c) 2016 - 2018 Cavium Inc.
* All rights reserved.
* www.cavium.com
- *
- * See LICENSE.qede_pmd for copyright and licensing details.
*/
#ifndef __ECORE_SRIOV_H__
diff --git a/drivers/net/qede/base/ecore_status.h b/drivers/net/qede/base/ecore_status.h
index 3af2b57..b893f1d 100644
--- a/drivers/net/qede/base/ecore_status.h
+++ b/drivers/net/qede/base/ecore_status.h
@@ -1,9 +1,7 @@
-/*
+/* SPDX-License-Identifier: BSD-3-Clause
* Copyright (c) 2016 - 2018 Cavium Inc.
* All rights reserved.
* www.cavium.com
- *
- * See LICENSE.qede_pmd for copyright and licensing details.
*/
#ifndef __ECORE_STATUS_H__
diff --git a/drivers/net/qede/base/ecore_utils.h b/drivers/net/qede/base/ecore_utils.h
index f6459c3..249136b 100644
--- a/drivers/net/qede/base/ecore_utils.h
+++ b/drivers/net/qede/base/ecore_utils.h
@@ -1,9 +1,7 @@
-/*
+/* SPDX-License-Identifier: BSD-3-Clause
* Copyright (c) 2016 - 2018 Cavium Inc.
* All rights reserved.
* www.cavium.com
- *
- * See LICENSE.qede_pmd for copyright and licensing details.
*/
#ifndef __ECORE_UTILS_H__
diff --git a/drivers/net/qede/base/ecore_vf.c b/drivers/net/qede/base/ecore_vf.c
index 94e09c3..d2213f7 100644
--- a/drivers/net/qede/base/ecore_vf.c
+++ b/drivers/net/qede/base/ecore_vf.c
@@ -1,9 +1,7 @@
-/*
+/* SPDX-License-Identifier: BSD-3-Clause
* Copyright (c) 2016 - 2018 Cavium Inc.
* All rights reserved.
* www.cavium.com
- *
- * See LICENSE.qede_pmd for copyright and licensing details.
*/
#include "bcm_osal.h"
diff --git a/drivers/net/qede/base/ecore_vf.h b/drivers/net/qede/base/ecore_vf.h
index 52c630f..a07f82e 100644
--- a/drivers/net/qede/base/ecore_vf.h
+++ b/drivers/net/qede/base/ecore_vf.h
@@ -1,9 +1,7 @@
-/*
+/* SPDX-License-Identifier: BSD-3-Clause
* Copyright (c) 2016 - 2018 Cavium Inc.
* All rights reserved.
* www.cavium.com
- *
- * See LICENSE.qede_pmd for copyright and licensing details.
*/
#ifndef __ECORE_VF_H__
diff --git a/drivers/net/qede/base/ecore_vf_api.h b/drivers/net/qede/base/ecore_vf_api.h
index af7bc36..1a9fb3b 100644
--- a/drivers/net/qede/base/ecore_vf_api.h
+++ b/drivers/net/qede/base/ecore_vf_api.h
@@ -1,9 +1,7 @@
-/*
+/* SPDX-License-Identifier: BSD-3-Clause
* Copyright (c) 2016 - 2018 Cavium Inc.
* All rights reserved.
* www.cavium.com
- *
- * See LICENSE.qede_pmd for copyright and licensing details.
*/
#ifndef __ECORE_VF_API_H__
diff --git a/drivers/net/qede/base/ecore_vfpf_if.h b/drivers/net/qede/base/ecore_vfpf_if.h
index c8828ad..c30677a 100644
--- a/drivers/net/qede/base/ecore_vfpf_if.h
+++ b/drivers/net/qede/base/ecore_vfpf_if.h
@@ -1,9 +1,7 @@
-/*
+/* SPDX-License-Identifier: BSD-3-Clause
* Copyright (c) 2016 - 2018 Cavium Inc.
* All rights reserved.
* www.cavium.com
- *
- * See LICENSE.qede_pmd for copyright and licensing details.
*/
#ifndef __ECORE_VF_PF_IF_H__
diff --git a/drivers/net/qede/base/eth_common.h b/drivers/net/qede/base/eth_common.h
index 9de49b6..abfa685 100644
--- a/drivers/net/qede/base/eth_common.h
+++ b/drivers/net/qede/base/eth_common.h
@@ -1,9 +1,7 @@
-/*
+/* SPDX-License-Identifier: BSD-3-Clause
* Copyright (c) 2016 - 2018 Cavium Inc.
* All rights reserved.
* www.cavium.com
- *
- * See LICENSE.qede_pmd for copyright and licensing details.
*/
#ifndef __ETH_COMMON__
diff --git a/drivers/net/qede/base/mcp_public.h b/drivers/net/qede/base/mcp_public.h
index 752473e..81aa88e 100644
--- a/drivers/net/qede/base/mcp_public.h
+++ b/drivers/net/qede/base/mcp_public.h
@@ -1,9 +1,7 @@
-/*
+/* SPDX-License-Identifier: BSD-3-Clause
* Copyright (c) 2016 - 2018 Cavium Inc.
* All rights reserved.
* www.cavium.com
- *
- * See LICENSE.qede_pmd for copyright and licensing details.
*/
/****************************************************************************
diff --git a/drivers/net/qede/base/nvm_cfg.h b/drivers/net/qede/base/nvm_cfg.h
index a20d067..ab86260 100644
--- a/drivers/net/qede/base/nvm_cfg.h
+++ b/drivers/net/qede/base/nvm_cfg.h
@@ -1,9 +1,7 @@
-/*
+/* SPDX-License-Identifier: BSD-3-Clause
* Copyright (c) 2016 - 2018 Cavium Inc.
* All rights reserved.
* www.cavium.com
- *
- * See LICENSE.qede_pmd for copyright and licensing details.
*/
/****************************************************************************
diff --git a/drivers/net/qede/base/reg_addr.h b/drivers/net/qede/base/reg_addr.h
index 71f0ca1..402f620 100644
--- a/drivers/net/qede/base/reg_addr.h
+++ b/drivers/net/qede/base/reg_addr.h
@@ -1,9 +1,7 @@
-/*
+/* SPDX-License-Identifier: BSD-3-Clause
* Copyright (c) 2016 - 2018 Cavium Inc.
* All rights reserved.
* www.cavium.com
- *
- * See LICENSE.qede_pmd for copyright and licensing details.
*/
#define CDU_REG_CID_ADDR_PARAMS_CONTEXT_SIZE_SHIFT \
diff --git a/drivers/net/qede/qede_ethdev.c b/drivers/net/qede/qede_ethdev.c
index 4a26836..3a57a42 100644
--- a/drivers/net/qede/qede_ethdev.c
+++ b/drivers/net/qede/qede_ethdev.c
@@ -1,9 +1,7 @@
-/*
+/* SPDX-License-Identifier: BSD-3-Clause
* Copyright (c) 2016 - 2018 Cavium Inc.
* All rights reserved.
* www.cavium.com
- *
- * See LICENSE.qede_pmd for copyright and licensing details.
*/
#include "qede_ethdev.h"
diff --git a/drivers/net/qede/qede_ethdev.h b/drivers/net/qede/qede_ethdev.h
index 9b80011..59ad8d3 100644
--- a/drivers/net/qede/qede_ethdev.h
+++ b/drivers/net/qede/qede_ethdev.h
@@ -1,9 +1,7 @@
-/*
+/* SPDX-License-Identifier: BSD-3-Clause
* Copyright (c) 2016 - 2018 Cavium Inc.
* All rights reserved.
* www.cavium.com
- *
- * See LICENSE.qede_pmd for copyright and licensing details.
*/
diff --git a/drivers/net/qede/qede_fdir.c b/drivers/net/qede/qede_fdir.c
index 9d0b052..27e1b93 100644
--- a/drivers/net/qede/qede_fdir.c
+++ b/drivers/net/qede/qede_fdir.c
@@ -1,9 +1,7 @@
-/*
+/* SPDX-License-Identifier: BSD-3-Clause
* Copyright (c) 2017 Cavium Inc.
* All rights reserved.
* www.cavium.com
- *
- * See LICENSE.qede_pmd for copyright and licensing details.
*/
#include <rte_udp.h>
diff --git a/drivers/net/qede/qede_if.h b/drivers/net/qede/qede_if.h
index 01f17c9..ee5e54c 100644
--- a/drivers/net/qede/qede_if.h
+++ b/drivers/net/qede/qede_if.h
@@ -1,9 +1,7 @@
-/*
+/* SPDX-License-Identifier: BSD-3-Clause
* Copyright (c) 2016 - 2018 Cavium Inc.
* All rights reserved.
* www.cavium.com
- *
- * See LICENSE.qede_pmd for copyright and licensing details.
*/
#ifndef _QEDE_IF_H
diff --git a/drivers/net/qede/qede_logs.h b/drivers/net/qede/qede_logs.h
index e7f714f..3187d97 100644
--- a/drivers/net/qede/qede_logs.h
+++ b/drivers/net/qede/qede_logs.h
@@ -1,9 +1,7 @@
-/*
+/* SPDX-License-Identifier: BSD-3-Clause
* Copyright (c) 2016 - 2018 Cavium Inc.
* All rights reserved.
* www.cavium.com
- *
- * See LICENSE.qede_pmd for copyright and licensing details.
*/
#ifndef _QEDE_LOGS_H_
diff --git a/drivers/net/qede/qede_main.c b/drivers/net/qede/qede_main.c
index 2885e5d..46fa837 100644
--- a/drivers/net/qede/qede_main.c
+++ b/drivers/net/qede/qede_main.c
@@ -1,9 +1,7 @@
-/*
+/* SPDX-License-Identifier: BSD-3-Clause
* Copyright (c) 2016 - 2018 Cavium Inc.
* All rights reserved.
* www.cavium.com
- *
- * See LICENSE.qede_pmd for copyright and licensing details.
*/
#include <limits.h>
diff --git a/drivers/net/qede/qede_rxtx.c b/drivers/net/qede/qede_rxtx.c
index 174e377..0f157de 100644
--- a/drivers/net/qede/qede_rxtx.c
+++ b/drivers/net/qede/qede_rxtx.c
@@ -1,9 +1,7 @@
-/*
+/* SPDX-License-Identifier: BSD-3-Clause
* Copyright (c) 2016 - 2018 Cavium Inc.
* All rights reserved.
* www.cavium.com
- *
- * See LICENSE.qede_pmd for copyright and licensing details.
*/
#include <rte_net.h>
diff --git a/drivers/net/qede/qede_rxtx.h b/drivers/net/qede/qede_rxtx.h
index 37cab7e..e710fba 100644
--- a/drivers/net/qede/qede_rxtx.h
+++ b/drivers/net/qede/qede_rxtx.h
@@ -1,9 +1,7 @@
-/*
+/* SPDX-License-Identifier: BSD-3-Clause
* Copyright (c) 2016 - 2018 Cavium Inc.
* All rights reserved.
* www.cavium.com
- *
- * See LICENSE.qede_pmd for copyright and licensing details.
*/
--
1.7.10.3
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [dpdk-dev] [PATCH v2] net/qede: move SPDX tags to source files
2018-07-14 1:34 ` [dpdk-dev] [PATCH v2] " Rasesh Mody
@ 2018-07-16 6:26 ` Hemant
2018-07-18 10:32 ` Ferruh Yigit
1 sibling, 0 replies; 6+ messages in thread
From: Hemant @ 2018-07-16 6:26 UTC (permalink / raw)
To: Rasesh Mody, dev; +Cc: ferruh.yigit, thomas
Acked-by: Hemant Agrawal <hemant.agrawal@nxp.com>
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [dpdk-dev] [PATCH v2] net/qede: move SPDX tags to source files
2018-07-14 1:34 ` [dpdk-dev] [PATCH v2] " Rasesh Mody
2018-07-16 6:26 ` Hemant
@ 2018-07-18 10:32 ` Ferruh Yigit
1 sibling, 0 replies; 6+ messages in thread
From: Ferruh Yigit @ 2018-07-18 10:32 UTC (permalink / raw)
To: Rasesh Mody, dev; +Cc: hemant.agrawal, thomas, Dept-EngDPDKDev
On 7/14/2018 2:34 AM, Rasesh Mody wrote:
> We were using LICENSE.qede_pmd to reference inclusion of SPDX licensing
> tag from all the source file. Remove the LICENSE.qede_pmd file and
> directly include SPDX tags in source files.
>
> Signed-off-by: Rasesh Mody <rasesh.mody@cavium.com>
Acked-by: Hemant Agrawal <hemant.agrawal@nxp.com>
Applied to dpdk-next-net/master, thanks.
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2018-07-18 10:32 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-07-08 5:27 [dpdk-dev] [PATCH] net/qede: move SPDX tags to source files Rasesh Mody
2018-07-09 6:39 ` Hemant Agrawal
2018-07-10 15:56 ` Mody, Rasesh
2018-07-14 1:34 ` [dpdk-dev] [PATCH v2] " Rasesh Mody
2018-07-16 6:26 ` Hemant
2018-07-18 10:32 ` Ferruh Yigit
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).