rtase: Implement ethtool function
authorJustin Lai <justinlai0215@realtek.com>
Wed, 4 Sep 2024 03:21:11 +0000 (11:21 +0800)
committerJakub Kicinski <kuba@kernel.org>
Fri, 6 Sep 2024 05:02:38 +0000 (22:02 -0700)
commitdd7f17c40fd1cec1db2b8e693832a5ce852433ba
treed8fa707fe5a2230876ca5609199b60bf0b6c30d3
parenta25a0b070c5160b44707fa1dfbf32d3d84e4224f
rtase: Implement ethtool function

Implement the ethtool function to support users to obtain network card
information, including obtaining various device settings, Report whether
physical link is up, Report pause parameters, Set pause parameters,
Return extended statistics about the device.

Signed-off-by: Justin Lai <justinlai0215@realtek.com>
Link: https://patch.msgid.link/20240904032114.247117-11-justinlai0215@realtek.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/ethernet/realtek/rtase/rtase_main.c