From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 8FFA6A0032; Tue, 25 Jan 2022 01:40:36 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 3F5CA411B8; Tue, 25 Jan 2022 01:40:35 +0100 (CET) Received: from mga09.intel.com (mga09.intel.com [134.134.136.24]) by mails.dpdk.org (Postfix) with ESMTP id 8A36D41186; Tue, 25 Jan 2022 01:40:33 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1643071234; x=1674607234; h=from:to:cc:subject:date:message-id:references: in-reply-to:content-transfer-encoding:mime-version; bh=252/0BAMJEUDRDcMXyf3NRXzVJCjUUNW+y/k40f6BTI=; b=aSTRXy0YKMjKCLvr2SWoTQWEmZOukXuRMpEEZOeSbPyG9abu/Z5x9RYv CRHcJE+aGGFmP3HOO5RSpZOQSI7PunNdcnGVBJEsFdmz8LJ4HppSOxQal Gv/OGHkWPEhSsCGlPAmrlT0981VP+oiHcI4SVIUoDoGDI7dufwM1JaCaK I3vHFgr20aAvuXoDiinZVh7Wp8ordY1vPkf+gzmBB8QG25m0CVqCF3P9X /zTIhe7Yrq9RqUP5q5DSMS1QR8gX7BsTLrGSAApd7B9Xe3eBSgyUzA0AE jWFrWW4K4HgPJ4QuFVpOzsrqLxBpNv5EeWZ1zCbFTcACBk9/rLjVsHcs4 w==; X-IronPort-AV: E=McAfee;i="6200,9189,10237"; a="245965996" X-IronPort-AV: E=Sophos;i="5.88,313,1635231600"; d="scan'208";a="245965996" Received: from orsmga003.jf.intel.com ([10.7.209.27]) by orsmga102.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 24 Jan 2022 16:40:30 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.88,313,1635231600"; d="scan'208";a="476915468" Received: from fmsmsx602.amr.corp.intel.com ([10.18.126.82]) by orsmga003.jf.intel.com with ESMTP; 24 Jan 2022 16:40:30 -0800 Received: from shsmsx603.ccr.corp.intel.com (10.109.6.143) by fmsmsx602.amr.corp.intel.com (10.18.126.82) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2308.20; Mon, 24 Jan 2022 16:40:30 -0800 Received: from shsmsx601.ccr.corp.intel.com (10.109.6.141) by SHSMSX603.ccr.corp.intel.com (10.109.6.143) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2308.20; Tue, 25 Jan 2022 08:40:28 +0800 Received: from shsmsx601.ccr.corp.intel.com ([10.109.6.141]) by SHSMSX601.ccr.corp.intel.com ([10.109.6.141]) with mapi id 15.01.2308.020; Tue, 25 Jan 2022 08:40:28 +0800 From: "Zhang, Qi Z" To: "Xu, Rosen" , "Huang, Wei" , "dev@dpdk.org" CC: "stable@dpdk.org" , "Zhang, Tianfei" , "Yigit, Ferruh" Subject: RE: [PATCH v1] raw/ifpga/base: fix SPI transaction Thread-Topic: [PATCH v1] raw/ifpga/base: fix SPI transaction Thread-Index: AQHYDNabsCp/1dErnkuuNIj6dwShK6xppQ2AgAlJdCA= Date: Tue, 25 Jan 2022 00:40:28 +0000 Message-ID: <273adf18c89049a1bb67c6b5bcddb9b7@intel.com> References: <20220119014459.3904-1-wei.huang@intel.com> In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: dlp-reaction: no-action dlp-version: 11.6.200.16 dlp-product: dlpe-windows x-originating-ip: [10.239.127.36] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org > -----Original Message----- > From: Xu, Rosen > Sent: Wednesday, January 19, 2022 6:51 PM > To: Huang, Wei ; dev@dpdk.org; Zhang, Qi Z > > Cc: stable@dpdk.org; Zhang, Tianfei ; Yigit, Fer= ruh > > Subject: RE: [PATCH v1] raw/ifpga/base: fix SPI transaction >=20 > Hi, >=20 > > -----Original Message----- > > From: Huang, Wei > > Sent: Wednesday, January 19, 2022 9:45 > > To: dev@dpdk.org; Xu, Rosen ; Zhang, Qi Z > > > > Cc: stable@dpdk.org; Zhang, Tianfei ; Yigit, > > Ferruh > > Subject: [PATCH v1] raw/ifpga/base: fix SPI transaction > > > > From: Tianfei Zhang > > > > When EOP is detected, 2 more bytes should be received (may be a > > SPI_PACKET_ESC before last valid byte) then rx should be finished. > > > > Fixes: 96ebfcf8 ("raw/ifpga/base: add SPI and MAX10 device driver") > > Cc: stable@dpdk.org > > > > Signed-off-by: Tianfei Zhang > Acked-by: Rosen Xu Applied to dpdk-next-net-intel. Thanks Qi