DPDK patches and discussions
 help / color / mirror / Atom feed
* [dpdk-dev] are these bypass api supported on Intel Bandon Beach card : of device id : 8086:155d
@ 2014-03-01 11:36 Sharath
  2014-03-03  6:13 ` Sharath
  0 siblings, 1 reply; 5+ messages in thread
From: Sharath @ 2014-03-01 11:36 UTC (permalink / raw)
  To: dev

Hi

we are using DPDK 1.5.1_7.
our PCI slot has Intel Bandon Beach NIC.


Can anyone please let me know, whether the below api's are supported in the
NIC type [8086:155d]

int rte_eth_dev_bypass_init (uint8_t port)

* int rte_eth_dev_bypass_state_show (uint8_t port, uint32_t _state)

* int rte_eth_dev_bypass_state_set (uint8_t port, uint32_t _new_state)

* int rte_eth_dev_bypass_event_show (uint8_t port, uint32_t event, uint32_t
_state)

* int rte_eth_dev_bypass_event_store (uint8_t port, uint32_t event,
uint32_t state)

* int rte_eth_dev_bypass_ver_show (uint8_t port, uint32_t _ver)

* int rte_eth_dev_bypass_wd_timeout_show (uint8_t port,


thanks
Sharath

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

* Re: [dpdk-dev] are these bypass api supported on Intel Bandon Beach card : of device id : 8086:155d
  2014-03-01 11:36 [dpdk-dev] are these bypass api supported on Intel Bandon Beach card : of device id : 8086:155d Sharath
@ 2014-03-03  6:13 ` Sharath
  2014-03-03 10:24   ` Ananyev, Konstantin
  0 siblings, 1 reply; 5+ messages in thread
From: Sharath @ 2014-03-03  6:13 UTC (permalink / raw)
  To: dev

can anyone please let me know about this...

thanks,
Sharath


On Sat, Mar 1, 2014 at 5:06 PM, Sharath <sharathjm.bharadwaj@gmail.com>wrote:

> Hi
>
> we are using DPDK 1.5.1_7.
> our PCI slot has Intel Bandon Beach NIC.
>
>
> Can anyone please let me know, whether the below api's are supported in
> the NIC type [8086:155d]
>
> int rte_eth_dev_bypass_init (uint8_t port)
>
> * int rte_eth_dev_bypass_state_show (uint8_t port, uint32_t _state)
>
> * int rte_eth_dev_bypass_state_set (uint8_t port, uint32_t _new_state)
>
> * int rte_eth_dev_bypass_event_show (uint8_t port, uint32_t event,
> uint32_t _state)
>
> * int rte_eth_dev_bypass_event_store (uint8_t port, uint32_t event,
> uint32_t state)
>
> * int rte_eth_dev_bypass_ver_show (uint8_t port, uint32_t _ver)
>
> * int rte_eth_dev_bypass_wd_timeout_show (uint8_t port,
>
>
> thanks
> Sharath
>

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

* Re: [dpdk-dev] are these bypass api supported on Intel Bandon Beach card : of device id : 8086:155d
  2014-03-03  6:13 ` Sharath
@ 2014-03-03 10:24   ` Ananyev, Konstantin
  2014-03-04  6:47     ` Sharath
  0 siblings, 1 reply; 5+ messages in thread
From: Ananyev, Konstantin @ 2014-03-03 10:24 UTC (permalink / raw)
  To: Sharath, dev

Hi,

Yes Bandon Beach should be supported starting from 1.5.1.
Though to enable it you need to set CONFIG_RTE_NIC_BYPASS=y in your config file.

Konstantin


-----Original Message-----
From: dev [mailto:dev-bounces@dpdk.org] On Behalf Of Sharath
Sent: Monday, March 03, 2014 6:13 AM
To: dev@dpdk.org
Subject: Re: [dpdk-dev] are these bypass api supported on Intel Bandon Beach card : of device id : 8086:155d

