#
5f1ab0d5 |
| 18-Jun-2024 |
Jiawen Wu <jiawenwu@trustnetic.com> |
net/ngbe: add WOL and NCSI capability
Support WOL and NCSI capability for devices. And there is one OEM NCSI NIC which can not be identified from sub-system ID, it needs to check NCSI pin status in
net/ngbe: add WOL and NCSI capability
Support WOL and NCSI capability for devices. And there is one OEM NCSI NIC which can not be identified from sub-system ID, it needs to check NCSI pin status in firmware.
Signed-off-by: Jiawen Wu <jiawenwu@trustnetic.com>
show more ...
|
#
55ff5045 |
| 28-Sep-2023 |
Jiawen Wu <jiawenwu@trustnetic.com> |
net/ngbe: prevent NIC from slowing down link speed
When the signal quality is bad, the internal PHY may slow down to 100M. Fix this weird behavior by setting dis fall 100M bit.
Fixes: 696a82117875
net/ngbe: prevent NIC from slowing down link speed
When the signal quality is bad, the internal PHY may slow down to 100M. Fix this weird behavior by setting dis fall 100M bit.
Fixes: 696a82117875 ("net/ngbe: redesign internal PHY init flow") Cc: stable@dpdk.org
Signed-off-by: Jiawen Wu <jiawenwu@trustnetic.com>
show more ...
|
#
21f702d5 |
| 14-Jun-2023 |
Jiawen Wu <jiawenwu@trustnetic.com> |
net/ngbe: fix link status in no LSC mode
When using no LSC mode, device link status is sometimes get incorrectly. Introduce hw->lsc to fix this issue.
Fixes: 3d0af7066759 ("net/ngbe: setup PHY link
net/ngbe: fix link status in no LSC mode
When using no LSC mode, device link status is sometimes get incorrectly. Introduce hw->lsc to fix this issue.
Fixes: 3d0af7066759 ("net/ngbe: setup PHY link") Fixes: 3518df5774c7 ("net/ngbe: support device start/stop") Cc: stable@dpdk.org
Signed-off-by: Jiawen Wu <jiawenwu@trustnetic.com>
show more ...
|
#
6f05dc6c |
| 14-Jun-2023 |
Jiawen Wu <jiawenwu@trustnetic.com> |
net/ngbe: adapt to MNG veto bit setting
In the new firmware, MNG veto bit is set by default for new features. It causes the PHY configuration not to be reset after LAN reset. So PHY power will be do
net/ngbe: adapt to MNG veto bit setting
In the new firmware, MNG veto bit is set by default for new features. It causes the PHY configuration not to be reset after LAN reset. So PHY power will be down after stopping device. The internal PHY then cannot be initialized successfully at device start.
Add setting power on for internal PHY to fix this issue.
Fixes: abea8974c7a6 ("net/ngbe: support link down/up") Cc: stable@dpdk.org
Signed-off-by: Jiawen Wu <jiawenwu@trustnetic.com>
show more ...
|
#
abea8974 |
| 02-Sep-2022 |
Jiawen Wu <jiawenwu@trustnetic.com> |
net/ngbe: support link down/up
Add support to set device link down/up.
Signed-off-by: Jiawen Wu <jiawenwu@trustnetic.com>
|
#
696a8211 |
| 30-May-2022 |
Jiawen Wu <jiawenwu@trustnetic.com> |
net/ngbe: redesign internal PHY init flow
Add to read efuse values from flash, and disable EEE to improve signal quality. Remove PHY semaphore to access PHY registers faster. And remove unnecessary
net/ngbe: redesign internal PHY init flow
Add to read efuse values from flash, and disable EEE to improve signal quality. Remove PHY semaphore to access PHY registers faster. And remove unnecessary page selection where quick access is required.
When rte_eth_link_get_nowait() is called frequently with LSC disabled by self-developed applications, eventually the PHY status register will be accessed frequently. It will cause internal PHY init failure, if they are done simultaneously. So there is a protection added for internal PHY init.
Fixes: 3518df5774c7 ("net/ngbe: support device start/stop") Fixes: 91bc12c5227c ("net/ngbe: optimize PHY initialization process") Cc: stable@dpdk.org
Signed-off-by: Jiawen Wu <jiawenwu@trustnetic.com>
show more ...
|
#
c811e6a4 |
| 23-Feb-2022 |
Jiawen Wu <jiawenwu@trustnetic.com> |
net/ngbe: fix debug logs
Remove 'DEBUGFUNC' due to too many invalid debug log prints, unify the DEBUG level macros.
Fixes: cc934df178ab ("net/ngbe: add log and error types") Cc: stable@dpdk.org
Si
net/ngbe: fix debug logs
Remove 'DEBUGFUNC' due to too many invalid debug log prints, unify the DEBUG level macros.
Fixes: cc934df178ab ("net/ngbe: add log and error types") Cc: stable@dpdk.org
Signed-off-by: Jiawen Wu <jiawenwu@trustnetic.com>
show more ...
|
#
fbd5ceb0 |
| 09-Feb-2022 |
Jiawen Wu <jiawenwu@trustnetic.com> |
net/ngbe: support OEM customized LED
Support to get OEM customized LED configuration information from firmware. And driver needs to adjust the process of PHY setup link, based on this LED configurat
net/ngbe: support OEM customized LED
Support to get OEM customized LED configuration information from firmware. And driver needs to adjust the process of PHY setup link, based on this LED configuration.
Signed-off-by: Jiawen Wu <jiawenwu@trustnetic.com>
show more ...
|
#
91bc12c5 |
| 09-Feb-2022 |
Jiawen Wu <jiawenwu@trustnetic.com> |
net/ngbe: optimize PHY initialization process
Reduce the probability of PHY init failure, And add its error return.
Signed-off-by: Jiawen Wu <jiawenwu@trustnetic.com>
|
#
f40e9f0e |
| 21-Oct-2021 |
Jiawen Wu <jiawenwu@trustnetic.com> |
net/ngbe: support flow control
Support to get and set flow control.
Signed-off-by: Jiawen Wu <jiawenwu@trustnetic.com>
|
#
3518df57 |
| 08-Jul-2021 |
Jiawen Wu <jiawenwu@trustnetic.com> |
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.
Si
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>
show more ...
|
#
3d0af706 |
| 08-Jul-2021 |
Jiawen Wu <jiawenwu@trustnetic.com> |
net/ngbe: setup PHY link
Setup PHY, determine link and speed status from PHY.
Signed-off-by: Jiawen Wu <jiawenwu@trustnetic.com>
|
#
44e97550 |
| 08-Jul-2021 |
Jiawen Wu <jiawenwu@trustnetic.com> |
net/ngbe: identify and reset PHY
Identify PHY to get the PHY type, and perform a PHY reset.
Signed-off-by: Jiawen Wu <jiawenwu@trustnetic.com>
|