From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wg0-f48.google.com (mail-wg0-f48.google.com [74.125.82.48]) by dpdk.org (Postfix) with ESMTP id 7123CB569 for ; Fri, 20 Feb 2015 11:53:42 +0100 (CET) Received: by mail-wg0-f48.google.com with SMTP id l18so12386464wgh.7 for ; Fri, 20 Feb 2015 02:53:42 -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=Lz3zuNrdrKmdKu0ZWaEBOH+fCMo9o7qc5OwAmose+Fo=; b=Wu/DMGI0uk3ZWsKiyGFuqqi/uMsd8nDnpZGZeoza+tSxYc3youry/XLTtq8Ug/5RXQ nvCARTt65daxccHbD0dlzvcRsyPKP7ZlPU7nSxicBtovLwRCYsNhocJPEFaF7zetK5fK T3CXY9cioPYWqjVFP/bl5NRAxd6J26RC8NxwNeKBdHBBlGdpxqwt2dz+HRmzBuyMv6C6 3nfO1Sg8j3uVco1NS1uNKy0J6vIoLnIUyTDykaeMj+sF8IU4AAwBPsfLqd0htUqQYC07 P6drYlslRuogqQfzJa2HyoYASxyO22pt1CHXj3vLYsk6oy3KGeQvNdjE7hfqydnH5Afp 1+Uw== X-Gm-Message-State: ALoCoQlLwIGidE4CKmwcn3MVUvZZJ0bYT+0Df0zvpChs5cpcKM3FgavV5SJdlO7rPNscquIKvExi X-Received: by 10.180.8.98 with SMTP id q2mr22504202wia.80.1424429622315; Fri, 20 Feb 2015 02:53:42 -0800 (PST) Received: from xps13.localnet (136-92-190-109.dsl.ovh.fr. [109.190.92.136]) by mx.google.com with ESMTPSA id nb9sm1853979wic.3.2015.02.20.02.53.41 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 20 Feb 2015 02:53:41 -0800 (PST) From: Thomas Monjalon To: xuelin.shi@freescale.com Date: Fri, 20 Feb 2015 11:53:12 +0100 Message-ID: <1592195.3rALyiQpdj@xps13> Organization: 6WIND User-Agent: KMail/4.14.4 (Linux/3.18.4-1-ARCH; KDE/4.14.4; x86_64; ; ) In-Reply-To: <1423703990-29031-1-git-send-email-xuelin.shi@freescale.com> References: <1423703990-29031-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] ixgbe: fix ixgbe 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:53:42 -0000 > ixgbe 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