From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga09.intel.com (mga09.intel.com [134.134.136.24]) by dpdk.org (Postfix) with ESMTP id 48FD28DA1 for ; Wed, 14 Sep 2016 12:43:47 +0200 (CEST) Received: from fmsmga002.fm.intel.com ([10.253.24.26]) by orsmga102.jf.intel.com with ESMTP; 14 Sep 2016 03:43:46 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.30,333,1470726000"; d="scan'208";a="1055796251" Received: from fyigit-mobl1.ger.corp.intel.com (HELO [10.237.220.117]) ([10.237.220.117]) by fmsmga002.fm.intel.com with ESMTP; 14 Sep 2016 03:43:40 -0700 To: Nelio Laranjeiro , dev@dpdk.org References: <994cdb427701204461ea4f146f8dd240441648e7.1473230641.git.nelio.laranjeiro@6wind.com> Cc: Vasily Philipov From: Ferruh Yigit Message-ID: Date: Wed, 14 Sep 2016 11:43:35 +0100 User-Agent: Mozilla/5.0 (Windows NT 6.3; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.3.0 MIME-Version: 1.0 In-Reply-To: <994cdb427701204461ea4f146f8dd240441648e7.1473230641.git.nelio.laranjeiro@6wind.com> Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 8bit Subject: Re: [dpdk-dev] [PATCH 8/8] net/mlx5: fix inline logic 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, 14 Sep 2016 10:43:47 -0000 Hi Nelio, On 9/7/2016 8:02 AM, Nelio Laranjeiro wrote: > To improve performance the NIC expects for large packets to have a pointer > to a cache aligned address, old inline code could break this assumption > which hurts performance. > > Fixes: 2a66cf378954 ("net/mlx5: support inline send") > > Signed-off-by: Nelio Laranjeiro > Signed-off-by: Vasily Philipov > --- ... > @@ -607,8 +523,13 @@ mlx5_tx_burst(void *dpdk_txq, struct rte_mbuf **pkts, uint16_t pkts_n) > MLX5_ETH_WQE_L3_CSUM | > MLX5_ETH_WQE_L4_CSUM; > } else { > - wqe->wqe.eseg.cs_flags = 0; > + wqe->eseg.cs_flags = 0; This cause a compilation error, and looks like a typo: .../drivers/net/mlx5/mlx5_rxtx.c: In function ‘mlx5_tx_burst’: .../drivers/net/mlx5/mlx5_rxtx.c:526:7: error: ‘volatile union mlx5_wqe’ has no member named ‘eseg’ wqe->eseg.cs_flags = 0; ^~