]> www.infradead.org Git - users/jedix/linux-maple.git/commit
net: ethtool: Export the link_mode_params definitions
authorMaxime Chevallier <maxime.chevallier@bootlin.com>
Fri, 7 Mar 2025 17:35:58 +0000 (18:35 +0100)
committerPaolo Abeni <pabeni@redhat.com>
Tue, 18 Mar 2025 08:03:11 +0000 (09:03 +0100)
commit79f88a584e35133359c394506b351a60230cf37b
tree5d14a5103f0363cc90045e0ad514fa65877647ae
parent702e3fa16cd42ba712825e8d6171ea4755bc0491
net: ethtool: Export the link_mode_params definitions

link_mode_params contains a lookup table of all 802.3 link modes that
are currently supported with structured data about each mode's speed,
duplex, number of lanes and mediums.

As a preparation for a port representation, export that table for the
rest of the net stack to use.

Signed-off-by: Maxime Chevallier <maxime.chevallier@bootlin.com>
Link: https://patch.msgid.link/20250307173611.129125-2-maxime.chevallier@bootlin.com
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
include/linux/ethtool.h
net/ethtool/common.c
net/ethtool/common.h