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 0D80DA0093 for ; Tue, 19 May 2020 15:12:42 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 0616B1D738; Tue, 19 May 2020 15:12:42 +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 D1B861D738 for ; Tue, 19 May 2020 15:12:39 +0200 (CEST) Received: by mail-wm1-f65.google.com with SMTP id f13so2999069wmc.5 for ; Tue, 19 May 2020 06:12:39 -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=kmZc1gFH40YhJa+SJrUn1HN/y9LRPQe5UZKuXpjgZmI=; b=dg8l4uq3OmrbD0zfz1erz1kRdQlZ3RrzExTI5vkaNNRejgFcVN84i6wzGMRlPizESk xBPpvYstjsx5R6AUH4jqFqGiOEldkW5l5h5kdWIt+FUiQWu3q0ae60QIbV1H4C+RWFg3 tTP/rXNPuyWCrvQSzq/EWFeu8YhgMTwBYxkhlqkKdDGJ7ZCJFWW2HkA1NjberhAJ4LMg aHa5bUmcf7J7B7Ri6YhBq3/lShA1FJQ+QSz4N8syvmqFOkrHTi4F1YpvAngLYlF1qtLp AY+Cs/Es87/+Oi9iQVjmrZ7iABjB9RhDJc04HgUz1L+DGcqLTUVVcmM4DhPP9M2NvQUO n3LQ== 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=kmZc1gFH40YhJa+SJrUn1HN/y9LRPQe5UZKuXpjgZmI=; b=G6QG6O9JYEOwqudZFFnk8zfLSkRve0rT68EMaGqOj+bCC57ywGCo1tTFgGh3Xl6bPB Tzm9CYEJobbssxLz+ZDrEbrQNd+jl0Iz7m8JKcH2yBVGnC1N6fLr6IjhFJwxqKsOmp4t z+pnYqD2rXqo8sqP41a5UZhXnLngm7ww4yl48vliirLp5unYmCPQsm7e/rg3AXmIrN/0 N85nxo9261yotZdN6veM4mrs0jAaSVd21YP2LHIh9V89Cz33pu9rvINJjfDDtErNr0st jvxHi3PdIcCK4oeY34/ZuUQG7Y/Sbr537GhwtIqIb4cxahQREVehyUA+SJIowIlbx+i+ r43g== X-Gm-Message-State: AOAM532ut5Q/Y28Eh7mGjsuVg7moya51mD9tdeq4u2mA585ZvXJ+MBTb BiWzt50BL/ILucrVvBiHVV4= X-Google-Smtp-Source: ABdhPJw41ZCvjvLo+sBDyHf0RHCJaeQkeL/+8Oq6vdkeo30D77TK6L+dTuJUCzCYgPzw5Mn7+Oyqcw== X-Received: by 2002:a1c:a3c5:: with SMTP id m188mr5508115wme.160.1589893959571; Tue, 19 May 2020 06:12:39 -0700 (PDT) Received: from localhost ([88.98.246.218]) by smtp.gmail.com with ESMTPSA id s11sm20513126wrp.79.2020.05.19.06.12.38 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 19 May 2020 06:12:38 -0700 (PDT) From: luca.boccassi@gmail.com To: David Marchand Cc: Bruce Richardson , dpdk stable Date: Tue, 19 May 2020 14:04:25 +0100 Message-Id: <20200519130549.112823-130-luca.boccassi@gmail.com> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20200519130549.112823-1-luca.boccassi@gmail.com> References: <20200519125804.104349-1-luca.boccassi@gmail.com> <20200519130549.112823-1-luca.boccassi@gmail.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: [dpdk-stable] patch 'eal: fix typo in endian conversion macros' 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 daa2cd115ff17867873cb99b3caaa3a6d0a565ce Mon Sep 17 00:00:00 2001 From: David Marchand Date: Mon, 27 Apr 2020 15:23:40 +0200 Subject: [PATCH] eal: fix typo in endian conversion macros [ upstream commit a3e283ed904c3a15971f58525b09e4e5d5e323a9 ] Caught by code inspection, for little endian, RTE_LEXX macros should provide rte_leXX_t type values. Fixes: b75667ef9f7e ("eal: add static endianness conversion macros") Signed-off-by: David Marchand Reviewed-by: Bruce Richardson --- lib/librte_eal/common/include/generic/rte_byteorder.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/librte_eal/common/include/generic/rte_byteorder.h b/lib/librte_eal/common/include/generic/rte_byteorder.h index 38e8cfd32b..9ca960932f 100644 --- a/lib/librte_eal/common/include/generic/rte_byteorder.h +++ b/lib/librte_eal/common/include/generic/rte_byteorder.h @@ -93,9 +93,9 @@ #define RTE_BE16(v) (rte_be16_t)(RTE_STATIC_BSWAP16(v)) #define RTE_BE32(v) (rte_be32_t)(RTE_STATIC_BSWAP32(v)) #define RTE_BE64(v) (rte_be64_t)(RTE_STATIC_BSWAP64(v)) -#define RTE_LE16(v) (rte_be16_t)(v) -#define RTE_LE32(v) (rte_be32_t)(v) -#define RTE_LE64(v) (rte_be64_t)(v) +#define RTE_LE16(v) (rte_le16_t)(v) +#define RTE_LE32(v) (rte_le32_t)(v) +#define RTE_LE64(v) (rte_le64_t)(v) #else #error Unsupported endianness. #endif -- 2.20.1 --- Diff of the applied patch vs upstream commit (please double-check if non-empty: --- --- - 2020-05-19 14:04:49.763579771 +0100 +++ 0130-eal-fix-typo-in-endian-conversion-macros.patch 2020-05-19 14:04:44.440652433 +0100 @@ -1,24 +1,25 @@ -From a3e283ed904c3a15971f58525b09e4e5d5e323a9 Mon Sep 17 00:00:00 2001 +From daa2cd115ff17867873cb99b3caaa3a6d0a565ce Mon Sep 17 00:00:00 2001 From: David Marchand Date: Mon, 27 Apr 2020 15:23:40 +0200 Subject: [PATCH] eal: fix typo in endian conversion macros +[ upstream commit a3e283ed904c3a15971f58525b09e4e5d5e323a9 ] + Caught by code inspection, for little endian, RTE_LEXX macros should provide rte_leXX_t type values. Fixes: b75667ef9f7e ("eal: add static endianness conversion macros") -Cc: stable@dpdk.org Signed-off-by: David Marchand Reviewed-by: Bruce Richardson --- - lib/librte_eal/include/generic/rte_byteorder.h | 6 +++--- + lib/librte_eal/common/include/generic/rte_byteorder.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) -diff --git a/lib/librte_eal/include/generic/rte_byteorder.h b/lib/librte_eal/include/generic/rte_byteorder.h +diff --git a/lib/librte_eal/common/include/generic/rte_byteorder.h b/lib/librte_eal/common/include/generic/rte_byteorder.h index 38e8cfd32b..9ca960932f 100644 ---- a/lib/librte_eal/include/generic/rte_byteorder.h -+++ b/lib/librte_eal/include/generic/rte_byteorder.h +--- a/lib/librte_eal/common/include/generic/rte_byteorder.h ++++ b/lib/librte_eal/common/include/generic/rte_byteorder.h @@ -93,9 +93,9 @@ #define RTE_BE16(v) (rte_be16_t)(RTE_STATIC_BSWAP16(v)) #define RTE_BE32(v) (rte_be32_t)(RTE_STATIC_BSWAP32(v))