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__