LinuxKPI: ethtool.h add more definitions
authorBjoern A. Zeeb <bz@FreeBSD.org>
Sun, 30 Oct 2022 17:07:49 +0000 (17:07 +0000)
committerBjoern A. Zeeb <bz@FreeBSD.org>
Mon, 28 Nov 2022 17:25:58 +0000 (17:25 +0000)
commit1b91eba37b294fd191a9dc79a80f52495af9418d
treeb20307eb322e31ac1a1593bc9e7d16fcc8b65fa4
parent0fce2dc1573019d0732f33fa7c26cc228655d3e8
LinuxKPI: ethtool.h add more definitions

While we do not currently use ethtool, add the definitions to avoid
other longer-term maintenance problems with drivers.

Also migrate ETH_GSTRING_LEN into here from if_ether.h as it seems this
is where it belongs.

MFC after: 3 days
Differential Revision: https://reviews.freebsd.org/D37214
sys/compat/linuxkpi/common/include/linux/ethtool.h
sys/compat/linuxkpi/common/include/linux/if_ether.h