Changeset View
Changeset View
Standalone View
Standalone View
sys/dev/ice/ice_lib.c
- This file is larger than 256 KB, so syntax highlighting is disabled by default.
Show First 20 Lines • Show All 6,936 Lines • ▼ Show 20 Lines | ice_link_up_msg(struct ice_softc *sc) | ||||
speed = ice_aq_speed_to_str(hw->port_info); | speed = ice_aq_speed_to_str(hw->port_info); | ||||
req_fec = ice_requested_fec_mode(hw->port_info); | req_fec = ice_requested_fec_mode(hw->port_info); | ||||
neg_fec = ice_negotiated_fec_mode(hw->port_info); | neg_fec = ice_negotiated_fec_mode(hw->port_info); | ||||
autoneg = ice_autoneg_mode(hw->port_info); | autoneg = ice_autoneg_mode(hw->port_info); | ||||
flowcontrol = ice_flowcontrol_mode(hw->port_info); | flowcontrol = ice_flowcontrol_mode(hw->port_info); | ||||
log(LOG_NOTICE, "%s: Link is up, %s Full Duplex, Requested FEC: %s, Negotiated FEC: %s, Autoneg: %s, Flow Control: %s\n", | log(LOG_NOTICE, "%s: Link is up, %s Full Duplex, Requested FEC: %s, Negotiated FEC: %s, Autoneg: %s, Flow Control: %s\n", | ||||
ifp->if_xname, speed, req_fec, neg_fec, autoneg, flowcontrol); | if_name(ifp), speed, req_fec, neg_fec, autoneg, flowcontrol); | ||||
} | } | ||||
/** | /** | ||||
* ice_update_laa_mac - Update MAC address if Locally Administered | * ice_update_laa_mac - Update MAC address if Locally Administered | ||||
* @sc: the device softc | * @sc: the device softc | ||||
* | * | ||||
* Update the device MAC address when a Locally Administered Address is | * Update the device MAC address when a Locally Administered Address is | ||||
* assigned. | * assigned. | ||||
▲ Show 20 Lines • Show All 2,793 Lines • Show Last 20 Lines |