From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-ua0-f180.google.com (mail-ua0-f180.google.com [209.85.217.180]) by dpdk.org (Postfix) with ESMTP id D02109958 for ; Thu, 17 Aug 2017 11:02:15 +0200 (CEST) Received: by mail-ua0-f180.google.com with SMTP id q25so22574831uah.1 for ; Thu, 17 Aug 2017 02:02:15 -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=EUqc0HwuWuWEl1vGppn6QBYowlY0NoD4PX41k/go0X8=; b=XJR3N3eugqgqWp0adZ2g3+owkT4YVampeT1vQDNMOlhETNNdJFD9/O/dqQUVxxnaLj BwZr4H6D7XUGhJQzPzrelHRKI3IvgAiiCROZOuAxi7Rla5hueOt7sqUFab13+rxn/L9C RUl6xggkkdn5iEBPBscE9vH/4EVR+C0P06LuV0deylL4IzNms75b+CmlWf2Ur/K5X4mj Y2ers6o0ceX51GGwcIWWw22VwtRIq2MY1Vf9dRhu5U7/ehGwGj8ERIi7uNOrsX8197uC p2xZZPI+d8t8jEp0G4I1pFHgUzw0gc1GOz5z62RmX69XHktgOqw3ZE00irhm+boR0Q0C GF5A== 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=EUqc0HwuWuWEl1vGppn6QBYowlY0NoD4PX41k/go0X8=; b=oiUbtmzxvFfa0d9e8NYNVZ8pnXDaFTPxRh0ofyjflNEn/4Kz5mJoc0desOnjzkNJWr cEdIk4c9/BufsfjFInIqnsbbDxJrAps7tPgxExNiaP+LKCC9z68dI8HhS+11m+pF/vHq 1RSSsq/GnsAASJ7kNFmTTxJJckHolM5vytXDRPBMnOW30d3iZhT7auruYBZvosgxotGP UWNdAitdrTVMNvekyHB9cGPggoKh3c6rbV004RYKQsVDX1YtoH29bNrtNxK4QuvHY65s a/+KmioT5Pb37bCIAzkKPA8n36Hwov7M8hJ03IicSTQkYkcEzStn5brorvefD8hO6vzF 2iGg== X-Gm-Message-State: AHYfb5iDB0OC6M1UU62G4PD6elLtqDMfwzITP7YSXTCzV0VWQG01ZSVI oDuYDHNn8Nvl7PxsmDrCchuURGJXZA== X-Received: by 10.159.50.40 with SMTP id x37mr2971626uad.207.1502960534884; Thu, 17 Aug 2017 02:02:14 -0700 (PDT) MIME-Version: 1.0 Received: by 10.103.138.71 with HTTP; Thu, 17 Aug 2017 02:02:14 -0700 (PDT) In-Reply-To: References: From: Krishna S Date: Thu, 17 Aug 2017 14:32:14 +0530 Message-ID: To: jing.d.chen@intel.com Cc: dev@dpdk.org, 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 09:02:16 -0000 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 ? > > > -- > Regards, > Krishna Sharma -- Regards, Krishna Sharma