net/ngbe: support device start/stop
authorJiawen Wu <jiawenwu@trustnetic.com>
Thu, 8 Jul 2021 09:32:34 +0000 (17:32 +0800)
committerAndrew Rybchenko <Andrew.Rybchenko@oktetlabs.ru>
Mon, 12 Jul 2021 15:55:22 +0000 (17:55 +0200)
commit3518df5774c759b407056a835ac5989175e3e92a
tree7d2d87fbe04285d44354cc447925e41295677567
parenta58e7c312c6b25d6440060f01917b83320207617
net/ngbe: support device start/stop

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@trustnetic.com>
14 files changed:
drivers/net/ngbe/base/ngbe_dummy.h
drivers/net/ngbe/base/ngbe_hw.c
drivers/net/ngbe/base/ngbe_hw.h
drivers/net/ngbe/base/ngbe_phy.c
drivers/net/ngbe/base/ngbe_phy_mvl.c
drivers/net/ngbe/base/ngbe_phy_mvl.h
drivers/net/ngbe/base/ngbe_phy_rtl.c
drivers/net/ngbe/base/ngbe_phy_rtl.h
drivers/net/ngbe/base/ngbe_phy_yt.c
drivers/net/ngbe/base/ngbe_phy_yt.h
drivers/net/ngbe/base/ngbe_type.h
drivers/net/ngbe/ngbe_ethdev.c
drivers/net/ngbe/ngbe_ethdev.h
drivers/net/ngbe/ngbe_rxtx.c