diff options
Diffstat (limited to 'usr/src/uts/common/io/fcoe/fcoe_eth.c')
-rw-r--r-- | usr/src/uts/common/io/fcoe/fcoe_eth.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/usr/src/uts/common/io/fcoe/fcoe_eth.c b/usr/src/uts/common/io/fcoe/fcoe_eth.c index 7f2763c5cd..6332327f5e 100644 --- a/usr/src/uts/common/io/fcoe/fcoe_eth.c +++ b/usr/src/uts/common/io/fcoe/fcoe_eth.c @@ -199,6 +199,9 @@ fcoe_enable_callback(fcoe_mac_t *mac) mac_stat_get(mac->fm_handle, MAC_STAT_LINK_UP)? FCOE_MAC_LINK_STATE_UP:FCOE_MAC_LINK_STATE_DOWN; + mac->fm_eport.eport_link_speed = + mac_client_stat_get(mac->fm_cli_handle, MAC_STAT_IFSPEED); + /* * Add a notify function so that we get updates from MAC */ @@ -259,6 +262,7 @@ fcoe_rx(void *arg, mac_resource_handle_t mrh, mblk_t *mp, boolean_t loopback) frame_size = raw_frame_size - PADDING_SIZE; frm = fcoe_allocate_frame(&mac->fm_eport, frame_size, mp); if (frm != NULL) { + frm->frm_clock = CURRENT_CLOCK; fcoe_post_frame(frm); } @@ -290,7 +294,6 @@ fcoe_mac_notify(void *arg, mac_notify_type_t type) mac->fm_eport.eport_link_speed = mac_client_stat_get(mac->fm_cli_handle, MAC_STAT_IFSPEED); - (void) fcoe_mac_set_address(&mac->fm_eport, mac->fm_primary_addr, B_FALSE); |