From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga03.intel.com (mga03.intel.com [134.134.136.65]) by dpdk.org (Postfix) with ESMTP id E3841C54C for ; Wed, 29 Jul 2015 10:57:03 +0200 (CEST) Received: from orsmga003.jf.intel.com ([10.7.209.27]) by orsmga103.jf.intel.com with ESMTP; 29 Jul 2015 01:56:52 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.15,569,1432623600"; d="scan'208";a="615064318" Received: from irsmsx103.ger.corp.intel.com ([163.33.3.157]) by orsmga003.jf.intel.com with ESMTP; 29 Jul 2015 01:56:51 -0700 Received: from irsmsx156.ger.corp.intel.com (10.108.20.68) by IRSMSX103.ger.corp.intel.com (163.33.3.157) with Microsoft SMTP Server (TLS) id 14.3.224.2; Wed, 29 Jul 2015 09:56:50 +0100 Received: from irsmsx105.ger.corp.intel.com ([169.254.7.223]) by IRSMSX156.ger.corp.intel.com ([169.254.3.27]) with mapi id 14.03.0224.002; Wed, 29 Jul 2015 09:56:50 +0100 From: "Ananyev, Konstantin" To: "xuelin.shi@freescale.com" Thread-Topic: [PATCH v4] ixgbe: fix data access on big endian cpu. Thread-Index: AQHQydGxsNtBtMhEvESB/qLMP6Z2uZ3yJRRg Date: Wed, 29 Jul 2015 08:56:49 +0000 Message-ID: <2601191342CEEE43887BDE71AB97725836A69A6D@irsmsx105.ger.corp.intel.com> References: <1438151900-27849-1-git-send-email-xuelin.shi@freescale.com> In-Reply-To: <1438151900-27849-1-git-send-email-xuelin.shi@freescale.com> Accept-Language: en-IE, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [163.33.239.180] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Cc: "dev@dpdk.org" Subject: Re: [dpdk-dev] [PATCH v4] ixgbe: fix data access on big endian cpu. X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 29 Jul 2015 08:57:04 -0000 > -----Original Message----- > From: xuelin.shi@freescale.com [mailto:xuelin.shi@freescale.com] > Sent: Wednesday, July 29, 2015 7:38 AM > To: Ananyev, Konstantin > Cc: thomas.monjalon@6wind.com; dev@dpdk.org; Xuelin Shi > Subject: [PATCH v4] ixgbe: fix data access on big endian cpu. >=20 > From: Xuelin Shi >=20 > 1. cpu use data owned by ixgbe must use rte_le_to_cpu_xx(...) > 2. cpu fill data to ixgbe must use rte_cpu_to_le_xx(...) > 3. checking pci status with converted constant >=20 > Signed-off-by: Xuelin Shi Acked-by: Konstantin Ananyev > --- > changes for v4: > fix compiling error: cpu16 to cpu_16 > fix issues reported by checkpatch >=20 > drivers/net/ixgbe/ixgbe_rxtx.c | 78 ++++++++++++++++++++++++++++--------= ------ > 1 file changed, 52 insertions(+), 26 deletions(-) >=20