Lines Matching refs:linfo
267 struct oct_link_info *linfo = &lio->linfo; in print_link_info() local
269 if (linfo->link.s.link_up) { in print_link_info()
271 linfo->link.s.speed, in print_link_info()
272 (linfo->link.s.duplex) ? "Full" : "Half"); in print_link_info()
293 dev_set_mtu(lio->netdev, lio->linfo.link.s.mtu); in octnet_link_status_change()
341 int current_max_mtu = lio->linfo.link.s.mtu; in update_link_status()
344 if ((lio->intf_open) && (lio->linfo.link.u64 != ls->u64)) { in update_link_status()
345 lio->linfo.link.u64 = ls->u64; in update_link_status()
350 if (lio->linfo.link.s.link_up) { in update_link_status()
358 if (lio->linfo.link.s.mtu != current_max_mtu) { in update_link_status()
361 current_max_mtu, lio->linfo.link.s.mtu); in update_link_status()
362 netdev->max_mtu = lio->linfo.link.s.mtu; in update_link_status()
365 if (lio->linfo.link.s.mtu < netdev->mtu) { in update_link_status()
368 netdev->mtu, lio->linfo.link.s.mtu); in update_link_status()
622 sc->iq_no = lio->linfo.txpciq[0].s.q_no; in send_rx_ctrl_cmd()
731 lio->linfo.rxpciq[j].s.q_no); in liquidio_stop_nic_module()
967 lio->linfo.link.s.link_up = 0; in liquidio_stop()
1054 nctrl.iq_no = lio->linfo.txpciq[0].s.q_no; in liquidio_set_uc_list()
1103 nctrl.iq_no = lio->linfo.txpciq[0].s.q_no; in liquidio_set_mcast_list()
1137 if (lio->linfo.macaddr_is_admin_asgnd) in liquidio_set_mac()
1146 nctrl.iq_no = lio->linfo.txpciq[0].s.q_no; in liquidio_set_mac()
1166 ether_addr_copy(((u8 *)&lio->linfo.hw_addr) + 2, addr->sa_data); in liquidio_set_mac()
1188 iq_no = lio->linfo.txpciq[i].s.q_no; in liquidio_get_stats64()
1204 oq_no = lio->linfo.rxpciq[i].s.q_no; in liquidio_get_stats64()
1428 iq_no = lio->linfo.txpciq[q_idx].s.q_no; in liquidio_xmit()
1436 (!lio->linfo.link.s.link_up) || (skb->len <= 0)) { in liquidio_xmit()
1438 lio->linfo.link.s.link_up); in liquidio_xmit()
1662 nctrl.iq_no = lio->linfo.txpciq[0].s.q_no; in liquidio_vlan_rx_add_vid()
1690 nctrl.iq_no = lio->linfo.txpciq[0].s.q_no; in liquidio_vlan_rx_kill_vid()
1724 nctrl.iq_no = lio->linfo.txpciq[0].s.q_no; in liquidio_set_rxcsum_command()
1760 nctrl.iq_no = lio->linfo.txpciq[0].s.q_no; in liquidio_vxlan_port_command()
2060 props->gmxport = resp->cfg_info.linfo.gmxport; in setup_nic_devices()
2063 lio->linfo.num_rxpciq = num_oqueues; in setup_nic_devices()
2064 lio->linfo.num_txpciq = num_iqueues; in setup_nic_devices()
2067 lio->linfo.rxpciq[j].u64 = in setup_nic_devices()
2068 resp->cfg_info.linfo.rxpciq[j].u64; in setup_nic_devices()
2071 lio->linfo.txpciq[j].u64 = in setup_nic_devices()
2072 resp->cfg_info.linfo.txpciq[j].u64; in setup_nic_devices()
2075 lio->linfo.hw_addr = resp->cfg_info.linfo.hw_addr; in setup_nic_devices()
2076 lio->linfo.gmxport = resp->cfg_info.linfo.gmxport; in setup_nic_devices()
2077 lio->linfo.link.u64 = resp->cfg_info.linfo.link.u64; in setup_nic_devices()
2078 lio->linfo.macaddr_is_admin_asgnd = in setup_nic_devices()
2079 resp->cfg_info.linfo.macaddr_is_admin_asgnd; in setup_nic_devices()
2080 lio->linfo.macaddr_spoofchk = in setup_nic_devices()
2081 resp->cfg_info.linfo.macaddr_spoofchk; in setup_nic_devices()
2134 lio->linfo.gmxport, CVM_CAST64(lio->linfo.hw_addr)); in setup_nic_devices()
2137 octeon_swap_8B_data(&lio->linfo.hw_addr, 1); in setup_nic_devices()
2139 mac[j] = *((u8 *)(((u8 *)&lio->linfo.hw_addr) + 2 + j)); in setup_nic_devices()
2145 lio->linfo.num_txpciq, in setup_nic_devices()
2146 lio->linfo.num_rxpciq)) { in setup_nic_devices()
2162 lio->txq = lio->linfo.txpciq[0].s.q_no; in setup_nic_devices()
2163 lio->rxq = lio->linfo.rxpciq[0].s.q_no; in setup_nic_devices()