add 10baseT1L mode to link mode tables
Subsystems (2)
PATCH 1/1 add 10baseT1L mode to link mode tables
Add recently added 10baseT1L/Full link mode to man page and ioctl and fallback code paths.
Signed-off-by Michal Kubecek <[email protected]>
--- ethtool.8.in | 1 + ethtool.c | 3 +++ netlink/settings.c | 1 + 3 files changed, 5 insertions(+)
ethtool.8.in +1 -0
@@ -776,6 +776,7 @@ nokeep; lB l lB. 0x001 10baseT Half 0x002 10baseT Full +0x100000000000000000000000 10baseT1L Full 0x004 100baseT Half 0x008 100baseT Full 0x80000000000000000 100baseT1 Full
ethtool.c +3 -0
@@ -475,6 +475,7 @@ static void init_global_link_mode_masks(void) ETHTOOL_LINK_MODE_400000baseCR4_Full_BIT, ETHTOOL_LINK_MODE_100baseFX_Half_BIT, ETHTOOL_LINK_MODE_100baseFX_Full_BIT, + ETHTOOL_LINK_MODE_10baseT1L_Full_BIT, };static const enum ethtool_link_mode_bit_indices additional_advertised_flags_bits[] = {
@@ -715,6 +716,8 @@ static void dump_link_caps(const char *prefix, const char *an_prefix, "100baseFX/Half" }, {1 , ETHTOOL_LINK_MODE_100baseFX_Full_BIT, "100baseFX/Full" }, + { 0, ETHTOOL_LINK_MODE_10baseT1L_Full_BIT, + "10baseT1L/Full" }, };int indent;int did1, new_line_pend;
netlink/settings.c +1 -0
@@ -164,6 +164,7 @@ static const struct link_mode_info link_modes[] = { [ETHTOOL_LINK_MODE_400000baseCR4_Full_BIT] = __REAL(400000), [ETHTOOL_LINK_MODE_100baseFX_Half_BIT] = __HALF_DUPLEX(100), [ETHTOOL_LINK_MODE_100baseFX_Full_BIT] = __REAL(100), + [ETHTOOL_LINK_MODE_10baseT1L_Full_BIT] = __REAL(10), };const unsigned int link_modes_count =ARRAY_SIZE (link_modes);
Signature · 1 line
2.38.0
This patch was applied to ethtool/ethtool.git (master) by Michal Kubecek <[email protected]>:
Hello:
This patch was applied to ethtool/ethtool.git (master) by Michal Kubecek <[email protected]>:
Quoted 9 lines · On Mon, 24 Oct 2022 17:28:55 +0200 (CEST) you wrote:
Add recently added 10baseT1L/Full link mode to man page and ioctl and fallback code paths.
Signed-off-by Michal Kubecek <[email protected]>--- ethtool.8.in | 1 + ethtool.c | 3 +++ netlink/settings.c | 1 + 3 files changed, 5 insertions(+)
Here is the summary with links:
- [ethtool] add 10baseT1L mode to link mode tables
https://git.kernel.org/pub/scm/network/ethtool/ethtool.git/commit/?id=1b7d16496cc8
You are awesome, thank you!
Signature · 2 lines
Deet-doot-dot, I am a bot. https://korg.docs.kernel.org/patchwork/pwbot.html