add top level SPDX license identifier.
PATCH 1/1 add top level SPDX license identifier.
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)
--- app/test-pmd/flowgen.c | 7 ++----- app/test-pmd/macswap.c | 6 ++---- app/test/test_cfgfile.c | 6 ++---- app/test/test_compressdev_test_buffer.h | 2 ++ app/test/test_timer_racecond.c | 8 +++----- devtools/cocci.sh | 3 +-- drivers/net/nfp/nfp_net.c | 2 +- drivers/net/nfp/nfp_net_ctrl.h | 2 +- drivers/net/nfp/nfp_net_logs.h | 2 +- drivers/net/nfp/nfp_net_pmd.h | 2 +- .../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 ++---- lib/librte_port/rte_port_kni.c | 10 ++++------ lib/librte_port/rte_port_kni.h | 10 ++++------ 17 files changed, 31 insertions(+), 46 deletions(-)
app/test-pmd/flowgen.c +2 -5
@@ -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
app/test-pmd/macswap.c +2 -4
@@ -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
app/test/test_cfgfile.c +2 -4
@@ -1,7 +1,5 @@ -/*- -* BSD LICENSE -* -* Copyright(c) 2017 Wind River Systems Inc. All rights reserved. +/* SPDX-License-Identifier: BSD-3-Clause +* Copyright(c) 2017 Wind River Systems Inc. All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions
app/test/test_compressdev_test_buffer.h +2 -0
@@ -1,3 +1,5 @@ +/* SPDX-License-Identifier: BSD-3-Clause +*/ #ifndef TEST_COMPRESSDEV_TEST_BUFFERS_H_ #define TEST_COMPRESSDEV_TEST_BUFFERS_H_
app/test/test_timer_racecond.c +3 -5
@@ -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
devtools/cocci.sh +1 -2
@@ -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
drivers/net/nfp/nfp_net.c +1 -1
@@ -1,4 +1,4 @@ -/* +/* SPDX-License-Identifier: BSD-3-Clause * Copyright (c) 2014-2018 Netronome Systems, Inc. * All rights reserved. *
drivers/net/nfp/nfp_net_ctrl.h +1 -1
@@ -1,4 +1,4 @@ -/* +/* SPDX-License-Identifier: BSD-3-Clause * Copyright (c) 2014, 2015 Netronome Systems, Inc. * All rights reserved. *
drivers/net/nfp/nfp_net_logs.h +1 -1
@@ -1,4 +1,4 @@ -/* +/* SPDX-License-Identifier: BSD-3-Clause * Copyright (c) 2014, 2015 Netronome Systems, Inc. * All rights reserved. *
drivers/net/nfp/nfp_net_pmd.h +1 -1
@@ -1,4 +1,4 @@ -/* +/* SPDX-License-Identifier: BSD-3-Clause * Copyright (c) 2014-2018 Netronome Systems, Inc. * All rights reserved. *
examples/ipsec-secgw/test/trs_aesgcm_inline_crypto_fallback_defs.sh +1 -1
@@ -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'
examples/ipsec-secgw/test/tun_aesgcm_inline_crypto_fallback_defs.sh +1 -1
@@ -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'
examples/performance-thread/l3fwd-thread/test.sh +1 -0
@@ -1,4 +1,5 @@ #!/bin/bash +# SPDX-License-Identifier: BSD-3-Clause case "$1" in
lib/librte_ethdev/rte_ethdev_pci.h +2 -4
@@ -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 <[email protected]> * * Redistribution and use in source and binary forms, with or without
lib/librte_ethdev/rte_ethdev_vdev.h +2 -4
@@ -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 <[email protected]> * * Redistribution and use in source and binary forms, with or without
lib/librte_port/rte_port_kni.c +4 -6
@@ -1,9 +1,7 @@ -/*- -* BSD LICENSE -* -* Copyright(c) 2016 Ethan Zhuang <[email protected]>. -* Copyright(c) 2016 Intel Corporation. -* All rights reserved. +/* SPDX-License-Identifier: BSD-3-Clause +* Copyright(c) 2016 Ethan Zhuang <[email protected]>. +* Copyright(c) 2016 Intel Corporation. +* All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions
lib/librte_port/rte_port_kni.h +4 -6
@@ -1,9 +1,7 @@ -/*- -* BSD LICENSE -* -* Copyright(c) 2016 Ethan Zhuang <[email protected]>. -* Copyright(c) 2016 Intel Corporation. -* All rights reserved. +/* SPDX-License-Identifier: BSD-3-Clause +* Copyright(c) 2016 Ethan Zhuang <[email protected]>. +* Copyright(c) 2016 Intel Corporation. +* All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions
Signature · 1 line
2.17.1
PATCH v2 1/1 add top level SPDX license identifier.
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)
--- 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(-)
app/test-pmd/flowgen.c +2 -5
@@ -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
app/test-pmd/macswap.c +2 -4
@@ -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
app/test/test_compressdev_test_buffer.h +2 -0
@@ -1,3 +1,5 @@ +/* SPDX-License-Identifier: BSD-3-Clause +*/ #ifndef TEST_COMPRESSDEV_TEST_BUFFERS_H_ #define TEST_COMPRESSDEV_TEST_BUFFERS_H_
app/test/test_timer_racecond.c +3 -5
@@ -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
devtools/cocci.sh +1 -2
@@ -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
examples/ipsec-secgw/test/trs_aesgcm_inline_crypto_fallback_defs.sh +1 -1
@@ -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'
examples/ipsec-secgw/test/tun_aesgcm_inline_crypto_fallback_defs.sh +1 -1
@@ -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'
examples/performance-thread/l3fwd-thread/test.sh +1 -0
@@ -1,4 +1,5 @@ #!/bin/bash +# SPDX-License-Identifier: BSD-3-Clause case "$1" in
lib/librte_ethdev/rte_ethdev_pci.h +2 -4
@@ -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 <[email protected]> * * Redistribution and use in source and binary forms, with or without
lib/librte_ethdev/rte_ethdev_vdev.h +2 -4
@@ -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 <[email protected]> * * Redistribution and use in source and binary forms, with or without
Signature · 1 line
2.17.1
28/11/2019 08:05, Hemant Agrawal:
Quoted 8 lines
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 <[email protected]>
Quoted 12 lines
--- 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(-)
If you don't mind, I would like to wait 20.02 for applying such patch. I believe there is a chance to get some agreement for some of these files.
Thomas Monjalon
Applied28/11/2019 08:05, Hemant Agrawal:
Quoted 8 lines
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 <[email protected]>
Quoted 12 lines
--- 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(-)
Some of these files are already fixed.
Applied this patch for the remaining gap, thanks