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 9D314A057B; Mon, 30 Mar 2020 13:44:26 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 8EEB61C116; Mon, 30 Mar 2020 13:42:41 +0200 (CEST) Received: from mga14.intel.com (mga14.intel.com [192.55.52.115]) by dpdk.org (Postfix) with ESMTP id DFD712B8B; Mon, 30 Mar 2020 13:42:37 +0200 (CEST) IronPort-SDR: 1TGCCbTpgABm4v4xa3ZHAAQCsf03fgxoLkXmHWMYMyY73VnFrte/DsquyyfABjt/dPWTHXNA6b +tDwAE58cFXw== X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga006.fm.intel.com ([10.253.24.20]) by fmsmga103.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 30 Mar 2020 04:42:37 -0700 IronPort-SDR: YPmotwQsJMXoAwET9hTY3Pj9mzMgvrzQXGytxiSDmo5UfRZp6zWTPzm72miuFYZKS4BtSXXn2Y LyW2fj9y2Eyw== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.72,324,1580803200"; d="scan'208";a="449769924" Received: from dpdk51.sh.intel.com ([10.67.110.245]) by fmsmga006.fm.intel.com with ESMTP; 30 Mar 2020 04:42:35 -0700 From: Qi Zhang To: qiming.yang@intel.com Cc: xiaolong.ye@intel.com, dev@dpdk.org, Qi Zhang , stable@dpdk.org, Ting Xu , Paul M Stillwell Jr Date: Mon, 30 Mar 2020 19:45:37 +0800 Message-Id: <20200330114538.43275-16-qi.z.zhang@intel.com> X-Mailer: git-send-email 2.13.6 In-Reply-To: <20200330114538.43275-1-qi.z.zhang@intel.com> References: <20200330114538.43275-1-qi.z.zhang@intel.com> Subject: [dpdk-dev] [PATCH 15/16] net/ice/base: fix binary order for gtpu FDIR filter 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" Take network order for gtpu fdir filter. Fixes: b5c274f4e2ad ("net/ice/base: support FDIR for GTPU QFI field") Cc: stable@dpdk.org Signed-off-by: Ting Xu Signed-off-by: Paul M Stillwell Jr Signed-off-by: Qi Zhang --- drivers/net/ice/base/ice_fdir.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/net/ice/base/ice_fdir.h b/drivers/net/ice/base/ice_fdir.h index 21a83fd6c..e52104e9a 100644 --- a/drivers/net/ice/base/ice_fdir.h +++ b/drivers/net/ice/base/ice_fdir.h @@ -148,9 +148,9 @@ struct ice_fdir_v6 { struct ice_fdir_udp_gtp { u8 flags; u8 msg_type; - u16 rsrvd_len; - u32 teid; - u16 rsrvd_seq_nbr; + __be16 rsrvd_len; + __be32 teid; + __be16 rsrvd_seq_nbr; u8 rsrvd_n_pdu_nbr; u8 rsrvd_next_ext_type; u8 rsvrd_ext_len; -- 2.13.6