From patchwork Thu Nov 28 07:05:38 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Hemant Agrawal X-Patchwork-Id: 180380 Delivered-To: patch@linaro.org Received: by 2002:a92:38d5:0:0:0:0:0 with SMTP id g82csp7158006ilf; Wed, 27 Nov 2019 23:09:14 -0800 (PST) X-Google-Smtp-Source: APXvYqximz+wFQh9XQaGnzSnoiwDYmjJNey+BkYlP7n3/i45FmBxSL5jg9c/ieGc44IDuIudSGWP X-Received: by 2002:a17:906:edc4:: with SMTP id sb4mr5136085ejb.113.1574924954410; Wed, 27 Nov 2019 23:09:14 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1574924954; cv=none; d=google.com; s=arc-20160816; b=d34yTwW5mf9G6V/Wteb6HXzqXTkir/2xHjJuJHAdhQ9s93HEgA1N/A0hXqPSpxLp1t uTm6v66rpgfR0OX4A2rveaTjCWZ7RrA4eBmf/CVAbCdR+Ji8ux9ZxFayUfw7Bl/hkeeW 53cdLz8RL6o47etdZ/Bq/T11UfJ+HLMDNakutXxpLARsYzYLgT/wW/+DW1Ud3JG52nCy QXbQWgrYxgPoCDzhFwQKJ9Hw37fp30KkQjzHoiTYrRblXKar0kvu0TzuWzT1parZSkaq Z0Xwq/2zJmXb2XsoJXv4LP8F0gL6Mr+LgRbXhlOWFvF4Hu4H10ox1h92SmEzPfJxw3og z/bw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:subject:references:in-reply-to :message-id:date:cc:to:from; bh=L542kbJoLNNJj2Xj+tJ/PrzX5snPhIJ4/8uhNjPH8fY=; b=IzEPZs41lfPPuPLdDqPvI2p7wHsUlb/9Wuv+rdoEb5SFUqrdWp1fD487yO2wxw5LvT XvVzl7Myt3ZXuLf9mnXG1pEZh3025vUBDlGyvRhqRdEBbVi0yELCaEXvYgIuNQYuw7sG xE5VzDkWzlHfL9ibQ0BlB8ftnxDaWhhH0BD+4l6jshw5KzfHhmVT5IhzAK4ydT8RoztA Kg+5NEKjye+UmRSs70Y2HmvIL/vr0pRQAtEaG9lKZhhKB4Kg0q9EnA8TMG37NlWsROWd DFSUWf0sFCTgGsHaLwx08likUEsnEoJYuiiLRDwJdzj8KDKoH+f16l85zrEZxYq5mEuu zCxg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of dev-bounces@dpdk.org designates 92.243.14.124 as permitted sender) smtp.mailfrom=dev-bounces@dpdk.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=nxp.com Return-Path: Received: from dpdk.org (dpdk.org. [92.243.14.124]) by mx.google.com with ESMTP id m7si11716499edv.377.2019.11.27.23.09.14; Wed, 27 Nov 2019 23:09:14 -0800 (PST) Received-SPF: pass (google.com: domain of dev-bounces@dpdk.org designates 92.243.14.124 as permitted sender) client-ip=92.243.14.124; Authentication-Results: mx.google.com; spf=pass (google.com: domain of dev-bounces@dpdk.org designates 92.243.14.124 as permitted sender) smtp.mailfrom=dev-bounces@dpdk.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=nxp.com Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id F09F62F4F; Thu, 28 Nov 2019 08:09:12 +0100 (CET) Received: from inva020.nxp.com (inva020.nxp.com [92.121.34.13]) by dpdk.org (Postfix) with ESMTP id 39DC32C60 for ; Thu, 28 Nov 2019 08:09:12 +0100 (CET) Received: from inva020.nxp.com (localhost [127.0.0.1]) by inva020.eu-rdc02.nxp.com (Postfix) with ESMTP id B0F5F1A033F; Thu, 28 Nov 2019 08:09:11 +0100 (CET) Received: from invc005.ap-rdc01.nxp.com (invc005.ap-rdc01.nxp.com [165.114.16.14]) by inva020.eu-rdc02.nxp.com (Postfix) with ESMTP id B3EA41A032B; Thu, 28 Nov 2019 08:09:09 +0100 (CET) Received: from bf-netperf1.ap.freescale.net (bf-netperf1.ap.freescale.net [10.232.133.63]) by invc005.ap-rdc01.nxp.com (Postfix) with ESMTP id 6F182402B4; Thu, 28 Nov 2019 15:09:07 +0800 (SGT) From: Hemant Agrawal To: dev@dpdk.org, thomas@monjalon.net Cc: Hemant Agrawal Date: Thu, 28 Nov 2019 12:35:38 +0530 Message-Id: <20191128070538.27724-1-hemant.agrawal@nxp.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20191122095131.25368-1-hemant.agrawal@nxp.com> References: <20191122095131.25368-1-hemant.agrawal@nxp.com> X-Virus-Scanned: ClamAV using ClamSMTP Subject: [dpdk-dev] [PATCH v2] add top level SPDX license identifier. X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" This patch adds top level SPDX license identifiers for some of the dpdk source and scripts, where the copyright owners have not yet agreed to replace the full BSD-3 license plate. This patch also add SPDX license tag for some of files with no previous license plates. (DPDK is BSD-3) Signed-off-by: Hemant Agrawal --- app/test-pmd/flowgen.c | 7 ++----- app/test-pmd/macswap.c | 6 ++---- app/test/test_compressdev_test_buffer.h | 2 ++ app/test/test_timer_racecond.c | 8 +++----- devtools/cocci.sh | 3 +-- .../test/trs_aesgcm_inline_crypto_fallback_defs.sh | 2 +- .../test/tun_aesgcm_inline_crypto_fallback_defs.sh | 2 +- examples/performance-thread/l3fwd-thread/test.sh | 1 + lib/librte_ethdev/rte_ethdev_pci.h | 6 ++---- lib/librte_ethdev/rte_ethdev_vdev.h | 6 ++---- 10 files changed, 17 insertions(+), 26 deletions(-) -- 2.17.1 diff --git a/app/test-pmd/flowgen.c b/app/test-pmd/flowgen.c index 03b72aaa5..a00d91a3a 100644 --- a/app/test-pmd/flowgen.c +++ b/app/test-pmd/flowgen.c @@ -1,8 +1,5 @@ -/*- - * BSD LICENSE - * - * Copyright(c) 2010-2013 Tilera Corporation. All rights reserved. - * All rights reserved. +/* SPDX-License-Identifier: BSD-3-Clause + * Copyright(c) 2010-2013 Tilera Corporation. All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions diff --git a/app/test-pmd/macswap.c b/app/test-pmd/macswap.c index 71af916fc..73f33f4b4 100644 --- a/app/test-pmd/macswap.c +++ b/app/test-pmd/macswap.c @@ -1,7 +1,5 @@ -/*- - * BSD LICENSE - * - * Copyright(c) 2014 Tilera Corporation. All rights reserved. +/* SPDX-License-Identifier: BSD-3-Clause + * Copyright(c) 2014 Tilera Corporation. All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions diff --git a/app/test/test_compressdev_test_buffer.h b/app/test/test_compressdev_test_buffer.h index c0492f89a..db701c6a0 100644 --- a/app/test/test_compressdev_test_buffer.h +++ b/app/test/test_compressdev_test_buffer.h @@ -1,3 +1,5 @@ +/* SPDX-License-Identifier: BSD-3-Clause + */ #ifndef TEST_COMPRESSDEV_TEST_BUFFERS_H_ #define TEST_COMPRESSDEV_TEST_BUFFERS_H_ diff --git a/app/test/test_timer_racecond.c b/app/test/test_timer_racecond.c index a9e1daf16..58bcd73f7 100644 --- a/app/test/test_timer_racecond.c +++ b/app/test/test_timer_racecond.c @@ -1,8 +1,6 @@ -/*- - * BSD LICENSE - * - * Copyright(c) 2015 Akamai Technologies. - * All rights reserved. +/* SPDX-License-Identifier: BSD-3-Clause + * Copyright(c) 2015 Akamai Technologies. + * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions diff --git a/devtools/cocci.sh b/devtools/cocci.sh index 8b17a8ceb..ce8ab298e 100755 --- a/devtools/cocci.sh +++ b/devtools/cocci.sh @@ -1,7 +1,6 @@ #! /bin/sh -# BSD LICENSE -# +# SPDX-License-Identifier: BSD-3-Clause # Copyright 2015 EZchip Semiconductor Ltd. # # Redistribution and use in source and binary forms, with or without diff --git a/examples/ipsec-secgw/test/trs_aesgcm_inline_crypto_fallback_defs.sh b/examples/ipsec-secgw/test/trs_aesgcm_inline_crypto_fallback_defs.sh index 875a7457d..058c7960a 100644 --- a/examples/ipsec-secgw/test/trs_aesgcm_inline_crypto_fallback_defs.sh +++ b/examples/ipsec-secgw/test/trs_aesgcm_inline_crypto_fallback_defs.sh @@ -1,5 +1,5 @@ #! /bin/bash - +# SPDX-License-Identifier: BSD-3-Clause . ${DIR}/trs_aesgcm_defs.sh SGW_CFG_XPRM_IN='port_id 0 type inline-crypto-offload fallback lookaside-none' diff --git a/examples/ipsec-secgw/test/tun_aesgcm_inline_crypto_fallback_defs.sh b/examples/ipsec-secgw/test/tun_aesgcm_inline_crypto_fallback_defs.sh index 696848432..b2899a2e4 100644 --- a/examples/ipsec-secgw/test/tun_aesgcm_inline_crypto_fallback_defs.sh +++ b/examples/ipsec-secgw/test/tun_aesgcm_inline_crypto_fallback_defs.sh @@ -1,5 +1,5 @@ #! /bin/bash - +# SPDX-License-Identifier: BSD-3-Clause . ${DIR}/tun_aesgcm_defs.sh SGW_CFG_XPRM_IN='port_id 0 type inline-crypto-offload fallback lookaside-none' diff --git a/examples/performance-thread/l3fwd-thread/test.sh b/examples/performance-thread/l3fwd-thread/test.sh index b7718b622..f0b6e271a 100755 --- a/examples/performance-thread/l3fwd-thread/test.sh +++ b/examples/performance-thread/l3fwd-thread/test.sh @@ -1,4 +1,5 @@ #!/bin/bash +# SPDX-License-Identifier: BSD-3-Clause case "$1" in diff --git a/lib/librte_ethdev/rte_ethdev_pci.h b/lib/librte_ethdev/rte_ethdev_pci.h index ccdbb46ec..05677145e 100644 --- a/lib/librte_ethdev/rte_ethdev_pci.h +++ b/lib/librte_ethdev/rte_ethdev_pci.h @@ -1,7 +1,5 @@ -/*- - * BSD LICENSE - * - * Copyright(c) 2017 Brocade Communications Systems, Inc. +/* SPDX-License-Identifier: BSD-3-Clause + * Copyright(c) 2017 Brocade Communications Systems, Inc. * Author: Jan Blunck * * Redistribution and use in source and binary forms, with or without diff --git a/lib/librte_ethdev/rte_ethdev_vdev.h b/lib/librte_ethdev/rte_ethdev_vdev.h index 259feda3f..b3ef12398 100644 --- a/lib/librte_ethdev/rte_ethdev_vdev.h +++ b/lib/librte_ethdev/rte_ethdev_vdev.h @@ -1,7 +1,5 @@ -/*- - * BSD LICENSE - * - * Copyright(c) 2017 Brocade Communications Systems, Inc. +/* SPDX-License-Identifier: BSD-3-Clause + * Copyright(c) 2017 Brocade Communications Systems, Inc. * Author: Jan Blunck * * Redistribution and use in source and binary forms, with or without