net/bnx2x: move SPDX tags to source files

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>
Acked-by: Hemant Agrawal <hemant.agrawal@nxp.com>
This commit is contained in:
Rasesh Mody 2018-07-27 08:47:27 -07:00 committed by Thomas Monjalon
parent 9eb5dc09c3
commit 688654bf32
23 changed files with 25 additions and 78 deletions

View File

@ -1,3 +0,0 @@
/* SPDX-License-Identifier: BSD-3-Clause
* Copyright (c) 2014-2018 Cavium Inc.
*/

View File

@ -1,8 +1,7 @@
# SPDX-License-Identifier: BSD-3-Clause
# Copyright (c) 2014 - 2018 Cavium Inc. # Copyright (c) 2014 - 2018 Cavium Inc.
# All rights reserved. # All rights reserved.
# www.cavium.com # www.cavium.com
#
# See LICENSE.bnx2x_pmd for copyright and licensing details.
include $(RTE_SDK)/mk/rte.vars.mk include $(RTE_SDK)/mk/rte.vars.mk
# #

View File

@ -1,4 +1,4 @@
/*- /* SPDX-License-Identifier: BSD-3-Clause
* Copyright (c) 2007-2013 Broadcom Corporation. * Copyright (c) 2007-2013 Broadcom Corporation.
* *
* Eric Davis <edavis@broadcom.com> * Eric Davis <edavis@broadcom.com>
@ -9,8 +9,6 @@
* Copyright (c) 2015-2018 Cavium Inc. * Copyright (c) 2015-2018 Cavium Inc.
* All rights reserved. * All rights reserved.
* www.cavium.com * www.cavium.com
*
* See LICENSE.bnx2x_pmd for copyright and licensing details.
*/ */
#define BNX2X_DRIVER_VERSION "1.78.18" #define BNX2X_DRIVER_VERSION "1.78.18"

View File

@ -1,4 +1,4 @@
/*- /* SPDX-License-Identifier: BSD-3-Clause
* Copyright (c) 2007-2013 Broadcom Corporation. * Copyright (c) 2007-2013 Broadcom Corporation.
* *
* Eric Davis <edavis@broadcom.com> * Eric Davis <edavis@broadcom.com>
@ -9,8 +9,6 @@
* Copyright (c) 2015-2018 Cavium Inc. * Copyright (c) 2015-2018 Cavium Inc.
* All rights reserved. * All rights reserved.
* www.cavium.com * www.cavium.com
*
* See LICENSE.bnx2x_pmd for copyright and licensing details.
*/ */
#ifndef __BNX2X_H__ #ifndef __BNX2X_H__

View File

@ -1,11 +1,8 @@
/* /* SPDX-License-Identifier: BSD-3-Clause
* Copyright (c) 2013-2015 Brocade Communications Systems, Inc. * Copyright (c) 2013-2015 Brocade Communications Systems, Inc.
*
* Copyright (c) 2015-2018 Cavium Inc. * Copyright (c) 2015-2018 Cavium Inc.
* All rights reserved. * All rights reserved.
* www.cavium.com * www.cavium.com
*
* See LICENSE.bnx2x_pmd for copyright and licensing details.
*/ */
#include "bnx2x.h" #include "bnx2x.h"

View File

@ -1,11 +1,8 @@
/* /* SPDX-License-Identifier: BSD-3-Clause
* Copyright (c) 2013-2015 Brocade Communications Systems, Inc. * Copyright (c) 2013-2015 Brocade Communications Systems, Inc.
*
* Copyright (c) 2015-2018 Cavium Inc. * Copyright (c) 2015-2018 Cavium Inc.
* All rights reserved. * All rights reserved.
* www.cavium.com * www.cavium.com
*
* See LICENSE.bnx2x_pmd for copyright and licensing details.
*/ */
#ifndef PMD_BNX2X_ETHDEV_H #ifndef PMD_BNX2X_ETHDEV_H

View File