can anyone please let me know about this...

thanks,
Sharath


On Sat, Mar 1, 2014 at 5:06 PM, Sharath <sharathjm.bharadwaj@gmail.com>wrote:

> Hi
>
> we are using DPDK 1.5.1_7.
> our PCI slot has Intel Bandon Beach NIC.
>
>
> Can anyone please let me know, whether the below api's are supported 
> in the NIC type [8086:155d]
>
> int rte_eth_dev_bypass_init (uint8_t port)
>
> * int rte_eth_dev_bypass_state_show (uint8_t port, uint32_t _state)
>
> * int rte_eth_dev_bypass_state_set (uint8_t port, uint32_t _new_state)
>
> * int rte_eth_dev_bypass_event_show (uint8_t port, uint32_t event, 
> uint32_t _state)
>
> * int rte_eth_dev_bypass_event_store (uint8_t port, uint32_t event, 
> uint32_t state)
>
> * int rte_eth_dev_bypass_ver_show (uint8_t port, uint32_t _ver)
>
> * int rte_eth_dev_bypass_wd_timeout_show (uint8_t port,
>
>
> thanks
> Sharath
>

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

* Re: [dpdk-dev] are these bypass api supported on Intel Bandon Beach card : of device id : 8086:155d
  2014-03-03 10:24   ` Ananyev, Konstantin
@ 2014-03-04  6:47     ` Sharath
  2014-03-04 15:33       ` Ananyev, Konstantin
  0 siblings, 1 reply; 5+ messages in thread
From: Sharath @ 2014-03-04  6:47 UTC (permalink / raw)
  To: Ananyev, Konstantin; +Cc: dev

Thanks for the response Konstantin.

The macro is enabled in my setup.
The problem which I am facing now is, if I give time interval between the
bypass and normal state. it is not working

assume in the first run I will put the NIC into bypass
then leave for 5 min
later, in second run if I make the NIC into norm state using the same set
of API, the NIC is not coming to norm state.
the link state is showing as down.


Is there any restriction/any other setting required to work with these
api;s/

thanks,
Sharath


On Mon, Mar 3, 2014 at 3:54 PM, Ananyev, Konstantin <
konstantin.ananyev@intel.com> wrote:

> Hi,
>
> Yes Bandon Beach should be supported starting from 1.5.1.
> Though to enable it you need to set CONFIG_RTE_NIC_BYPASS=y in your config
> file.
>
> Konstantin
>
>
> -----Original Message-----
> From: dev [mailto:dev-bounces@dpdk.org] On Behalf Of Sharath
> Sent: Monday, March 03, 2014 6:13 AM
> To: dev@dpdk.org
> Subject: Re: [dpdk-dev] are these bypass api supported on Intel Bandon
> Beach card : of device id : 8086:155d
>
> can anyone please let me know about this...
>
> thanks,
> Sharath
>
>
> On Sat, Mar 1, 2014 at 5:06 PM, Sharath <sharathjm.bharadwaj@gmail.com
> >wrote:
>
> > Hi
> >
> > we are using DPDK 1.5.1_7.
> > our PCI slot has Intel Bandon Beach NIC.
> >
> >
> > Can anyone please let me know, whether the below api's are supported
> > in the NIC type [8086:155d]
> >
> > int rte_eth_dev_bypass_init (uint8_t port)
> >
> > * int rte_eth_dev_bypass_state_show (uint8_t port, uint32_t _state)
> >
> > * int rte_eth_dev_bypass_state_set (uint8_t port, uint32_t _new_state)
> >
> > * int rte_eth_dev_bypass_event_show (uint8_t port, uint32_t event,
> > uint32_t _state)
> >
> > * int rte_eth_dev_bypass_event_store (uint8_t port, uint32_t event,
> > uint32_t state)
> >
> > * int rte_eth_dev_bypass_ver_show (uint8_t port, uint32_t _ver)
> >
> > * int rte_eth_dev_bypass_wd_timeout_show (uint8_t port,
> >
> >
> > thanks
> > Sharath
> >
>

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

* Re: [dpdk-dev] are these bypass api supported on Intel Bandon Beach card : of device id : 8086:155d
  2014-03-04  6:47     ` Sharath
@ 2014-03-04 15:33       ` Ananyev, Konstantin
  0 siblings, 0 replies; 5+ messages in thread
From: Ananyev, Konstantin @ 2014-03-04 15:33 UTC (permalink / raw)
  To: Sharath; +Cc: dev

Hi Sharath,
About restrictions: the only one I can remember is that bypass API works only on port 0 of the NIC.  
For port 1 all bypass API functions would just fail.
About your particular problem - I wonder can you reproduce it with testpmd?
If yes, what particular commands did you use?
Thanks
Konstantin

From: Sharath [mailto:sharathjm.bharadwaj@gmail.com] 
Sent: Tuesday, March 04, 2014 6:47 AM
To: Ananyev, Konstantin
Cc: dev@dpdk.org
Subject: Re: [dpdk-dev] are these bypass api supported on Intel Bandon Beach card : of device id : 8086:155d

Thanks for the response Konstantin.
The macro is enabled in my setup.
The problem which I am facing now is, if I give time interval between the bypass and normal state. it is not working
assume in the first run I will put the NIC into bypass 
then leave for 5 min
later, in second run if I make the NIC into norm state using the same set of API, the NIC is not coming to norm state.
the link state is showing as down.

Is there any restriction/any other setting required to work with these api;s/
thanks,
Sharath

On Mon, Mar 3, 2014 at 3:54 PM, Ananyev, Konstantin <konstantin.ananyev@intel.com> wrote:
Hi,

Yes Bandon Beach should be supported starting from 1.5.1.
Though to enable it you need to set CONFIG_RTE_NIC_BYPASS=y in your config file.

Konstantin


-----Original Message-----
From: dev [mailto:dev-bounces@dpdk.org] On Behalf Of Sharath
Sent: Monday, March 03, 2014 6:13 AM
To: dev@dpdk.org
Subject: Re: [dpdk-dev] are these bypass api supported on Intel Bandon Beach card : of device id : 8086:155d

can anyone please let me know about this...

thanks,
Sharath


On Sat, Mar 1, 2014 at 5:06 PM, Sharath <sharathjm.bharadwaj@gmail.com>wrote:

> Hi
>
> we are using DPDK 1.5.1_7.
> our PCI slot has Intel Bandon Beach NIC.
>
>
> Can anyone please let me know, whether the below api's are supported
> in the NIC type [8086:155d]
>
> int rte_eth_dev_bypass_init (uint8_t port)
>
> * int rte_eth_dev_bypass_state_show (uint8_t port, uint32_t _state)
>
> * int rte_eth_dev_bypass_state_set (uint8_t port, uint32_t _new_state)
>
> * int rte_eth_dev_bypass_event_show (uint8_t port, uint32_t event,
> uint32_t _state)
>
> * int rte_eth_dev_bypass_event_store (uint8_t port, uint32_t event,
> uint32_t state)
>
> * int rte_eth_dev_bypass_ver_show (uint8_t port, uint32_t _ver)
>
> * int rte_eth_dev_bypass_wd_timeout_show (uint8_t port,
>
>
> thanks
> Sharath
>

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

end of thread, other threads:[~2014-03-04 15:33 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-03-01 11:36 [dpdk-dev] are these bypass api supported on Intel Bandon Beach card : of device id : 8086:155d Sharath
2014-03-03  6:13 ` Sharath
2014-03-03 10:24   ` Ananyev, Konstantin
2014-03-04  6:47     ` Sharath
2014-03-04 15:33       ` Ananyev, Konstantin

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).