[dpdk-dev] [PATCH v7 14/19] net/ngbe: add device start and stop operations

2021-07-06 Thread Jiawen Wu
Setup MSI-X interrupt, complete PHY configuration and set device link speed to start device. Disable interrupt, stop hardware and clear queues to stop device. Signed-off-by: Jiawen Wu --- drivers/net/ngbe/base/ngbe_dummy.h | 16 + drivers/net/ngbe/base/ngbe_hw.c | 49 +++ drivers/net/ng

Re: [dpdk-dev] [PATCH v7 14/19] net/ngbe: add device start and stop operations

2021-07-07 Thread Andrew Rybchenko
On 7/6/21 12:55 PM, Jiawen Wu wrote: > Setup MSI-X interrupt, complete PHY configuration and set device link > speed to start device. Disable interrupt, stop hardware and clear queues > to stop device. > > Signed-off-by: Jiawen Wu WARNING:MSLEEP: msleep < 20ms can sleep for up to 20ms; see Docum

Re: [dpdk-dev] [PATCH v7 14/19] net/ngbe: add device start and stop operations

2021-07-07 Thread Jiawen Wu
On July 7, 2021 10:05 PM, Andrew Rybchenko wrote: > On 7/6/21 12:55 PM, Jiawen Wu wrote: > > Setup MSI-X interrupt, complete PHY configuration and set device link > > speed to start device. Disable interrupt, stop hardware and clear > > queues to stop device. > > > > Signed-off-by: Jiawen Wu > >

Re: [dpdk-dev] [PATCH v7 14/19] net/ngbe: add device start and stop operations

2021-07-08 Thread Andrew Rybchenko
On 7/8/21 9:09 AM, Jiawen Wu wrote: > On July 7, 2021 10:05 PM, Andrew Rybchenko wrote: >> On 7/6/21 12:55 PM, Jiawen Wu wrote: >>> Setup MSI-X interrupt, complete PHY configuration and set device link >>> speed to start device. Disable interrupt, stop hardware and clear >>> queues to stop device.

Re: [dpdk-dev] [PATCH v7 14/19] net/ngbe: add device start and stop operations

2021-07-08 Thread Jiawen Wu
On July 8, 2021 3:37 PM, Andrew Rybchenko wrote: > On 7/8/21 9:09 AM, Jiawen Wu wrote: > > On July 7, 2021 10:05 PM, Andrew Rybchenko wrote: > >> On 7/6/21 12:55 PM, Jiawen Wu wrote: > >>> Setup MSI-X interrupt, complete PHY configuration and set device > >>> link speed to start device. Disable int

Re: [dpdk-dev] [PATCH v7 14/19] net/ngbe: add device start and stop operations

2021-07-08 Thread Andrew Rybchenko
On 7/8/21 10:50 AM, Jiawen Wu wrote: > On July 8, 2021 3:37 PM, Andrew Rybchenko wrote: >> On 7/8/21 9:09 AM, Jiawen Wu wrote: >>> On July 7, 2021 10:05 PM, Andrew Rybchenko wrote: On 7/6/21 12:55 PM, Jiawen Wu wrote: > Setup MSI-X interrupt, complete PHY configuration and set device >