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.bharad...@gmail.com] Sent: Tuesday, March 04, 2014 6:47 AM To: Ananyev, Konstantin Cc: dev at 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 at 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-boun...@dpdk.org] On Behalf Of Sharath Sent: Monday, March 03, 2014 6:13 AM To: dev at 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 at 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 >