]> git.baikalelectronics.ru Git - kernel.git/commit
net: lan966x: add ethtool configuration and statistics
authorHoratiu Vultur <horatiu.vultur@microchip.com>
Mon, 29 Nov 2021 12:43:58 +0000 (13:43 +0100)
committerDavid S. Miller <davem@davemloft.net>
Mon, 29 Nov 2021 12:58:38 +0000 (12:58 +0000)
commit1f8224e1536b3001c977c3ba733358c0dabf2f00
tree26bb21a82310fa93a0b0bfabd2fa499bf78c9071
parent1f03925630aaf4b2b3637fc637bdab08b36d0513
net: lan966x: add ethtool configuration and statistics

This patch adds support for statistics counters for the network
interfaces. Also adds support for configuring the network interface via
ethtool like: speed, duplex etc.

Signed-off-by: Horatiu Vultur <horatiu.vultur@microchip.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/microchip/lan966x/Makefile
drivers/net/ethernet/microchip/lan966x/lan966x_ethtool.c [new file with mode: 0644]
drivers/net/ethernet/microchip/lan966x/lan966x_main.c
drivers/net/ethernet/microchip/lan966x/lan966x_main.h