From patchwork Wed Sep 25 15:51:29 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Stephen Hemminger X-Patchwork-Id: 59765 X-Patchwork-Delegate: thomas@monjalon.net Return-Path: X-Original-To: patchwork@dpdk.org Delivered-To: patchwork@dpdk.org Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 7F3811BEAA; Wed, 25 Sep 2019 17:51:44 +0200 (CEST) Received: from mail-pg1-f195.google.com (mail-pg1-f195.google.com [209.85.215.195]) by dpdk.org (Postfix) with ESMTP id 8FA8B2C38 for ; Wed, 25 Sep 2019 17:51:40 +0200 (CEST) Received: by mail-pg1-f195.google.com with SMTP id x10so6021pgi.5 for ; Wed, 25 Sep 2019 08:51:40 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=rKqjOgQwxXrf0K5N4kdySUp/cXuLoMJBjnqj/DPSALs=; b=SnR5IzDRfaikbbudiwXzbryF1xRnUDyDlP1D9+dkK00Jr7XM7RAHrcc4S4jz+logAI 2ZAvYu4cjwRI86KGEXpkqwIcOpHgJMVAbee4wAd0WjS38IDISm3LpmpfEKXfhwQfd6Pz Fq9wftf4tOx0Fv4fthDDMgiVyOf+a2BJrBeA2I6iUQjfjs2urK8NH3An3NIznzk8hCzV 0NR7jp9iS8nwDrq1z6bKyR4UcSqAtI7Ignq8PbRMzlkpMn043OWSWV4AJAavXzi1Co4q MOfKOq8ucTcGTd6rOKx/SEy9kLkyb/Ets0Wmj0QEHq7csUyyNXolpsV7dfrY0LsXGIDh +rbQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=rKqjOgQwxXrf0K5N4kdySUp/cXuLoMJBjnqj/DPSALs=; b=YK+bCp2zy42JwP7y6s/GvcegxtxUlru8yPX0C+IQVmTYVD9I2uP8YcPq245K1PWwRZ dDfzwvf3mv95a4F3suromBmScz3Muwy/IMgdO6ruvSLFzep2FtL0cizi219RH0Z3HfCl mo6Dw0sr29FDyje9ZhroxMo5/RxCf9tO/mQNaYW/JtQ1/jjkF6vHwy69zNmZPnrhxdKO 7Pd+kquMzLD+aHvZ6jhu7HSYoek6Q/ekojEIKw76dm13w75T+oalG3xPcRtpB+49+HzU reb4Vu17lRWoG3ElOQZyz4cMAFu+WfoWitB51r43aviRgD18+UnUO3dQafBXTWCJJmrk MbUQ== X-Gm-Message-State: APjAAAVpZ9F7NTcVQDSA2FA71yYsZeAWNtWHOZI98xLdEWMQ6fMI4N/2 vyOLR04j5JckXTSSNjIZ/UN6H70tcEw= X-Google-Smtp-Source: APXvYqx1InPqi8Pdq3R74tPbHpfwbzGhAFNjiV4RcNDphTJSowT+ha1NvvS4mDYzdkKlLdYl/7/Crg== X-Received: by 2002:a17:90a:1b48:: with SMTP id q66mr7241349pjq.79.1569426699244; Wed, 25 Sep 2019 08:51:39 -0700 (PDT) Received: from hermes.lan (204-195-22-127.wavecable.com. [204.195.22.127]) by smtp.gmail.com with ESMTPSA id h9sm2783pgh.51.2019.09.25.08.51.38 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 25 Sep 2019 08:51:38 -0700 (PDT) From: Stephen Hemminger To: dev@dpdk.org Cc: Stephen Hemminger Date: Wed, 25 Sep 2019 08:51:29 -0700 Message-Id: <20190925155135.1688-2-stephen@networkplumber.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190925155135.1688-1-stephen@networkplumber.org> References: <20190925155135.1688-1-stephen@networkplumber.org> MIME-Version: 1.0 Subject: [dpdk-dev] [PATCH 1/7] uuid: remove BSD boilerplate 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" License type is already clear from SPDX tag. Signed-off-by: Stephen Hemminger Acked-by: Hemant Agrawal --- lib/librte_eal/common/eal_common_uuid.c | 26 ------------------------ lib/librte_eal/common/include/rte_uuid.h | 26 ------------------------ 2 files changed, 52 deletions(-) diff --git a/lib/librte_eal/common/eal_common_uuid.c b/lib/librte_eal/common/eal_common_uuid.c index 1b93c5b37ea1..0a80bfbb381b 100644 --- a/lib/librte_eal/common/eal_common_uuid.c +++ b/lib/librte_eal/common/eal_common_uuid.c @@ -1,31 +1,5 @@ /* SPDX-License-Identifier: BSD-3-Clause * Copyright (C) 1996, 1997 Theodore Ts'o. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * 1. Redistributions of source code must retain the above copyright - * notice, and the entire permission notice in its entirety, - * including the disclaimer of warranties. - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * 3. The name of the author may not be used to endorse or promote - * products derived from this software without specific prior - * written permission. - * - * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESS OR IMPLIED - * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES - * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE, ALL OF - * WHICH ARE HEREBY DISCLAIMED. IN NO EVENT SHALL THE AUTHOR BE - * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR - * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT - * OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR - * BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF - * LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT - * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE - * USE OF THIS SOFTWARE, EVEN IF NOT ADVISED OF THE POSSIBILITY OF SUCH - * DAMAGE. */ #include diff --git a/lib/librte_eal/common/include/rte_uuid.h b/lib/librte_eal/common/include/rte_uuid.h index 16bbed3219f6..044afbdfabd8 100644 --- a/lib/librte_eal/common/include/rte_uuid.h +++ b/lib/librte_eal/common/include/rte_uuid.h @@ -1,31 +1,5 @@ /* SPDX-License-Identifier: BSD-3-Clause * Copyright (C) 1996, 1997, 1998 Theodore Ts'o. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * 1. Redistributions of source code must retain the above copyright - * notice, and the entire permission notice in its entirety, - * including the disclaimer of warranties. - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * 3. The name of the author may not be used to endorse or promote - * products derived from this software without specific prior - * written permission. - * - * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESS OR IMPLIED - * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES - * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE, ALL OF - * WHICH ARE HEREBY DISCLAIMED. IN NO EVENT SHALL THE AUTHOR BE - * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR - * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT - * OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR - * BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF - * LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT - * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE - * USE OF THIS SOFTWARE, EVEN IF NOT ADVISED OF THE POSSIBILITY OF SUCH - * DAMAGE. */ /** * @file From patchwork Wed Sep 25 15:51:30 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Stephen Hemminger X-Patchwork-Id: 59766 X-Patchwork-Delegate: thomas@monjalon.net Return-Path: X-Original-To: patchwork@dpdk.org Delivered-To: patchwork@dpdk.org Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 106F61BEB1; Wed, 25 Sep 2019 17:51:48 +0200 (CEST) Received: from mail-pl1-f193.google.com (mail-pl1-f193.google.com [209.85.214.193]) by dpdk.org (Postfix) with ESMTP id 4DA8C2C38 for ; Wed, 25 Sep 2019 17:51:41 +0200 (CEST) Received: by mail-pl1-f193.google.com with SMTP id e5so2628233pls.9 for ; Wed, 25 Sep 2019 08:51:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=AAE2xhsAcZKnQbmY0Syy6CRDcY0+BQY9NUJC+4xpXaY=; b=oruPSPFANYIWJUtyHB3OewMXph0dBCr7CPMBjMpMlkTLt8OxAWwRTVZOCaJ8JJkw18 UySEJCWOfWuflAyokGy0quY0Vpk46mM6PXdIoAfbebgDVggIGswy15mh/QrxYP0Rjl6I 7GdUOL8QHc+TxjyhLrbkkPIosAjc3W4vysphQqOt9ThsWRVm6GE8qU2ayhBurDTXnUrP x/qKGHMfwgN2XhRE6xfNOMCwMceDZr9+RAFeC+2Rn6Cr/zTgNlORyle3aNctpjfABdWg g1Hjgu6xvEyr1+PxJAFJI+ZwksqpfM6M6rTIxRT1VH1f2KpCL0xTo2CC0Y0RHfnkNpE1 VpDA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=AAE2xhsAcZKnQbmY0Syy6CRDcY0+BQY9NUJC+4xpXaY=; b=a2MaCOt6MVrqC4l2u1FT5EIuXY0gRCE6wY089ZldJ06W5GBNXSrZSnH3w5NR2OMJak 95aX4NBxp9AMPWKrqyhI4r8HBFhxrtBTJg8TGMv7S2nM1Sm6fOfLgEUmJNXDYWDKIe7o C6caN4dWAG1wVMXJzYUkKwpEAUlX0AqAZF1weWv4DtGmH9692KAGj/xhEbuusGgojmcQ j7/pP4+J4GpX5UGjLspjuf7MWU+9DDDjBa5N9ZnZtbQsd5om6uUtdvBGhzWfuLCpWZBp mLQ9lzwM8yM7PPuuzUDVBI8TNCc1cZCOgT7fRocIhw4R6Osw1QtnHAVsQTD2eQh1Eduh q1kg== X-Gm-Message-State: APjAAAWnJY093K9poWu6eJh+5tI+c9ozbGZhCKkq/gt+zcNgRmMVA1gK Zz2V3NmFDnlOeRlHPv9lI30mHzq52xI= X-Google-Smtp-Source: APXvYqwp3wKqyhRxqHto2vG+3em+ojwEAgHvWL3QuuS5n3bK/W4yeGjFfyuD1unPpSupGsH77+7EyQ== X-Received: by 2002:a17:902:868a:: with SMTP id g10mr9894332plo.235.1569426699949; Wed, 25 Sep 2019 08:51:39 -0700 (PDT) Received: from hermes.lan (204-195-22-127.wavecable.com. [204.195.22.127]) by smtp.gmail.com with ESMTPSA id h9sm2783pgh.51.2019.09.25.08.51.39 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 25 Sep 2019 08:51:39 -0700 (PDT) From: Stephen Hemminger To: dev@dpdk.org Cc: Stephen Hemminger Date: Wed, 25 Sep 2019 08:51:30 -0700 Message-Id: <20190925155135.1688-3-stephen@networkplumber.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190925155135.1688-1-stephen@networkplumber.org> References: <20190925155135.1688-1-stephen@networkplumber.org> MIME-Version: 1.0 Subject: [dpdk-dev] [PATCH 2/7] reciprocal: remove redundant boilerplate 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" No need for extra language, coverd by SPDX tag. Signed-off-by: Stephen Hemminger --- lib/librte_eal/common/rte_reciprocal.c | 34 ++------------------------ 1 file changed, 2 insertions(+), 32 deletions(-) diff --git a/lib/librte_eal/common/rte_reciprocal.c b/lib/librte_eal/common/rte_reciprocal.c index f017d0c2830d..66040064abc5 100644 --- a/lib/librte_eal/common/rte_reciprocal.c +++ b/lib/librte_eal/common/rte_reciprocal.c @@ -1,37 +1,7 @@ /* SPDX-License-Identifier: BSD-3-Clause * Copyright(c) 2017 Cavium, Inc - */ -/*- - * BSD LICENSE - * - * Copyright(c) Hannes Frederic Sowa - * All rights reserved. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * - * * Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * * Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in - * the documentation and/or other materials provided with the - * distribution. - * * Neither the name of Intel Corporation nor the names of its - * contributors may be used to endorse or promote products derived - * from this software without specific prior written permission. - * - * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS - * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT - * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR - * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT - * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, - * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT - * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, - * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY - * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT - * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE - * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + * Copyright(c) Hannes Frederic Sowa + * All rights reserved. */ #include From patchwork Wed Sep 25 15:51:31 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Stephen Hemminger X-Patchwork-Id: 59767 X-Patchwork-Delegate: thomas@monjalon.net Return-Path: X-Original-To: patchwork@dpdk.org Delivered-To: patchwork@dpdk.org Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id B95541BEBA; Wed, 25 Sep 2019 17:51:50 +0200 (CEST) Received: from mail-pl1-f195.google.com (mail-pl1-f195.google.com [209.85.214.195]) by dpdk.org (Postfix) with ESMTP id DCD472C38 for ; Wed, 25 Sep 2019 17:51:41 +0200 (CEST) Received: by mail-pl1-f195.google.com with SMTP id t10so2632436plr.8 for ; Wed, 25 Sep 2019 08:51:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=4zrdCjwRsAdiMN6N2PV59lWUyLuVoO5oVeG0I9YEZG0=; b=OxFlVe1IIrkKVcH9jHdR+YEQxr5d9KVUT8lpREN/M5O3QmN8GHXyn/mhWpG7jZIkzP lqQ+hce3HOj7FLJmup5goEU3W9iQJwzUxZ+0q1js387NTEtA5nUaufH5mMCjoc1raeoV sFVOllTWpTwoqo7uRD6IalWrGneb4FRpYul7Mj5fxkjRwdoexveZlq1JAJLfkjKu+BCD aVKE34t8Y8aLd2r+wXSAYjqjvcXcEl23bhq0x763YejlGOQWUflDOe6Z+fmJggcuzPrJ YLYtYXiuq3XlTk/6EjedmnkvvYUcbaC/RXUHIxtbZTOja0GJfLEezNd7XeoVPVjTWmpC UWQA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=4zrdCjwRsAdiMN6N2PV59lWUyLuVoO5oVeG0I9YEZG0=; b=Uy5GAHDnaQHgEXpLUlIkmujGtUQVMs9YTilw3hWLfYYtwz7v4ExtBQGG1N8opQ9U+U WATxDUOq+vjQHAPbVScfMA96rujDUuSCwha0QcJLQxs/xkdnNg97Vh++ZVKxkM7G7TET OKGDs63EwzOYmRJEMZY8BuTAWeWv/rPCiuJSmKJo8qvcfM3EkO4tRw9OLbe0Ir+1d8Nn WvQpzbBVJ4FLKsSRURo2pRSnYAoqRSMJ6978UOXZWikLJi9ILjcXdjqDjjSs4m6qN59A WauIuLIIHjqQDVYJ3rDX4HPOeWN5lGOiBWzelAJBKWW3XoIDGQbaR3bv0S+LootPvBa2 01Jw== X-Gm-Message-State: APjAAAU2u6fHwNU8IbJBNMqo/iv2GqDgfFZSOo4JeiaFFkKhQJHbDyye rdC2+GBLtsw/qVRCUg9kNTQT/sX883o= X-Google-Smtp-Source: APXvYqznfHzs1rl/nDZ8HB2UOwbrDbbzJMElwKMZf+Zzy4yS8OUCTqWfMbmHRINrjbxc0pzFuxKSeQ== X-Received: by 2002:a17:902:82c7:: with SMTP id u7mr9915999plz.27.1569426700695; Wed, 25 Sep 2019 08:51:40 -0700 (PDT) Received: from hermes.lan (204-195-22-127.wavecable.com. [204.195.22.127]) by smtp.gmail.com with ESMTPSA id h9sm2783pgh.51.2019.09.25.08.51.39 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 25 Sep 2019 08:51:40 -0700 (PDT) From: Stephen Hemminger To: dev@dpdk.org Cc: Stephen Hemminger Date: Wed, 25 Sep 2019 08:51:31 -0700 Message-Id: <20190925155135.1688-4-stephen@networkplumber.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190925155135.1688-1-stephen@networkplumber.org> References: <20190925155135.1688-1-stephen@networkplumber.org> MIME-Version: 1.0 Subject: [dpdk-dev] [PATCH 3/7] windows: remove boilerplate from BSD header 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" The BSD license is already handled by SPDX tag. Signed-off-by: Stephen Hemminger Acked-by: Hemant Agrawal --- .../windows/eal/include/sys/queue.h | 25 ------------------- 1 file changed, 25 deletions(-) diff --git a/lib/librte_eal/windows/eal/include/sys/queue.h b/lib/librte_eal/windows/eal/include/sys/queue.h index 5ee4916ad14d..7cefa4ba22a7 100644 --- a/lib/librte_eal/windows/eal/include/sys/queue.h +++ b/lib/librte_eal/windows/eal/include/sys/queue.h @@ -3,31 +3,6 @@ * * Copyright (c) 1991, 1993 * The Regents of the University of California. All rights reserved. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * 3. Neither the name of the University nor the names of its contributors - * may be used to endorse or promote products derived from this software - * without specific prior written permission. - * - * THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND - * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE - * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE - * ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE - * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL - * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS - * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) - * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT - * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY - * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF - * SUCH DAMAGE. - * */ #ifndef _SYS_QUEUE_H_ From patchwork Wed Sep 25 15:51:32 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Stephen Hemminger X-Patchwork-Id: 59768 X-Patchwork-Delegate: thomas@monjalon.net Return-Path: X-Original-To: patchwork@dpdk.org Delivered-To: patchwork@dpdk.org Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id EBCC91BEC3; Wed, 25 Sep 2019 17:51:52 +0200 (CEST) Received: from mail-pg1-f193.google.com (mail-pg1-f193.google.com [209.85.215.193]) by dpdk.org (Postfix) with ESMTP id 29C911BE91 for ; Wed, 25 Sep 2019 17:51:43 +0200 (CEST) Received: by mail-pg1-f193.google.com with SMTP id 4so3488457pgm.12 for ; Wed, 25 Sep 2019 08:51:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=LbCDWbr+kF6Za9W/PWoSIUncQSs/SEQnHfbafaz7ESY=; b=cYzIzNLZA3V/vx0YQLEGhKNZWG6cY4jXCghl+fcja+cD1ukmdfjxi2UaqyF/4uj2rN nO8R89gDoz+H3/rJbzly49nsLnHmXU1oiyOcAptl6gmxppzlk7U+hKpB0KzpHJHh91Ue 39rKTquBt7BvGbqQRBc9KH8J4ArjSeeLuIO4LXRyQyRDolzQzao+oBwp0CwQzjBdiNH9 okan1GzNzvCPWVKugin08n452i9OBOCr7sGSdrjGbiFG8xjuEUdeTUKjGWuxGP6LXOp6 KLn/60GL2UeRGx565Q1iF5LFtBIlXCt0KVyj53Ndjs6p7FsQhvuzmaC9QKqlZOtRPysM b9vg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=LbCDWbr+kF6Za9W/PWoSIUncQSs/SEQnHfbafaz7ESY=; b=buE4p/qGDkwv1vcQjdARB1KURts0CI5tgMaRIVb93V1RVe2wEH3w4jmxmghKdTlt01 5dpOctiAj4e2Zc1nEZtsPBfkk/fyVh/G7l1bvx/zaHqao4IzKxU8WqaC4o2MKYdGou5Y sDd3y9/quOyo/S6clO2zk5FLojvrYBw3Eh5gn2kVEz49LE4FcQId5ilgDe6N/F5+ciir f5ehwtEVsMADn4yDf99/LSGsP8h3ISn/4pWuoYpwitvlmagZne/jnWOzpt7AWyxGskRf AKVfZ4MYDGPjOPCu3jST1TWqTW3HO77LamkK3fXRH6WdJO1z5MBC8ckoVmUJkJej6lRh b/Fw== X-Gm-Message-State: APjAAAUH9Vb1LepZULOaSK5+Taj743zzyVvU8jfQennbNgl8Pp0N1SUd 9vR5jKOTR8ToQKiPfiZvnxlUztnOHXY= X-Google-Smtp-Source: APXvYqyngWTJjtn6vQsuCK31MkkuPkyCENIVPrv7yItndXtklRqHSVNsKIhda1BuXroRgAO5W60TzA== X-Received: by 2002:a17:90a:a00f:: with SMTP id q15mr7277204pjp.120.1569426701979; Wed, 25 Sep 2019 08:51:41 -0700 (PDT) Received: from hermes.lan (204-195-22-127.wavecable.com. [204.195.22.127]) by smtp.gmail.com with ESMTPSA id h9sm2783pgh.51.2019.09.25.08.51.40 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 25 Sep 2019 08:51:40 -0700 (PDT) From: Stephen Hemminger To: dev@dpdk.org Cc: Stephen Hemminger Date: Wed, 25 Sep 2019 08:51:32 -0700 Message-Id: <20190925155135.1688-5-stephen@networkplumber.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190925155135.1688-1-stephen@networkplumber.org> References: <20190925155135.1688-1-stephen@networkplumber.org> MIME-Version: 1.0 Subject: [dpdk-dev] [PATCH 4/7] kni: add SPDX license tag 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" Per policy, DPDK uses SPDX license tags instead of BSD boilerplate. Signed-off-by: Stephen Hemminger Acked-by: Hemant Agrawal --- lib/librte_port/rte_port_kni.c | 36 ++++------------------------------ lib/librte_port/rte_port_kni.h | 36 ++++------------------------------ 2 files changed, 8 insertions(+), 64 deletions(-) diff --git a/lib/librte_port/rte_port_kni.c b/lib/librte_port/rte_port_kni.c index 2515fb2acba8..a682576202b1 100644 --- a/lib/librte_port/rte_port_kni.c +++ b/lib/librte_port/rte_port_kni.c @@ -1,35 +1,7 @@ -/*- - * BSD LICENSE - * - * Copyright(c) 2016 Ethan Zhuang . - * 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 - * are met: - * - * * Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * * Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in - * the documentation and/or other materials provided with the - * distribution. - * * Neither the name of Intel Corporation nor the names of its - * contributors may be used to endorse or promote products derived - * from this software without specific prior written permission. - * - * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS - * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT - * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR - * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT - * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, - * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT - * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, - * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY - * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT - * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE - * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +/* SPDX-License-Identifier: BSD-3-Clause + * Copyright(c) 2016 Ethan Zhuang . + * Copyright(c) 2016 Intel Corporation. + * All rights reserved. */ #include diff --git a/lib/librte_port/rte_port_kni.h b/lib/librte_port/rte_port_kni.h index 4b60689c77b9..2cf554bc021a 100644 --- a/lib/librte_port/rte_port_kni.h +++ b/lib/librte_port/rte_port_kni.h @@ -1,35 +1,7 @@ -/*- - * BSD LICENSE - * - * Copyright(c) 2016 Ethan Zhuang . - * 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 - * are met: - * - * * Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * * Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in - * the documentation and/or other materials provided with the - * distribution. - * * Neither the name of Intel Corporation nor the names of its - * contributors may be used to endorse or promote products derived - * from this software without specific prior written permission. - * - * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS - * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT - * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR - * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT - * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, - * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT - * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, - * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY - * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT - * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE - * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +/* SPDX-License-Identifier: BSD-3-Clause + * Copyright(c) 2016 Ethan Zhuang . + * Copyright(c) 2016 Intel Corporation. + * All rights reserved. */ #ifndef __INCLUDE_RTE_PORT_KNI_H__ From patchwork Wed Sep 25 15:51:33 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Stephen Hemminger X-Patchwork-Id: 59769 X-Patchwork-Delegate: thomas@monjalon.net Return-Path: X-Original-To: patchwork@dpdk.org Delivered-To: patchwork@dpdk.org Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 5F3821BECC; Wed, 25 Sep 2019 17:51:55 +0200 (CEST) Received: from mail-pl1-f194.google.com (mail-pl1-f194.google.com [209.85.214.194]) by dpdk.org (Postfix) with ESMTP id 4D0281BEA1 for ; Wed, 25 Sep 2019 17:51:44 +0200 (CEST) Received: by mail-pl1-f194.google.com with SMTP id s17so2630469plp.6 for ; Wed, 25 Sep 2019 08:51:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=hmMFZazX1gtoGAlYvHXnB0D9sDuFU//e3yQpgBG61nk=; b=SfWxtV0Od/XaOmXu8LE+T2YO3kLajDQvfl5bB2tSXqFW4T6DtrOzig2EaHITgLailT pjYc+ZYRUd11nI/VOSaVlP/UX53kYuV5ep1nyfmjOnMcNJmokvMRBJQgSZRtT/OK7t7W TMLd+ixb6oaporvDpX+2FCr6Td0sh3nMPv8182gBSF1RANTUIwF5C7tF5Uuw9AHjOlBb eTnCURHZViyuCX9Rn75Mv6xVQlDOKa50WlUq2tVxC0l75CTxuwq95SmgXzSFTOaJoRwn HFZTdWSCc+/WfXwXNYMWk6DJci0dQw4HXzsvSxy9IyqpCIE7Qwp5R799q7VmoMD8Ik+1 ZzoQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=hmMFZazX1gtoGAlYvHXnB0D9sDuFU//e3yQpgBG61nk=; b=ax0YRYnI8Q6ah4N45hufx8ZU6OGdnfqPiTh+jinpxyx5hZMMrJ8h5Ihbm/qMbBoHVM mmdHeeUIm3xKUn4zJji2k/ScY/I9nH37r2Ls49fcRl8u+vyhxqkPmEESNAYNmHP+fN1c tCRLUaZoL8dBKnPY8NrsihUEU9d4Ll3KXFREzDz1dnAcWNHRIrsxKbMK938PUeJ6GDEV J6OgNXyXAYmk6uo2PUZQ9wwtsiYy1nyTu3wWK5FmzsxfTxTuAYJOScj3SDqOjZy10eKq p7zErpOUlDNuuqxtId0SJlCm378PZKvN5haeYx6KIEYixT3AGZcVWptp+2kMCwD1/ilz YPiQ== X-Gm-Message-State: APjAAAXRy3D8mgq8VzSoS7WA320k154Uesc6JgLCugwpHukwpf6sTJyR Wo65KhhFxuTw8SK7RtX4I3T8i+U3y1k= X-Google-Smtp-Source: APXvYqw1RG4GLSy1wi7hf4TgQzLw9DWxKg23jHfkiFYnGflY/DuAyoQBCul/j7NaGsG+fTCEkvOfhg== X-Received: by 2002:a17:902:7282:: with SMTP id d2mr9775989pll.140.1569426703287; Wed, 25 Sep 2019 08:51:43 -0700 (PDT) Received: from hermes.lan (204-195-22-127.wavecable.com. [204.195.22.127]) by smtp.gmail.com with ESMTPSA id h9sm2783pgh.51.2019.09.25.08.51.42 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 25 Sep 2019 08:51:42 -0700 (PDT) From: Stephen Hemminger To: dev@dpdk.org Cc: Stephen Hemminger Date: Wed, 25 Sep 2019 08:51:33 -0700 Message-Id: <20190925155135.1688-6-stephen@networkplumber.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190925155135.1688-1-stephen@networkplumber.org> References: <20190925155135.1688-1-stephen@networkplumber.org> MIME-Version: 1.0 Subject: [dpdk-dev] [PATCH 5/7] ethdev: add SPDX tags to pci and vdev headers 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" Missing SPDX tags on these. Signed-off-by: Stephen Hemminger Acked-by: Hemant Agrawal --- lib/librte_ethdev/rte_ethdev_pci.h | 34 +++-------------------------- lib/librte_ethdev/rte_ethdev_vdev.h | 34 +++-------------------------- 2 files changed, 6 insertions(+), 62 deletions(-) diff --git a/lib/librte_ethdev/rte_ethdev_pci.h b/lib/librte_ethdev/rte_ethdev_pci.h index ccdbb46ec03c..add17dd1fea3 100644 --- a/lib/librte_ethdev/rte_ethdev_pci.h +++ b/lib/librte_ethdev/rte_ethdev_pci.h @@ -1,34 +1,6 @@ -/*- - * BSD LICENSE - * - * Copyright(c) 2017 Brocade Communications Systems, Inc. - * Author: Jan Blunck - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * - * * Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * * Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in - * the documentation and/or other materials provided with the - * distribution. - * * Neither the name of the copyright holder nor the names of its - * contributors may be used to endorse or promote products derived - * from this software without specific prior written permission. - * - * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS - * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT - * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR - * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT - * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, - * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT - * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, - * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY - * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT - * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE - * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +/* SPDX-License-Identifier: BSD-3-Clause + * Copyright(c) 2017 Brocade Communications Systems, Inc. + * Author: Jan Blunck */ #ifndef _RTE_ETHDEV_PCI_H_ diff --git a/lib/librte_ethdev/rte_ethdev_vdev.h b/lib/librte_ethdev/rte_ethdev_vdev.h index 259feda3f7e8..8ae73b617798 100644 --- a/lib/librte_ethdev/rte_ethdev_vdev.h +++ b/lib/librte_ethdev/rte_ethdev_vdev.h @@ -1,34 +1,6 @@ -/*- - * BSD LICENSE - * - * Copyright(c) 2017 Brocade Communications Systems, Inc. - * Author: Jan Blunck - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * - * * Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * * Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in - * the documentation and/or other materials provided with the - * distribution. - * * Neither the name of the copyright holder nor the names of its - * contributors may be used to endorse or promote products derived - * from this software without specific prior written permission. - * - * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS - * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT - * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR - * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT - * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, - * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT - * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, - * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY - * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT - * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE - * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +/* SPDX-License-Identifier: BSD-3-Clause + * Copyright(c) 2017 Brocade Communications Systems, Inc. + * Author: Jan Blunck */ #ifndef _RTE_ETHDEV_VDEV_H_ From patchwork Wed Sep 25 15:51:34 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Stephen Hemminger X-Patchwork-Id: 59770 X-Patchwork-Delegate: thomas@monjalon.net Return-Path: X-Original-To: patchwork@dpdk.org Delivered-To: patchwork@dpdk.org Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 0537A1BEDA; Wed, 25 Sep 2019 17:51:58 +0200 (CEST) Received: from mail-pl1-f170.google.com (mail-pl1-f170.google.com [209.85.214.170]) by dpdk.org (Postfix) with ESMTP id 11CB71BEAE for ; Wed, 25 Sep 2019 17:51:46 +0200 (CEST) Received: by mail-pl1-f170.google.com with SMTP id f21so248653plj.10 for ; Wed, 25 Sep 2019 08:51:45 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=Vpf9aRZIybDuOvO7vAE6mRaAgmS1Jsj6J3swiURENNc=; b=BgKh1DIbk3oaydzzQ3U3E0lr6lzb6UWcfEpK9D1gfVPrkhuv7BnD8txdiQVJUsHYRM VerUr6YZx+MxfkegX6QKPJ6zQS9QWGhZstZfFlIeQUNEy2UvTgobZcQQn50Y0eyiMKU1 zNPFWTcvheOajcZuLZjYT0XHqLX6BiodgolKiicg4PvAsebzk3M5UMa8M2rVkBZlDpVU 7ylL/YB1VoMppGcfqssDr/3todq2frXfYNIWyAS24UGkfz5+lDNawpJRXJRrtTlFw5aN m0NqW8WzPwBJFkqOxpt7MFwGYRH7XdVT2kw7Vgi6DFumkhj1FJP2KrUM6AnoVp+eFZg7 zjrQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=Vpf9aRZIybDuOvO7vAE6mRaAgmS1Jsj6J3swiURENNc=; b=uc3b7bjPc2jruZfj7T1jgOViTcc3JK9Btoz0VgMjbyi6ldjECIlaFiepJlaOSIRmIk vlOJnY79s9i2A6Da5TxBCLXvHEb/4BdqBL0USaVSepEt3b0FkqvaL97m+mc2EX7FF++0 cixoCXeLgtp0KG1YDv12pNdWJw9d8h/Sexj/pqo6FFEQcfkJFeLOEYQ6UVCh6FGB4Rtc CWqWqJrxaWTHqImE55cS1uXcIt+bJrDvxOmNw37VQXig3yepBymWPlc22hNy6+5lT8CM aovVH//b2y0Hu3A0BBO+bh2w8VvEsfgQ7h+2kZEeTJqWLJbw7/gOCIQOU4g2ayQO9XQI 2awg== X-Gm-Message-State: APjAAAX/7PSlHh7uig04IK9119M2hc5PsyCT2An657CZoxkbX17RtDsN fi1AQvp7hfjP0n3aJbe7pQMbRYpX2IY= X-Google-Smtp-Source: APXvYqzKSnVs5ZAykWgZXoN7ou6qd3dxSKy/qbvY4l5rdwhijTrGE4aPtyJV9Q9b61OJzv08Njn58Q== X-Received: by 2002:a17:902:d685:: with SMTP id v5mr9499542ply.15.1569426704418; Wed, 25 Sep 2019 08:51:44 -0700 (PDT) Received: from hermes.lan (204-195-22-127.wavecable.com. [204.195.22.127]) by smtp.gmail.com with ESMTPSA id h9sm2783pgh.51.2019.09.25.08.51.43 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 25 Sep 2019 08:51:43 -0700 (PDT) From: Stephen Hemminger To: dev@dpdk.org Cc: Stephen Hemminger Date: Wed, 25 Sep 2019 08:51:34 -0700 Message-Id: <20190925155135.1688-7-stephen@networkplumber.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190925155135.1688-1-stephen@networkplumber.org> References: <20190925155135.1688-1-stephen@networkplumber.org> MIME-Version: 1.0 Subject: [dpdk-dev] [PATCH 6/7] testpmd: add SPDX license tags 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" These files are old tests where the original owner is not active. Change from BSD boilerplate to SPDX. Signed-off-by: Stephen Hemminger Acked-by: Hemant Agrawal --- app/test-pmd/flowgen.c | 35 +++-------------------------------- app/test-pmd/macswap.c | 33 ++------------------------------- 2 files changed, 5 insertions(+), 63 deletions(-) diff --git a/app/test-pmd/flowgen.c b/app/test-pmd/flowgen.c index ade6fe5dafa0..d09f96122be8 100644 --- a/app/test-pmd/flowgen.c +++ b/app/test-pmd/flowgen.c @@ -1,35 +1,6 @@ -/*- - * BSD LICENSE - * - * Copyright(c) 2010-2013 Tilera Corporation. All rights reserved. - * All rights reserved. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * - * * Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * * Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in - * the documentation and/or other materials provided with the - * distribution. - * * Neither the name of Tilera Corporation nor the names of its - * contributors may be used to endorse or promote products derived - * from this software without specific prior written permission. - * - * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS - * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT - * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR - * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT - * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, - * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT - * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, - * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY - * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT - * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE - * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - * +/* SPDX-License-Identifier: BSD-3-Clause + * Copyright(c) 2010-2013 Tilera Corporation. All rights reserved. + * All rights reserved. */ #include diff --git a/app/test-pmd/macswap.c b/app/test-pmd/macswap.c index 71af916fc348..495115e54d9f 100644 --- a/app/test-pmd/macswap.c +++ b/app/test-pmd/macswap.c @@ -1,34 +1,5 @@ -/*- - * BSD LICENSE - * - * 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 - * are met: - * - * * Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * * Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in - * the documentation and/or other materials provided with the - * distribution. - * * Neither the name of Tilera Corporation nor the names of its - * contributors may be used to endorse or promote products derived - * from this software without specific prior written permission. - * - * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS - * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT - * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR - * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT - * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, - * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT - * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, - * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY - * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT - * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE - * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - * +/* SPDX-License-Identifier: BSD-3-Clause + * Copyright(c) 2014 Tilera Corporation. All rights reserved. */ #include From patchwork Wed Sep 25 15:51:35 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Stephen Hemminger X-Patchwork-Id: 59771 X-Patchwork-Delegate: thomas@monjalon.net Return-Path: X-Original-To: patchwork@dpdk.org Delivered-To: patchwork@dpdk.org Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id CC01E1BEDE; Wed, 25 Sep 2019 17:51:59 +0200 (CEST) Received: from mail-pf1-f171.google.com (mail-pf1-f171.google.com [209.85.210.171]) by dpdk.org (Postfix) with ESMTP id 671F71BEAF for ; Wed, 25 Sep 2019 17:51:46 +0200 (CEST) Received: by mail-pf1-f171.google.com with SMTP id 205so3737351pfw.2 for ; Wed, 25 Sep 2019 08:51:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=1LIx8FgpfwtDon8t/ILyuWG9SuQT4+Yo+hyhTQFs7Xc=; b=xQmmPZCO3SNPP24nW/rqJkXBSu6Y2DLcKSahtf+Pm9j7iVetsWix0sojeFdPVDQEIA 1ZOfegr6q/lM+aqUniriEviWWhznR1QfB0b42/mTO/viMEwdl8/GWuF167SrAVMjESyd bxhYtfvRPv7jJO3Q7pht1c6ctbLTjsB5b09pz0/Gywj3C0HspWRySpZMxAgRrof3HMBQ TmHZTjT0MJen59683AAIaKkwo4nlQW02ezF/Tu4mhqcfTpbn/uzG7P2F+IY+z4dTLwot A61T7dRkSp2NwivZMdB69DGWeY3oaEAG+QfyDu9VoQOQcOY1Z3ueWhD721wp79yzawhy vE4g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=1LIx8FgpfwtDon8t/ILyuWG9SuQT4+Yo+hyhTQFs7Xc=; b=VQ8oSM05NdMSFStxL4+SJpXVgBsSshcoEyfWYqayjVbQ+mJihqlLhJ4G/+SCxkdTBH eYnidzpBnvFdX07yUYzIFtXOh+u/ct6k/uE8ViilntNpzjAoFWjEMWmUcjWjBl4QSRen /G/AfYsmIERm9cRCWIapeqwdQQgcEtHPyQrify0v7lMPMl1mbqHGvXVIPXyQxcO3r44Y rbAFQsSKNKTIscXwgrpxTjkNGs3dokxsUsr+R0EepQ9MYug78tnirt+hIRpZB9s87Gfe L75t63krYw4SY5UOxJRR1LROR+saREOBLdNII5K42KG4gOX/jN8u0aHaCyjetlO/1KSS ztew== X-Gm-Message-State: APjAAAWM6SaHmggwBw9zaqd3C1rVDy6z5t+cE263og778fuaApktLHzR Id9ezXoKSGnSk59Pd4j0zP/x5j/2BZk= X-Google-Smtp-Source: APXvYqyDl1suM78PP4lLHvW3PIwfyhUllJuA14t7gY+UFN0GRJ1MV0oYC+XGToPmOamsYZ8CxFbbYQ== X-Received: by 2002:a17:90a:1996:: with SMTP id 22mr7468841pji.17.1569426705279; Wed, 25 Sep 2019 08:51:45 -0700 (PDT) Received: from hermes.lan (204-195-22-127.wavecable.com. [204.195.22.127]) by smtp.gmail.com with ESMTPSA id h9sm2783pgh.51.2019.09.25.08.51.44 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 25 Sep 2019 08:51:44 -0700 (PDT) From: Stephen Hemminger To: dev@dpdk.org Cc: Stephen Hemminger Date: Wed, 25 Sep 2019 08:51:35 -0700 Message-Id: <20190925155135.1688-8-stephen@networkplumber.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190925155135.1688-1-stephen@networkplumber.org> References: <20190925155135.1688-1-stephen@networkplumber.org> MIME-Version: 1.0 Subject: [dpdk-dev] [PATCH 7/7] test: add SPDX headers 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" These are minor test files that never got converted. Signed-off-by: Stephen Hemminger Acked-by: Hemant Agrawal Acked-by: Vladimir Medvedkin Acked-by: --- app/test/test_cfgfile.c | 32 ++--------------------- app/test/test_compressdev_test_buffer.h | 2 ++ app/test/test_thash.c | 34 +++---------------------- app/test/test_timer_racecond.c | 34 +++---------------------- 4 files changed, 10 insertions(+), 92 deletions(-) diff --git a/app/test/test_cfgfile.c b/app/test/test_cfgfile.c index 37435b395a3a..01905920ef47 100644 --- a/app/test/test_cfgfile.c +++ b/app/test/test_cfgfile.c @@ -1,33 +1,5 @@ -/*- - * BSD LICENSE - * - * 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 - * are met: - * - * * Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * * Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in - * the documentation and/or other materials provided with the - * distribution. - * * Neither the name of Intel Corporation nor the names of its - * contributors may be used to endorse or promote products derived - * from this software without specific prior written permission. - * - * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS - * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT - * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR - * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT - * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, - * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT - * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, - * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY - * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT - * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE - * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +/* SPDX-License-Identifier: BSD-3-Clause + * Copyright(c) 2017 Wind River Systems Inc. All rights reserved. */ #include diff --git a/app/test/test_compressdev_test_buffer.h b/app/test/test_compressdev_test_buffer.h index c0492f89a245..c2c7a2347222 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_thash.c b/app/test/test_thash.c index 5a6912cda4df..641e999d9828 100644 --- a/app/test/test_thash.c +++ b/app/test/test_thash.c @@ -1,34 +1,6 @@ -/*- - * BSD LICENSE - * - * Copyright(c) 2015 Vladimir Medvedkin - * All rights reserved. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * - * * Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * * Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in - * the documentation and/or other materials provided with the - * distribution. - * * Neither the name of Intel Corporation nor the names of its - * contributors may be used to endorse or promote products derived - * from this software without specific prior written permission. - * - * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS - * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT - * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR - * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT - * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, - * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT - * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, - * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY - * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT - * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE - * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +/* SPDX-License-Identifier: BSD-3-Clause + * Copyright(c) 2015 Vladimir Medvedkin + * All rights reserved. */ #include diff --git a/app/test/test_timer_racecond.c b/app/test/test_timer_racecond.c index a9e1daf16bf4..cf0bdd63c3df 100644 --- a/app/test/test_timer_racecond.c +++ b/app/test/test_timer_racecond.c @@ -1,34 +1,6 @@ -/*- - * BSD LICENSE - * - * 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 - * are met: - * - * * Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * * Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in - * the documentation and/or other materials provided with the - * distribution. - * * Neither the name of Intel Corporation nor the names of its - * contributors may be used to endorse or promote products derived - * from this software without specific prior written permission. - * - * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS - * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT - * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR - * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT - * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, - * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT - * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, - * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY - * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT - * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE - * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +/* SPDX-License-Identifier: BSD-3-Clause + * Copyright(c) 2015 Akamai Technologies. + * All rights reserved. */ #include "test.h"