From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id 6DB56A0093 for ; Tue, 19 May 2020 14:59:32 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 65B321D61A; Tue, 19 May 2020 14:59:32 +0200 (CEST) Received: from mail-wm1-f65.google.com (mail-wm1-f65.google.com [209.85.128.65]) by dpdk.org (Postfix) with ESMTP id B9D6B1C1E4 for ; Tue, 19 May 2020 14:59:30 +0200 (CEST) Received: by mail-wm1-f65.google.com with SMTP id w64so3434026wmg.4 for ; Tue, 19 May 2020 05:59:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=ZAxylM2Wh7RTkP9hn3I7/hpeKyLrowEcyuL642bcqh0=; b=MTWg2ZQ0aajwxCQ7E+n03pNLVP14o0vJ2d+9QTBajGrlLtmFygNtQ5fLlKZQBTiRTb Shu8rrqu5qMy2VgSX4As4kPgcMQFew9eXjLBQ/HDTHuzgomeFcRRt6aIIr/sYrcIANCt rMyXyefzOLcvMGpBadciMOKQpZUB5h+cA4ITkXeCkn7T+B9Z14kOhbhkTjUy6D6LNcYd 5dy6pYZs3+Bd7+ymukaYfUQFPKxLW48aaDZ3ALM5tMNi7uVhZKDjfckXRHE97Dtd5LTj aD4qlKXe1ifQcAKTrQDBF/TXMbpBV05Low2UU6repCJgbfiHj21Mct46IPUYdch/Xi3v t7Og== 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=ZAxylM2Wh7RTkP9hn3I7/hpeKyLrowEcyuL642bcqh0=; b=AQe0fUtm+ew5NNlXdWDZKn2HcTiAyNntB9383LPvkGYKQ7D0BrOP2m0xpRPUUupea9 Mg6mQ57oW2uIxCgQ5JHnbSTvoXp18GtUEaAN5jL1I6fR762x3N4n0Rvg36VmRk0crO0M y+hn5AoM1ig/cFlFIbGE4rWTe/oQeHF78DD7qkJ4nYbozl3Gkh7/e0KbYt8zlBFKnItO xmp9kupe8u1AGHOWcuFXx8VFKGr1VKi3An9EjPiADgY3dvrJ7KpBo5wzVQ8xYaqqUsao jIavR4e2U4B7JYKjm47NPfMTFf761FTYUSq3okt/slIMMhM67y/r417TaNHBirPBO91J K1bw== X-Gm-Message-State: AOAM530bcUBL45UeonxK61TR1kmIkqFPCvuuSee32JL96dyT7e0hbRrd 0BA1iPH83HOy1sMND6/Ni1Z7Sxom8rFinmst X-Google-Smtp-Source: ABdhPJwBzECN+6M1B5XXFo25yI1f4GMp7XIs0FOy8Rc4n/1ktqYOhylobSsLblbt6H/HHfzkR8FS9w== X-Received: by 2002:a1c:e305:: with SMTP id a5mr5287479wmh.1.1589893170390; Tue, 19 May 2020 05:59:30 -0700 (PDT) Received: from localhost ([88.98.246.218]) by smtp.gmail.com with ESMTPSA id 128sm4213757wme.39.2020.05.19.05.59.29 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 19 May 2020 05:59:29 -0700 (PDT) From: luca.boccassi@gmail.com To: Stephen Hemminger Cc: Ferruh Yigit , dpdk stable Date: Tue, 19 May 2020 13:53:47 +0100 Message-Id: <20200519125804.104349-37-luca.boccassi@gmail.com> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20200519125804.104349-1-luca.boccassi@gmail.com> References: <20200519125804.104349-1-luca.boccassi@gmail.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: [dpdk-stable] patch 'ethdev: fix spelling' has been queued to stable release 19.11.3 X-BeenThere: stable@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches for DPDK stable branches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: stable-bounces@dpdk.org Sender: "stable" Hi, FYI, your patch has been queued to stable release 19.11.3 Note it hasn't been pushed to http://dpdk.org/browse/dpdk-stable yet. It will be pushed if I get no objections before 05/21/20. So please shout if anyone has objections. Also note that after the patch there's a diff of the upstream commit vs the patch applied to the branch. This will indicate if there was any rebasing needed to apply to the stable branch. If there were code changes for rebasing (ie: not only metadata diffs), please double check that the rebase was correctly done. Thanks. Luca Boccassi --- >From 6c1634ec93039559ff759969916e6ed52e02810b Mon Sep 17 00:00:00 2001 From: Stephen Hemminger Date: Tue, 10 Mar 2020 09:24:05 -0700 Subject: [PATCH] ethdev: fix spelling [ upstream commit 897358cc1e61e950b8e6a1755c6b998f697b0ab9 ] Minor spelling errors found by aspell and codespell Fixes: 1daa33805824 ("ethdev: validate offloads set by PMD") Fixes: 81f9db8ecc2c ("ethdev: add vlan offload support") Fixes: c8231c63ddcb ("ethdev: insert Rx callback as head of list") Signed-off-by: Stephen Hemminger Reviewed-by: Ferruh Yigit --- lib/librte_ethdev/rte_ethdev.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/lib/librte_ethdev/rte_ethdev.c b/lib/librte_ethdev/rte_ethdev.c index 9d62dc4360..c3657509c5 100644 --- a/lib/librte_ethdev/rte_ethdev.c +++ b/lib/librte_ethdev/rte_ethdev.c @@ -1166,14 +1166,14 @@ check_lro_pkt_size(uint16_t port_id, uint32_t config_size, /* * Validate offloads that are requested through rte_eth_dev_configure against - * the offloads successfuly set by the ethernet device. + * the offloads successfully set by the ethernet device. * * @param port_id * The port identifier of the Ethernet device. * @param req_offloads * The offloads that have been requested through `rte_eth_dev_configure`. * @param set_offloads - * The offloads successfuly set by the ethernet device. + * The offloads successfully set by the ethernet device. * @param offload_type * The offload type i.e. Rx/Tx string. * @param offload_name @@ -1202,7 +1202,7 @@ validate_offloads(uint16_t port_id, uint64_t req_offloads, ret = -EINVAL; } - /* Chech if offload couldn't be disabled. */ + /* Check if offload couldn't be disabled. */ if (offload & set_offloads) { RTE_ETHDEV_LOG(DEBUG, "Port %u %s offload %s is not requested but enabled\n", @@ -3263,7 +3263,7 @@ rte_eth_dev_set_vlan_offload(uint16_t port_id, int offload_mask) orig_offloads = dev->data->dev_conf.rxmode.offloads; dev_offloads = orig_offloads; - /*check which option changed by application*/ + /* check which option changed by application */ cur = !!(offload_mask & ETH_VLAN_STRIP_OFFLOAD); org = !!(dev_offloads & DEV_RX_OFFLOAD_VLAN_STRIP); if (cur != org) { @@ -4454,7 +4454,7 @@ rte_eth_add_first_rx_callback(uint16_t port_id, uint16_t queue_id, cb->param = user_param; rte_spinlock_lock(&rte_eth_rx_cb_lock); - /* Add the callbacks at fisrt position*/ + /* Add the callbacks at first position */ cb->next = rte_eth_devices[port_id].post_rx_burst_cbs[queue_id]; rte_smp_wmb(); rte_eth_devices[port_id].post_rx_burst_cbs[queue_id] = cb; -- 2.20.1 --- Diff of the applied patch vs upstream commit (please double-check if non-empty: --- --- - 2020-05-19 13:56:20.347120620 +0100 +++ 0037-ethdev-fix-spelling.patch 2020-05-19 13:56:18.235502107 +0100 @@ -1,14 +1,15 @@ -From 897358cc1e61e950b8e6a1755c6b998f697b0ab9 Mon Sep 17 00:00:00 2001 +From 6c1634ec93039559ff759969916e6ed52e02810b Mon Sep 17 00:00:00 2001 From: Stephen Hemminger Date: Tue, 10 Mar 2020 09:24:05 -0700 Subject: [PATCH] ethdev: fix spelling +[ upstream commit 897358cc1e61e950b8e6a1755c6b998f697b0ab9 ] + Minor spelling errors found by aspell and codespell Fixes: 1daa33805824 ("ethdev: validate offloads set by PMD") Fixes: 81f9db8ecc2c ("ethdev: add vlan offload support") Fixes: c8231c63ddcb ("ethdev: insert Rx callback as head of list") -Cc: stable@dpdk.org Signed-off-by: Stephen Hemminger Reviewed-by: Ferruh Yigit @@ -17,10 +18,10 @@ 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/lib/librte_ethdev/rte_ethdev.c b/lib/librte_ethdev/rte_ethdev.c -index 774c721b34..0854ef8832 100644 +index 9d62dc4360..c3657509c5 100644 --- a/lib/librte_ethdev/rte_ethdev.c +++ b/lib/librte_ethdev/rte_ethdev.c -@@ -1164,14 +1164,14 @@ check_lro_pkt_size(uint16_t port_id, uint32_t config_size, +@@ -1166,14 +1166,14 @@ check_lro_pkt_size(uint16_t port_id, uint32_t config_size, /* * Validate offloads that are requested through rte_eth_dev_configure against @@ -37,7 +38,7 @@ * @param offload_type * The offload type i.e. Rx/Tx string. * @param offload_name -@@ -1200,7 +1200,7 @@ validate_offloads(uint16_t port_id, uint64_t req_offloads, +@@ -1202,7 +1202,7 @@ validate_offloads(uint16_t port_id, uint64_t req_offloads, ret = -EINVAL; } @@ -46,7 +47,7 @@ if (offload & set_offloads) { RTE_ETHDEV_LOG(DEBUG, "Port %u %s offload %s is not requested but enabled\n", -@@ -3261,7 +3261,7 @@ rte_eth_dev_set_vlan_offload(uint16_t port_id, int offload_mask) +@@ -3263,7 +3263,7 @@ rte_eth_dev_set_vlan_offload(uint16_t port_id, int offload_mask) orig_offloads = dev->data->dev_conf.rxmode.offloads; dev_offloads = orig_offloads; @@ -55,7 +56,7 @@ cur = !!(offload_mask & ETH_VLAN_STRIP_OFFLOAD); org = !!(dev_offloads & DEV_RX_OFFLOAD_VLAN_STRIP); if (cur != org) { -@@ -4452,7 +4452,7 @@ rte_eth_add_first_rx_callback(uint16_t port_id, uint16_t queue_id, +@@ -4454,7 +4454,7 @@ rte_eth_add_first_rx_callback(uint16_t port_id, uint16_t queue_id, cb->param = user_param; rte_spinlock_lock(&rte_eth_rx_cb_lock);