From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-vk0-f67.google.com (mail-vk0-f67.google.com [209.85.213.67]) by dpdk.org (Postfix) with ESMTP id 4DF369185 for ; Thu, 17 Aug 2017 12:33:26 +0200 (CEST) Received: by mail-vk0-f67.google.com with SMTP id g189so2607651vke.0 for ; Thu, 17 Aug 2017 03:33:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=9rS3PnVRIxsv3AVI6L187FenJJDMpsxnWOX2U6BA0AM=; b=tFvzTkRSsyr/RARfKW33HlqHcgN/+HiKYw4knu6zYxVX1eH3VxIBYT7iAB3UVs0HfW Zb7DWHLTi2S3YdnSXO5Of2rQFOXTus7aIqmZqroZhPd4/glT69L9ISKjnOqgu9Bg2Piz t0cTuhWfwzINcWgOECV8hxXypQPT+Va/tcDNzGthLf0T78eo+XkA0Qs8KY4i6dJ6t+On yrO9W1xukVzO10iBI1Dz9SsxQ+82HBpHM3+j+oKU0iJenVw9gjCfduEkkwb7EHhWKRmc K93oP7hlfb9DSJBzq+mDYDHSCF1Vp6ffrz2QJC9g+cbQzlzYh1JIyysTdHfBruDY9um9 l7GQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=9rS3PnVRIxsv3AVI6L187FenJJDMpsxnWOX2U6BA0AM=; b=FKbfhc5SCJBDlCbwCL+/XePhADHSOAbG1IiPleG6uuXAlaJHf3mQSyTUpxG71hRWMI t39JypLxH3tDUzodxkUbqCaUjLHwPENw3/AaC0B97otqBmeotHq6+Z4SDeBEZTRXbCmJ obQpwuIGY3xosV8DXgm4bF1MApTiIQe8yvvonyQ2r3x1hEExliNu1tBVfhuNsi6A7K2p CtJcXRLhxk6x65siqBrt+hVbDvTBm0Nq17Ak3Ncmm44j5ythftrPJgUtXqX/Yzt5ZrqH Mc2CkQf91Ipkhs0q7S6Egvo71/D+v7uPwL5U7YxgGI5Wopn+kEvCrkrUSYFr/lAPdIk9 Cwxw== X-Gm-Message-State: AHYfb5g9/vEwlHWXt84EUC/4/9yJTLwiYrU2VHp6beyRItPmyV/syW3+ WqsOOIS3dGZqu2L22rUwiQHzKAjfUA== X-Received: by 10.31.9.137 with SMTP id 131mr3189585vkj.142.1502966006114; Thu, 17 Aug 2017 03:33:26 -0700 (PDT) MIME-Version: 1.0 Received: by 10.103.138.71 with HTTP; Thu, 17 Aug 2017 03:33:25 -0700 (PDT) In-Reply-To: <4341B239C0EFF9468EE453F9E9F4604D3C69F4A0@shsmsx102.ccr.corp.intel.com> References: <4341B239C0EFF9468EE453F9E9F4604D3C69F459@shsmsx102.ccr.corp.intel.com> <4341B239C0EFF9468EE453F9E9F4604D3C69F4A0@shsmsx102.ccr.corp.intel.com> From: Krishna S Date: Thu, 17 Aug 2017 16:03:25 +0530 Message-ID: To: "Chen, Jing D" Cc: "dev@dpdk.org" , "Wang, Xiao W" Content-Type: text/plain; charset="UTF-8" X-Mailman-Approved-At: Fri, 18 Aug 2017 15:00:48 +0200 Subject: Re: [dpdk-dev] eth_fm10k_dev_init failed as there is no Glort update X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 17 Aug 2017 10:33:27 -0000 We are having kernel fm10k PF + fm10k VF driver. We are getting the update(glort updated) in all the cases in most of the times. But randomly, we are seeing this issue in one of VF initialisation. The frequency of issue is, say 1 in 20 times. On Thu, Aug 17, 2017 at 2:44 PM, Chen, Jing D wrote: > Some corretness. > >> -----Original Message----- >> From: dev [mailto:dev-bounces@dpdk.org] On Behalf Of Chen, Jing D >> Sent: Thursday, August 17, 2017 5:06 PM >> To: Krishna S >> Cc: dev@dpdk.org; Wang, Xiao W >> Subject: Re: [dpdk-dev] eth_fm10k_dev_init failed as there is no Glort update >> >> Hi, >> >> > -----Original Message----- >> > From: Krishna S [mailto:k.sharmaa@gmail.com] >> > Sent: Thursday, August 17, 2017 5:02 PM >> > To: Chen, Jing D >> > Cc: dev@dpdk.org; Wang, Xiao W >> > Subject: Re: eth_fm10k_dev_init failed as there is no Glort update >> > >> > Hi Everyone, >> > >> > Can anyone help me on this? >> > >> > Regards, >> > Krishna Sharma >> > >> > On Wed, Aug 16, 2017 at 7:24 PM, Krishna S >> wrote: >> > > Hi Cheng, >> > > >> > > I am working on a system which uses fm10k driver. >> > > >> > > In my system, I am hitting an error in eth_fm10k_dev_init(). >> > > >> > > We are waiting for VF to get GLoRT update message once >> > > update_lport_state(hw, hw->mac.dglort_map, 1, 1); is done. >> > > >> > > Check goes something like this. >> > > if (hw->mac.type == fm10k_mac_vf) { >> > > int glort_valid = 0; >> > > int i; >> > > >> > > for (i = 0; i < MAX_QUERY_GLORT_STATE_TIMES; i++) { >> > > glort_valid = fm10k_glort_valid(hw); >> > > if (glort_valid) { >> > > PMD_INIT_LOG(INFO, "GloRT update took ~%u ms!", >> > > (i * WAIT_GLORT_MSG_US/1000)); >> > > break; >> > > } >> > > >> > > But we are at times failing to get an update and so initialising fails. >> > > >> > > Could you kindly give pointers on what could be possible reasons why >> > > is there no update from PF ? >> >> DPDK doesn't support DPDK PF + DPDK VF case, only kernel PF + DPDK/kernel >> VF driver case. > > fm10k doesn't support DPDK fm10k PF + DPDK fm10k VF case, only kernel fm10k PF + DPDK/kernel > fm10k VF driver case. > >> >> > > >> > > >> > > -- >> > > Regards, >> > > Krishna Sharma >> > >> > >> > >> > -- >> > Regards, >> > Krishna Sharma -- Regards, Krishna Sharma