@ -1,11 +1,8 @@
/* /* SPDX-License-Identifier: BSD-3-Clause
* Copyright (c) 2013-2015 Brocade Communications Systems, Inc. * Copyright (c) 2013-2015 Brocade Communications Systems, Inc.
*
* Copyright (c) 2015-2018 Cavium Inc. * Copyright (c) 2015-2018 Cavium Inc.
* All rights reserved. * All rights reserved.
* www.cavium.com * www.cavium.com
*
* See LICENSE.bnx2x_pmd for copyright and licensing details.
*/ */
#ifndef _PMD_LOGS_H_ #ifndef _PMD_LOGS_H_

View File

@ -1,11 +1,8 @@
/* /* SPDX-License-Identifier: BSD-3-Clause
* Copyright (c) 2013-2015 Brocade Communications Systems, Inc. * Copyright (c) 2013-2015 Brocade Communications Systems, Inc.
*
* Copyright (c) 2015-2018 Cavium Inc. * Copyright (c) 2015-2018 Cavium Inc.
* All rights reserved. * All rights reserved.
* www.cavium.com * www.cavium.com
*
* See LICENSE.bnx2x_pmd for copyright and licensing details.
*/ */
#include "bnx2x.h" #include "bnx2x.h"

View File

@ -1,11 +1,8 @@
/* /* SPDX-License-Identifier: BSD-3-Clause
* Copyright (c) 2013-2015 Brocade Communications Systems, Inc. * Copyright (c) 2013-2015 Brocade Communications Systems, Inc.
*
* Copyright (c) 2015-2018 Cavium Inc. * Copyright (c) 2015-2018 Cavium Inc.
* All rights reserved. * All rights reserved.
* www.cavium.com * www.cavium.com
*
* See LICENSE.bnx2x_pmd for copyright and licensing details.
*/ */
#ifndef _BNX2X_RXTX_H_ #ifndef _BNX2X_RXTX_H_

View File

@ -1,4 +1,4 @@
/*- /* SPDX-License-Identifier: BSD-3-Clause
* Copyright (c) 2007-2013 Broadcom Corporation. * Copyright (c) 2007-2013 Broadcom Corporation.
* *
* Eric Davis <edavis@broadcom.com> * Eric Davis <edavis@broadcom.com>
@ -9,8 +9,6 @@
* Copyright (c) 2015-2018 Cavium Inc. * Copyright (c) 2015-2018 Cavium Inc.
* All rights reserved. * All rights reserved.
* www.cavium.com * www.cavium.com
*
* See LICENSE.bnx2x_pmd for copyright and licensing details.
*/ */
#include "bnx2x.h" #include "bnx2x.h"

View File

@ -1,4 +1,4 @@
/*- /* SPDX-License-Identifier: BSD-3-Clause
* Copyright (c) 2007-2013 Broadcom Corporation. * Copyright (c) 2007-2013 Broadcom Corporation.
* *
* Eric Davis <edavis@broadcom.com> * Eric Davis <edavis@broadcom.com>
@ -9,8 +9,6 @@
* Copyright (c) 2015-2018 Cavium Inc. * Copyright (c) 2015-2018 Cavium Inc.
* All rights reserved. * All rights reserved.
* www.cavium.com * www.cavium.com
*
* See LICENSE.bnx2x_pmd for copyright and licensing details.
*/ */
#ifndef BNX2X_STATS_H #ifndef BNX2X_STATS_H

View File

@ -1,11 +1,8 @@
/* /* SPDX-License-Identifier: BSD-3-Clause
* Copyright (c) 2013-2015 Brocade Communications Systems, Inc. * Copyright (c) 2013-2015 Brocade Communications Systems, Inc.
*
* Copyright (c) 2015-2018 Cavium Inc. * Copyright (c) 2015-2018 Cavium Inc.
* All rights reserved. * All rights reserved.
* www.cavium.com * www.cavium.com
*
* See LICENSE.bnx2x_pmd for copyright and licensing details.
*/ */
#include "bnx2x.h" #include "bnx2x.h"

View File

