net/txgbe: handle AN interrupt and link update
authorJiawen Wu <jiawenwu@trustnetic.com>
Mon, 29 Mar 2021 03:17:23 +0000 (11:17 +0800)
committerFerruh Yigit <ferruh.yigit@intel.com>
Mon, 29 Mar 2021 15:49:34 +0000 (17:49 +0200)
commit82650948e86af65f031fb41295298669b32ce07c
tree5e2299a43404830e1ce9bb772203728d77421dfa
parent42183ae88709f111180ad55bd131c759ef3a2d3b
net/txgbe: handle AN interrupt and link update

Read AN interrupt from misc, and do the AN configuration action.
When link status is down, PHY power should be restarted to config KR
mode again.

Signed-off-by: Jiawen Wu <jiawenwu@trustnetic.com>
drivers/net/txgbe/base/txgbe_hw.c
drivers/net/txgbe/base/txgbe_phy.c
drivers/net/txgbe/base/txgbe_phy.h
drivers/net/txgbe/base/txgbe_type.h
drivers/net/txgbe/txgbe_ethdev.c
drivers/net/txgbe/txgbe_ethdev.h