From 08ab4769c2b868143536ea3d1807e9a25647fd9e Mon Sep 17 00:00:00 2001 From: Hemant Agrawal Date: Thu, 28 Nov 2019 12:35:38 +0530 Subject: [PATCH] add top-level SPDX license tag 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 a file with no previous license plates. (DPDK is BSD-3) Signed-off-by: Hemant Agrawal --- app/test/test_compressdev_test_buffer.h | 2 +- app/test/test_timer_racecond.c | 8 +++----- examples/performance-thread/l3fwd-thread/test.sh | 1 + lib/librte_ethdev/rte_ethdev_pci.h | 6 ++---- lib/librte_ethdev/rte_ethdev_vdev.h | 6 ++---- 5 files changed, 9 insertions(+), 14 deletions(-) diff --git a/app/test/test_compressdev_test_buffer.h b/app/test/test_compressdev_test_buffer.h index d241602445..4a16ade150 100644 --- a/app/test/test_compressdev_test_buffer.h +++ b/app/test/test_compressdev_test_buffer.h @@ -1,4 +1,4 @@ -/* SPDX-License-Identifier: (BSD-3-Clause) +/* SPDX-License-Identifier: BSD-3-Clause * Copyright(c) 2018-2020 Intel Corporation */ diff --git a/app/test/test_timer_racecond.c b/app/test/test_timer_racecond.c index a9e1daf16b..58bcd73f7d 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/examples/performance-thread/l3fwd-thread/test.sh b/examples/performance-thread/l3fwd-thread/test.sh index b7718b6223..f0b6e271a5 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 cca94ec864..a999602fdd 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 259feda3f7..b3ef12398e 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 -- 2.20.1