[dpdk-dev] [PATCH v7 14/19] net/ngbe: add device start and stop operations
Jiawen Wu
jiawenwu at trustnetic.com
Thu Jul 8 08:09:04 CEST 2021
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 <jiawenwu at trustnetic.com>
>
> WARNING:MSLEEP: msleep < 20ms can sleep for up to 20ms; see
> Documentation/timers/timers-howto.rst
> #242: FILE: drivers/net/ngbe/base/ngbe_phy_mvl.c:70:
> + msleep(1);
>
> Any comments?
>
This depends on the design of the hardware.
>
>
> CHECK:BRACES: Blank lines aren't necessary before a close brace '}'
> #1102: FILE: drivers/net/ngbe/ngbe_rxtx.c:531:
> +
> +}
>
> Above must be fixed.
>
> [snip]
More information about the dev
mailing list