Project

General

Profile

Actions

Feature #15452

closed

bge MAC_PROP_MEDIA support

Added by Robert Mustacchi over 1 year ago. Updated about 1 year ago.

Status:
Closed
Priority:
Normal
Category:
driver - device drivers
Start date:
Due date:
% Done:

100%

Estimated time:
Difficulty:
Medium
Tags:
Gerrit CR:
External Bug:

Description

This covers adding support for the IPD 39 MAC_PROP_MEDIA to bge.


Related issues

Related to illumos gate - Feature #15442: Want datalink media observabilityClosedRobert Mustacchi

Actions
Actions #1

Updated by Robert Mustacchi over 1 year ago

Actions #2

Updated by Electric Monk over 1 year ago

  • Gerrit CR set to 2692
Actions #3

Updated by Robert Mustacchi about 1 year ago

I tested this on a system with on-board BCM 5720. I started by disabling 100 Mbit and 1 Gbit half and full duplex so we were at 10 Mbit and then did the following:

rm@gilgamesh ~ $ dladm show-linkprop -p state,duplex,media bge0
LINK         PROPERTY        PERM VALUE          DEFAULT        POSSIBLE
bge0         state           r-   up             up             up,down 
bge0         duplex          r-   full           full           half,full 
bge0         media           r-   10BASE-T       --             -- 
rm@gilgamesh ~ $ pfexec dladm set-linkprop -t -p en_100fdx_cap=1 bge0
rm@gilgamesh ~ $ dladm show-linkprop -p state,duplex,media bge0
LINK         PROPERTY        PERM VALUE          DEFAULT        POSSIBLE
bge0         state           r-   up             up             up,down 
bge0         duplex          r-   full           full           half,full 
bge0         media           r-   100BASE-TX     --             -- 
rm@gilgamesh ~ $ pfexec dladm set-linkprop -t -p en_1000fdx_cap=1 bge0
rm@gilgamesh ~ $ dladm show-linkprop -p state,duplex,media bge0
LINK         PROPERTY        PERM VALUE          DEFAULT        POSSIBLE
bge0         state           r-   up             up             up,down 
bge0         duplex          r-   full           full           half,full 
bge0         media           r-   1000BASE-T     --             -- 
Actions #4

Updated by Electric Monk about 1 year ago

  • Status changed from New to Closed
  • % Done changed from 0 to 100

git commit 87a491930faa77fccf5d96df3ea59b58b990d563

commit  87a491930faa77fccf5d96df3ea59b58b990d563
Author: Robert Mustacchi <rm@fingolfin.org>
Date:   2023-06-12T15:57:58.000Z

    15452 bge MAC_PROP_MEDIA support
    Reviewed by: Andy Fiddaman <illumos@fiddaman.net>
    Approved by: Dan McDonald <danmcd@mnx.io>

Actions

Also available in: Atom PDF