From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wm0-f47.google.com (mail-wm0-f47.google.com [74.125.82.47]) by dpdk.org (Postfix) with ESMTP id 6C78F8E7D for ; Tue, 24 Nov 2015 14:43:51 +0100 (CET) Received: by wmww144 with SMTP id w144so139162801wmw.1 for ; Tue, 24 Nov 2015 05:43:51 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=6wind-com.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:organization:user-agent :in-reply-to:references:mime-version:content-transfer-encoding :content-type; bh=iIcQnyEwiv0Uac8J7xPCV0Uo4Ick+zQAGwMWYDa3LuU=; b=cWu2zVbtYtj2fyllO5e0r1T3JWkfX3relxRJKy+UZMXMu53MZs3+Qe4osTorWLtCOt PGK3biWiOOnQ6/0rah2dZ4H5AP3ZNEOZ6t+2RG7ZgepF8pkQEquVV4TYjWvoBgsrPRS2 n+KsASsI6P3kUrMj8AppUehmU690AIW7pJyKTs59w5AagzUp9cT+Sc24DTmy3n7PH34Y WYLeO0OubYQIauCb+zZTg4kc1yvkUQw6Lb8VjEl8ws1Xob2uWtb8fCxJ2zvSfjk2bUcB G4yuFJiNgD530POIA1fAnUP3XpNvHsn1Qg2Zk/4iXKyI1jH3kYtbC6IYiZjG0HxREvsy kQ0g== 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=iIcQnyEwiv0Uac8J7xPCV0Uo4Ick+zQAGwMWYDa3LuU=; b=OA8ePg/TaxaaaZmZbr5QApAU/Km8yQ0rxVCNTvYsU3B3Dk1GKnFIDBn9e5i2AIzlvQ eeiYWjct1kAgmOE4jirfaCW0eouaeMQQ1aX6EOCsKhMcPa9vEnpKYMVIkjTxCfebxl5x aFd1L4jvAA7KVX64jhNHAW5UHJ9leB9PAg2K/rY8FEYmH+veoMtCTXUi4dovobq+CL9o c/WRAiD9vkyJVZhN66Fvkr8lhGLVI5UDMZWm/MO/kJio+G2Ou7CUHpaGjIW+daT7Me6I SuZOAFeZXt2JOF5PXN9hR7ZnMwYn1pfrpSNYVczqIxS2ELoW64uUeaJ8p8htpbrOsDqv hZOw== X-Gm-Message-State: ALoCoQm8B8jDPtlyP3FqrHPfnxYViZxWkWySZwPUaB8f0sQfEDc/CeLDB8Xo5bg6FBLJ6InFAkvH X-Received: by 10.28.32.22 with SMTP id g22mr24308150wmg.43.1448372631289; Tue, 24 Nov 2015 05:43:51 -0800 (PST) Received: from xps13.localnet (136-92-190-109.dsl.ovh.fr. [109.190.92.136]) by smtp.gmail.com with ESMTPSA id m11sm18233324wma.5.2015.11.24.05.43.50 (version=TLSv1/SSLv3 cipher=OTHER); Tue, 24 Nov 2015 05:43:50 -0800 (PST) From: Thomas Monjalon To: Harish Patil , Rasesh Mody Date: Tue, 24 Nov 2015 14:42:33 +0100 Message-ID: <7399538.hXbaSMXxgP@xps13> Organization: 6WIND User-Agent: KMail/4.14.10 (Linux/4.1.6-1-ARCH; KDE/4.14.11; x86_64; ; ) In-Reply-To: <1446571576-28399-1-git-send-email-3chas3@gmail.com> References: <1446571576-28399-1-git-send-email-3chas3@gmail.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] bnx2x: tx_start_bd->vlan_or_ethertype is le16 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: Tue, 24 Nov 2015 13:43:51 -0000 Anyone to review please? 2015-11-03 12:26, Chas Williams: > Signed-off-by: Chas Williams <3chas3@gmail.com> > --- > drivers/net/bnx2x/bnx2x.c | 3 ++- > 1 file changed, 2 insertions(+), 1 deletion(-) > > diff --git a/drivers/net/bnx2x/bnx2x.c b/drivers/net/bnx2x/bnx2x.c > index fed7a06..76444eb 100644 > --- a/drivers/net/bnx2x/bnx2x.c > +++ b/drivers/net/bnx2x/bnx2x.c > @@ -2169,7 +2169,8 @@ int bnx2x_tx_encap(struct bnx2x_tx_queue *txq, struct rte_mbuf **m_head, int m_p > struct ether_hdr *eh > = rte_pktmbuf_mtod(m0, struct ether_hdr *); > > - tx_start_bd->vlan_or_ethertype = eh->ether_type; > + tx_start_bd->vlan_or_ethertype > + = rte_cpu_to_le_16(rte_be_to_cpu_16(eh->ether_type)); > } > }