Re: net/bnxt: wrong link status when lsc_intr is used

2023-02-08 Thread Edwin Brossette
Hello, Thank you for your quick answer. This was added long back in the driver code by this commit (as you can > see 6+ yrs old :)) , so I believe at the time the intent was to get > this link notification asynchronous > and 'lsc' I believe was for link state change? Please suggest an > alternat

Re: net/bnxt: wrong link status when lsc_intr is used

2023-02-06 Thread Somnath Kotur
On Mon, 6 Feb, 2023, 2:15 pm Edwin Brossette, wrote: > Hello, > > Thank you for your quick answer. > > This was added long back in the driver code by this commit (as you can >> see 6+ yrs old :)) , so I believe at the time the intent was to get >> this link notification asynchronous >> and 'lsc'

Re: net/bnxt: wrong link status when lsc_intr is used

2023-01-30 Thread Somnath Kotur
On Thu, Jan 19, 2023 at 7:07 PM Edwin Brossette wrote: > > Hello, > Hi Edwin, Thanks for reaching out, here's my attempt at answering your questions > I am trying to operate a Broadcom BCM57414 2x10G nic using dpdk bnxt pmd. I > use DPDK 22.11. > However, doing so I stumbled over a number of dif

net/bnxt: wrong link status when lsc_intr is used

2023-01-20 Thread Edwin Brossette
Hello, I am trying to operate a Broadcom BCM57414 2x10G nic using dpdk bnxt pmd. I use DPDK 22.11. However, doing so I stumbled over a number of different issues. Mainly, using the dpdk rte_eth library, I don't seem to be able to correctly poll the link status: I expect my nic has a problem using

Re: net/bnxt: wrong link status when lsc_intr is used

2023-01-19 Thread Ajit Khaparde
On Thu, Jan 19, 2023 at 5:37 AM Edwin Brossette wrote: > > Hello, > snip > I was wondering if patching the code to move this line which sets lsc > interrupt on somewhere else might be reasonable, or if this could cause > further trouble. Maybe having a parameter to trigger it ON/OFF m