From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from out4-smtp.messagingengine.com (out4-smtp.messagingengine.com [66.111.4.28]) by dpdk.org (Postfix) with ESMTP id 50F7F1B1B3 for ; Wed, 24 Jan 2018 16:42:26 +0100 (CET) Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.nyi.internal (Postfix) with ESMTP id 07FB92237D; Wed, 24 Jan 2018 10:42:26 -0500 (EST) Received: from frontend1 ([10.202.2.160]) by compute1.internal (MEProxy); Wed, 24 Jan 2018 10:42:26 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fridaylinux.org; h=cc:date:from:in-reply-to:message-id:references:subject:to :x-me-sender:x-me-sender:x-sasl-enc; s=fm1; bh=JQyvbZB2tFREe5Eur p4S91r1/rKzCq7ZZ5hCFhwYq/E=; b=av9Qsv0vjd+XK7t3j5jNhoOpFXckrd7Mv adYA9osQzyKl+lYJ4IoLWFd8jxolwWRfauWB+SclYxSLBVoeD16LAAdJz2RGLcMi 9fjj3YjKlGDvSpNXwa2eIBe7WWN/qPq/nUMpiYguqomLc7Yj43kdzvaAuVHmg3Gq s+DeIOsqzVLT7e34vQcM8HgnNdzZFJwgkjhXBZzh5Y6u9wwfbhgnyS5jlxzykeIM Gk3uxwaDgV5k/723GGjPVXx/iJLgy1K5B3YlElNiEy6V00EK+g42PPLfYthCi3SI fF/WbHNAwtTP5AXRpuOF3Eka76kphMW06e9kRYSTOFucrHXJ2iZnQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:date:from:in-reply-to:message-id :references:subject:to:x-me-sender:x-me-sender:x-sasl-enc; s= fm1; bh=JQyvbZB2tFREe5Eurp4S91r1/rKzCq7ZZ5hCFhwYq/E=; b=brl91VFP RQZVzBUK9go1ZMLjuEI6dsatSRRs3u+QSfGocmsFaySxsJwusLq/WEjDPu3LOkS1 nfuqE9gYqd6hWe/+d7ObJ6CdSQmCVkFiSzO/NO1oRdiUTvi9ln7miBBO8PwToCI3 tzQR1ehVC+TmGNkexZIfhfaRHhXYY4PaQaWTN4OLok8cYTy/FCPlRjQU1WK9bTB+ Mn/OX+RI5WppGwdJnzij836UJdqex1offj82m3jAltzpkqUWAlOoxgv00KYVV3o7 gfGSuaR6f/1C4Ykz9BaEdf4NUAB6j1iQa5F4u4Kjhs8kcEdt8zyFm7EofjRWKjpL UUCTMhC3Ol574w== X-ME-Sender: Received: from localhost.localdomain (unknown [115.150.27.206]) by mail.messagingengine.com (Postfix) with ESMTPA id E594A7E3D6; Wed, 24 Jan 2018 10:42:23 -0500 (EST) From: Yuanhan Liu To: =?UTF-8?q?N=C3=A9lio=20Laranjeiro?= Cc: Olivier Matz , dpdk stable Date: Wed, 24 Jan 2018 23:33:34 +0800 Message-Id: <1516808026-25523-146-git-send-email-yliu@fridaylinux.org> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1516808026-25523-1-git-send-email-yliu@fridaylinux.org> References: <1516808026-25523-1-git-send-email-yliu@fridaylinux.org> Subject: [dpdk-stable] patch 'net: fix ESP header byte ordering definition' has been queued to LTS release 17.11.1 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: , X-List-Received-Date: Wed, 24 Jan 2018 15:42:26 -0000 Hi, FYI, your patch has been queued to LTS release 17.11.1 Note it hasn't been pushed to http://dpdk.org/browse/dpdk-stable yet. It will be pushed if I get no objections before 01/26/18. So please shout if anyone has objections. Thanks. --yliu --- >>From 27368148b101723ad68ecdc097317dc7dba197ea Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?N=C3=A9lio=20Laranjeiro?= Date: Thu, 11 Jan 2018 10:15:58 +0100 Subject: [PATCH] net: fix ESP header byte ordering definition [ upstream commit 68bda436a35c0fcad1dcc86ea6559361f87f64d5 ] ESP header is defined in the RFC2406 [1] as Big Endian fields it should use the corresponding types in DPDK as well. [1] https://tools.ietf.org/html/rfc2406 Fixes: d4b684f7197a ("net: add ESP header to generic flow steering") Signed-off-by: Nelio Laranjeiro Acked-by: Olivier Matz --- lib/librte_net/rte_esp.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/librte_net/rte_esp.h b/lib/librte_net/rte_esp.h index e228af0..148c06e 100644 --- a/lib/librte_net/rte_esp.h +++ b/lib/librte_net/rte_esp.h @@ -49,8 +49,8 @@ extern "C" { * ESP Header */ struct esp_hdr { - uint32_t spi; /**< Security Parameters Index */ - uint32_t seq; /**< packet sequence number */ + rte_be32_t spi; /**< Security Parameters Index */ + rte_be32_t seq; /**< packet sequence number */ } __attribute__((__packed__)); #ifdef __cplusplus -- 2.7.4