DPDK patches and discussions
 help / color / mirror / Atom feed
* [dpdk-dev] eth_fm10k_dev_init failed as there is no Glort update
@ 2017-08-16 13:54 Krishna S
  2017-08-17  9:02 ` Krishna S
  0 siblings, 1 reply; 6+ messages in thread
From: Krishna S @ 2017-08-16 13:54 UTC (permalink / raw)
  To: jing.d.chen; +Cc: dev, Xiao W

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

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [dpdk-dev] eth_fm10k_dev_init failed as there is no Glort update
  2017-08-16 13:54 [dpdk-dev] eth_fm10k_dev_init failed as there is no Glort update Krishna S
@ 2017-08-17  9:02 ` Krishna S
  2017-08-17  9:05   ` Chen, Jing D
  0 siblings, 1 reply; 6+ messages in thread
From: Krishna S @ 2017-08-17  9:02 UTC (permalink / raw)
  To: jing.d.chen; +Cc: dev, Xiao W

Hi Everyone,

Can anyone help me on this?

Regards,
Krishna Sharma

On Wed, Aug 16, 2017 at 7:24 PM, Krishna S <k.sharmaa@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 ?
>
>
> --
> Regards,
> Krishna Sharma



-- 
Regards,
Krishna Sharma

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [dpdk-dev] eth_fm10k_dev_init failed as there is no Glort update
  2017-08-17  9:02 ` Krishna S
@ 2017-08-17  9:05   ` Chen, Jing D
  2017-08-17  9:14     ` Chen, Jing D
  0 siblings, 1 reply; 6+ messages in thread
From: Chen, Jing D @ 2017-08-17  9:05 UTC (permalink / raw)
  To: Krishna S; +Cc: dev, Wang, Xiao W

Hi,

> -----Original Message-----
> From: Krishna S [mailto:k.sharmaa@gmail.com]
> Sent: Thursday, August 17, 2017 5:02 PM
> To: Chen, Jing D <jing.d.chen@intel.com>
> Cc: dev@dpdk.org; Wang, Xiao W <xiao.w.wang@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.sharmaa@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.

> >
> >
> > --
> > Regards,
> > Krishna Sharma
> 
> 
> 
> --
> Regards,
> Krishna Sharma

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [dpdk-dev] eth_fm10k_dev_init failed as there is no Glort update
  2017-08-17  9:05   ` Chen, Jing D
@ 2017-08-17  9:14     ` Chen, Jing D
  2017-08-17 10:33       ` Krishna S
  0 siblings, 1 reply; 6+ messages in thread
From: Chen, Jing D @ 2017-08-17  9:14 UTC (permalink / raw)
  To: Krishna S; +Cc: dev, Wang, Xiao W

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 <k.sharmaa@gmail.com>
> Cc: dev@dpdk.org; Wang, Xiao W <xiao.w.wang@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.sharmaa@gmail.com]
> > Sent: Thursday, August 17, 2017 5:02 PM
> > To: Chen, Jing D <jing.d.chen@intel.com>
> > Cc: dev@dpdk.org; Wang, Xiao W <xiao.w.wang@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.sharmaa@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

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [dpdk-dev] eth_fm10k_dev_init failed as there is no Glort update
  2017-08-17  9:14     ` Chen, Jing D
@ 2017-08-17 10:33       ` Krishna S
  2017-08-18  8:50         ` Chen, Jing D
  0 siblings, 1 reply; 6+ messages in thread
From: Krishna S @ 2017-08-17 10:33 UTC (permalink / raw)
  To: Chen, Jing D; +Cc: dev, Wang, Xiao W

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.chen@intel.com> 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 <k.sharmaa@gmail.com>
>> Cc: dev@dpdk.org; Wang, Xiao W <xiao.w.wang@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.sharmaa@gmail.com]
>> > Sent: Thursday, August 17, 2017 5:02 PM
>> > To: Chen, Jing D <jing.d.chen@intel.com>
>> > Cc: dev@dpdk.org; Wang, Xiao W <xiao.w.wang@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.sharmaa@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

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [dpdk-dev] eth_fm10k_dev_init failed as there is no Glort update
  2017-08-17 10:33       ` Krishna S
@ 2017-08-18  8:50         ` Chen, Jing D
  0 siblings, 0 replies; 6+ messages in thread
From: Chen, Jing D @ 2017-08-18  8:50 UTC (permalink / raw)
  To: Krishna S; +Cc: dev, Wang, Xiao W



> -----Original Message-----
> From: Krishna S [mailto:k.sharmaa@gmail.com]
> Sent: Thursday, August 17, 2017 6:33 PM
> To: Chen, Jing D <jing.d.chen@intel.com>
> Cc: dev@dpdk.org; Wang, Xiao W <xiao.w.wang@intel.com>
> Subject: Re: eth_fm10k_dev_init failed as there is no Glort update
> 
> 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.

This is DPDK community, kernel driver is not in the scope.
Please turn to kernel community or ask local technical support from Intel.
 
> 
> 
> On Thu, Aug 17, 2017 at 2:44 PM, Chen, Jing D <jing.d.chen@intel.com>
> 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 <k.sharmaa@gmail.com>
> >> Cc: dev@dpdk.org; Wang, Xiao W <xiao.w.wang@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.sharmaa@gmail.com]
> >> > Sent: Thursday, August 17, 2017 5:02 PM
> >> > To: Chen, Jing D <jing.d.chen@intel.com>
> >> > Cc: dev@dpdk.org; Wang, Xiao W <xiao.w.wang@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.sharmaa@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

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2017-08-18  8:51 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-08-16 13:54 [dpdk-dev] eth_fm10k_dev_init failed as there is no Glort update Krishna S
2017-08-17  9:02 ` Krishna S
2017-08-17  9:05   ` Chen, Jing D
2017-08-17  9:14     ` Chen, Jing D
2017-08-17 10:33       ` Krishna S
2017-08-18  8:50         ` Chen, Jing D

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).