Lines Matching defs:link
102 uint8_t link[MAX_LMAC];
228 mtx_init(&nic->check_link_mtx, "VNIC PF link poll", NULL, MTX_DEF);
229 /* Register physical link status poll callout */
908 nic->link[vf] = 0;
1188 * Poll for BGX LMAC link status and update corresponding VF
1190 * is not present otherwise VF link is always treated as up
1197 struct bgx_link_status link;
1212 /* Get interface link status */
1213 bgx_get_lmac_link_state(nic->node, bgx, lmac, &link);
1215 /* Inform VF only if link status changed */
1216 if (nic->link[vf] == link.link_up)
1220 nic->link[vf] = link.link_up;
1221 nic->duplex[vf] = link.duplex;
1222 nic->speed[vf] = link.speed;
1224 /* Send a mbox message to VF with current link status */
1225 mbx.link_status.link_up = link.link_up;
1226 mbx.link_status.duplex = link.duplex;
1227 mbx.link_status.speed = link.speed;