@ -1,11 +1,8 @@
/* /* SPDX-License-Identifier: BSD-3-Clause
* Copyright (c) 2013-2015 Brocade Communications Systems, Inc. * Copyright (c) 2013-2015 Brocade Communications Systems, Inc.
*
* Copyright (c) 2015-2018 Cavium Inc. * Copyright (c) 2015-2018 Cavium Inc.
* All rights reserved. * All rights reserved.
* www.cavium.com * www.cavium.com
*
* See LICENSE.bnx2x_pmd for copyright and licensing details.
*/ */
#ifndef BNX2X_VFPF_H #ifndef BNX2X_VFPF_H

View File

@ -1,4 +1,4 @@
/*- /* SPDX-License-Identifier: BSD-3-Clause
* Copyright (c) 2007-2013 Broadcom Corporation. * Copyright (c) 2007-2013 Broadcom Corporation.
* *
* Eric Davis <edavis@broadcom.com> * Eric Davis <edavis@broadcom.com>
@ -8,8 +8,6 @@
* Copyright (c) 2014-2018 Cavium Inc. * Copyright (c) 2014-2018 Cavium Inc.
* All rights reserved. * All rights reserved.
* www.cavium.com * www.cavium.com
*
* See LICENSE.bnx2x_pmd for copyright and licensing details.
*/ */
#ifndef ECORE_FW_DEFS_H #ifndef ECORE_FW_DEFS_H

View File

@ -1,4 +1,4 @@
/*- /* SPDX-License-Identifier: BSD-3-Clause
* Copyright (c) 2007-2013 Broadcom Corporation. * Copyright (c) 2007-2013 Broadcom Corporation.
* *
* Eric Davis <edavis@broadcom.com> * Eric Davis <edavis@broadcom.com>
@ -8,8 +8,6 @@
* Copyright (c) 2014-2018 Cavium Inc. * Copyright (c) 2014-2018 Cavium Inc.
* All rights reserved. * All rights reserved.
* www.cavium.com * www.cavium.com
*
* See LICENSE.bnx2x_pmd for copyright and licensing details.
*/ */
#ifndef ECORE_HSI_H #ifndef ECORE_HSI_H

View File

@ -1,4 +1,4 @@
/*- /* SPDX-License-Identifier: BSD-3-Clause
* Copyright (c) 2007-2013 Broadcom Corporation. * Copyright (c) 2007-2013 Broadcom Corporation.
* *
* Eric Davis <edavis@broadcom.com> * Eric Davis <edavis@broadcom.com>
@ -9,8 +9,6 @@
* Copyright (c) 2015-2018 Cavium Inc. * Copyright (c) 2015-2018 Cavium Inc.
* All rights reserved. * All rights reserved.
* www.cavium.com * www.cavium.com
*
* See LICENSE.bnx2x_pmd for copyright and licensing details.
*/ */
#ifndef ECORE_INIT_H #ifndef ECORE_INIT_H

View File

@ -1,4 +1,4 @@
/*- /* SPDX-License-Identifier: BSD-3-Clause
* Copyright (c) 2007-2013 Broadcom Corporation. * Copyright (c) 2007-2013 Broadcom Corporation.
* *
* Eric Davis <edavis@broadcom.com> * Eric Davis <edavis@broadcom.com>
@ -9,8 +9,6 @@
* Copyright (c) 2015-2018 Cavium Inc. * Copyright (c) 2015-2018 Cavium Inc.
* All rights reserved. * All rights reserved.
* www.cavium.com * www.cavium.com
*
* See LICENSE.bnx2x_pmd for copyright and licensing details.
*/ */
#ifndef ECORE_INIT_OPS_H #ifndef ECORE_INIT_OPS_H

View File

@ -1,4 +1,4 @@
/*- /* SPDX-License-Identifier: BSD-3-Clause
* Copyright (c) 2007-2013 Broadcom Corporation. * Copyright (c) 2007-2013 Broadcom Corporation.
* *
* Eric Davis <edavis@broadcom.com> * Eric Davis <edavis@broadcom.com>
@ -8,8 +8,6 @@
* Copyright (c) 2014-2018 Cavium Inc. * Copyright (c) 2014-2018 Cavium Inc.
* All rights reserved. * All rights reserved.
* www.cavium.com * www.cavium.com
*
* See LICENSE.bnx2x_pmd for copyright and licensing details.
*/ */
#ifndef ECORE_MFW_REQ_H #ifndef ECORE_MFW_REQ_H

