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 <jing.d.c...@intel.com> wrote:
> Some corretness.
>
>> -----Original Message-----
>> From: dev [mailto:dev-boun...@dpdk.org] On Behalf Of Chen, Jing D
>> Sent: Thursday, August 17, 2017 5:06 PM
>> To: Krishna S <k.shar...@gmail.com>
>> Cc: dev@dpdk.org; Wang, Xiao W <xiao.w.w...@intel.com>
>> Subject: Re: [dpdk-dev] eth_fm10k_dev_init failed as there is no Glort update
>>
>> Hi,
>>
>> > -----Original Message-----
>> > From: Krishna S [mailto:k.shar...@gmail.com]
>> > Sent: Thursday, August 17, 2017 5:02 PM
>> > To: Chen, Jing D <jing.d.c...@intel.com>
>> > Cc: dev@dpdk.org; Wang, Xiao W <xiao.w.w...@intel.com>
>> > 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 <k.shar...@gmail.com>
>> 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

Reply via email to