From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga01.intel.com (mga01.intel.com [192.55.52.88]) by dpdk.org (Postfix) with ESMTP id 73D6D2B98 for ; Tue, 18 Oct 2016 13:33:46 +0200 (CEST) Received: from orsmga005.jf.intel.com ([10.7.209.41]) by fmsmga101.fm.intel.com with ESMTP; 18 Oct 2016 04:33:45 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.31,361,1473145200"; d="scan'208";a="20849181" Received: from irsmsx152.ger.corp.intel.com ([163.33.192.66]) by orsmga005.jf.intel.com with ESMTP; 18 Oct 2016 04:33:44 -0700 Received: from irsmsx105.ger.corp.intel.com ([169.254.7.196]) by IRSMSX152.ger.corp.intel.com ([169.254.6.13]) with mapi id 14.03.0248.002; Tue, 18 Oct 2016 12:33:44 +0100 From: "Ananyev, Konstantin" To: "Zhang, Qi Z" , "Wu, Jingjing" , "Zhang, Helin" CC: "dev@dpdk.org" , "Zhang, Qi Z" Thread-Topic: [dpdk-dev] [PATCH v2 0/3] net: fix out of order Rx read issue Thread-Index: AQHSKN+GKF6Y+xnGwUS5ZkN8bOWwVKCuFLvg Date: Tue, 18 Oct 2016 11:33:43 +0000 Message-ID: <2601191342CEEE43887BDE71AB9772583F0C2B37@irsmsx105.ger.corp.intel.com> References: <1476728982-39985-1-git-send-email-qi.z.zhang@intel.com> In-Reply-To: <1476728982-39985-1-git-send-email-qi.z.zhang@intel.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.181] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Subject: Re: [dpdk-dev] [PATCH v2 0/3] net: fix out of order Rx read 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: Tue, 18 Oct 2016 11:33:46 -0000 >=20 > In vPMD, when load Rx desc with _mm_loadu_si128, > volatile point will be cast into non-volatile point. > So GCC is allowed to reorder the load instructions, > while Rx read's correctness is reply on these load > instructions to follow a backward sequence strictly, > so we add compile barrier to prevent compiler reorder. > We already met this issue on i40e with GCC6 and we > fixed this on ixgbe and fm10k also. >=20 > v2: > - fix check-git-log.sh warning. > - add more detail commit message. >=20 > Qi Zhang (3): > net/i40e: fix out of order Rx read issue > net/ixgbe: fix out of order Rx read issue > net/fm10k: fix out of ofder Rx read issue >=20 > drivers/net/fm10k/fm10k_rxtx_vec.c | 3 +++ > drivers/net/i40e/i40e_rxtx_vec.c | 3 +++ > drivers/net/ixgbe/ixgbe_rxtx_vec_sse.c | 3 +++ > 3 files changed, 9 insertions(+) >=20 > -- Acked-by: Konstantin Ananyev > 2.7.4