From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wg0-f54.google.com (mail-wg0-f54.google.com [74.125.82.54]) by dpdk.org (Postfix) with ESMTP id 572D1B569 for ; Fri, 20 Feb 2015 11:47:14 +0100 (CET) Received: by mail-wg0-f54.google.com with SMTP id y19so12273173wgg.13 for ; Fri, 20 Feb 2015 02:47:14 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:organization :user-agent:in-reply-to:references:mime-version :content-transfer-encoding:content-type; bh=xf9vU8Mbba1Cls8AbFOPtGb+Ga9eZ/yb0g6aREJ6O0I=; b=EhdRZyIGtcpLvowIoqRccVpIZoMLEY1B89+HHk2YoIPAluYZdorOBdPTA3dyRWKd/x Crm3+JceYNChGtD4D1aTdOeX8RX4Y0JWyZ8yAIJz588g9SYIMaF0Ii2gI5I0jz2Da5Wt GOg/iKsnJpBJMbfOWjkbWjK6jF7AwEx9/lYYkuqmjxmOXMryeYLhPUrTyxI7VlE8fngY mt4y23JliFIOG5mOvPIoybQo7YiCsXQydkbIMhXPtHBddrR2QRmawASoIAofo6aH3uib IqPfllwhg3lMUfgf45I7R0pIa2nZ8+2Tw4LUiTTExGHJw+0KEJJQoEL3aYhhKudG6RfN tv7g== X-Gm-Message-State: ALoCoQmpcHH5dBdEMEuZ2X0Z0z0I677o0R2NhJsAneM2SowLAnPd8dvkhw797tPFMY4tjfQeSR/K X-Received: by 10.180.87.33 with SMTP id u1mr4271972wiz.20.1424429234082; Fri, 20 Feb 2015 02:47:14 -0800 (PST) Received: from xps13.localnet (136-92-190-109.dsl.ovh.fr. [109.190.92.136]) by mx.google.com with ESMTPSA id n1sm1805816wib.11.2015.02.20.02.47.12 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 20 Feb 2015 02:47:13 -0800 (PST) From: Thomas Monjalon To: xuelin.shi@freescale.com Date: Fri, 20 Feb 2015 11:46:43 +0100 Message-ID: <3360156.BJeU4puHI5@xps13> Organization: 6WIND User-Agent: KMail/4.14.4 (Linux/3.18.4-1-ARCH; KDE/4.14.4; x86_64; ; ) In-Reply-To: <1423704412-29143-1-git-send-email-xuelin.shi@freescale.com> References: <1423704412-29143-1-git-send-email-xuelin.shi@freescale.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Cc: dev@dpdk.org Subject: Re: [dpdk-dev] [PATCH] e1000: fix e1000 PCI access endian issue. 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: Fri, 20 Feb 2015 10:47:14 -0000 > e1000 is little endian, but cpu maybe not. > add necessary conversions. > > rte_cpu_to_le_32(...) for PCI write > rte_le_to_cpu_32(...) for PCI read. > > Signed-off-by: Xuelin Shi Acked-by: Thomas Monjalon Applied, thanks