View File

@ -1,4 +1,4 @@
/*- /* SPDX-License-Identifier: BSD-3-Clause
* Copyright (c) 2007-2013 Broadcom Corporation. * Copyright (c) 2007-2013 Broadcom Corporation.
* *
* Eric Davis <edavis@broadcom.com> * Eric Davis <edavis@broadcom.com>
@ -8,8 +8,6 @@
* Copyright (c) 2014-2018 Cavium Inc. * Copyright (c) 2014-2018 Cavium Inc.
* All rights reserved. * All rights reserved.
* www.cavium.com * www.cavium.com
*
* See LICENSE.bnx2x_pmd for copyright and licensing details.
*/ */
#ifndef ECORE_REG_H #ifndef ECORE_REG_H

View File

@ -1,4 +1,4 @@
/*- /* SPDX-License-Identifier: BSD-3-Clause
* Copyright (c) 2007-2013 Broadcom Corporation. * Copyright (c) 2007-2013 Broadcom Corporation.
* *
* Eric Davis <edavis@broadcom.com> * Eric Davis <edavis@broadcom.com>
@ -9,8 +9,6 @@
* Copyright (c) 2015-2018 Cavium Inc. * Copyright (c) 2015-2018 Cavium Inc.
* All rights reserved. * All rights reserved.
* www.cavium.com * www.cavium.com
*
* See LICENSE.bnx2x_pmd for copyright and licensing details.
*/ */
#include "bnx2x.h" #include "bnx2x.h"

View File

@ -1,4 +1,4 @@
/*- /* SPDX-License-Identifier: BSD-3-Clause
* Copyright (c) 2007-2013 Broadcom Corporation. * Copyright (c) 2007-2013 Broadcom Corporation.
* *
* Eric Davis <edavis@broadcom.com> * Eric Davis <edavis@broadcom.com>
@ -9,8 +9,6 @@
* Copyright (c) 2015-2018 Cavium Inc. * Copyright (c) 2015-2018 Cavium Inc.
* All rights reserved. * All rights reserved.
* www.cavium.com * www.cavium.com
*
* See LICENSE.bnx2x_pmd for copyright and licensing details.
*/ */
#ifndef ECORE_SP_H #ifndef ECORE_SP_H

View File

@ -1,4 +1,4 @@
/* /* SPDX-License-Identifier: BSD-3-Clause
* Copyright (c) 2007-2013 Broadcom Corporation. * Copyright (c) 2007-2013 Broadcom Corporation.
* *
* Eric Davis <edavis@broadcom.com> * Eric Davis <edavis@broadcom.com>
@ -9,8 +9,6 @@
* Copyright (c) 2015-2018 Cavium Inc. * Copyright (c) 2015-2018 Cavium Inc.
* All rights reserved. * All rights reserved.
* www.cavium.com * www.cavium.com
*
* See LICENSE.bnx2x_pmd for copyright and licensing details.
*/ */
#include "bnx2x.h" #include "bnx2x.h"

View File

@ -1,4 +1,4 @@
/* /* SPDX-License-Identifier: BSD-3-Clause
* Copyright (c) 2007-2013 Broadcom Corporation. * Copyright (c) 2007-2013 Broadcom Corporation.
* *
* Eric Davis <edavis@broadcom.com> * Eric Davis <edavis@broadcom.com>
@ -9,8 +9,6 @@
* Copyright (c) 2015-2018 Cavium Inc. * Copyright (c) 2015-2018 Cavium Inc.
* All rights reserved. * All rights reserved.
* www.cavium.com * www.cavium.com
*
* See LICENSE.bnx2x_pmd for copyright and licensing details.
*/ */
#ifndef ELINK_H #ifndef ELINK_H