Lines Matching refs:linfo
471 iq = lio->linfo.txpciq[q % in check_txq_status()
496 struct oct_link_info *linfo = &lio->linfo; in print_link_info() local
498 if (linfo->link.s.link_up) { in print_link_info()
500 linfo->link.s.speed, in print_link_info()
501 (linfo->link.s.duplex) ? "Full" : "Half"); in print_link_info()
522 dev_set_mtu(lio->netdev, lio->linfo.link.s.mtu); in octnet_link_status_change()
570 int changed = (lio->linfo.link.u64 != ls->u64); in update_link_status()
571 int current_max_mtu = lio->linfo.link.s.mtu; in update_link_status()
575 __func__, lio->linfo.link.u64, ls->u64); in update_link_status()
576 lio->linfo.link.u64 = ls->u64; in update_link_status()
582 if (lio->linfo.link.s.link_up) { in update_link_status()
591 if (lio->linfo.link.s.mtu != current_max_mtu) { in update_link_status()
593 current_max_mtu, lio->linfo.link.s.mtu); in update_link_status()
594 netdev->max_mtu = lio->linfo.link.s.mtu; in update_link_status()
596 if (lio->linfo.link.s.mtu < netdev->mtu) { in update_link_status()
599 netdev->mtu, lio->linfo.link.s.mtu); in update_link_status()
637 sc->iq_no = lio->linfo.txpciq[0].s.q_no; in lio_sync_octeon_time()
1177 sc->iq_no = lio->linfo.txpciq[0].s.q_no; in send_rx_ctrl_cmd()
1299 lio->linfo.rxpciq[j].s.q_no); in liquidio_stop_nic_module()
1872 lio->linfo.link.s.link_up = 0; in liquidio_stop()
1971 nctrl.iq_no = lio->linfo.txpciq[0].s.q_no; in liquidio_set_mcast_list()
2019 nctrl.iq_no = lio->linfo.txpciq[0].s.q_no; in liquidio_set_mac()
2040 memcpy(((u8 *)&lio->linfo.hw_addr) + 2, addr->sa_data, ETH_ALEN); in liquidio_set_mac()
2062 iq_no = lio->linfo.txpciq[i].s.q_no; in liquidio_get_stats64()
2078 oq_no = lio->linfo.rxpciq[i].s.q_no; in liquidio_get_stats64()
2326 iq_no = lio->linfo.txpciq[q_idx].s.q_no; in liquidio_xmit()
2334 (!lio->linfo.link.s.link_up) || in liquidio_xmit()
2338 lio->linfo.link.s.link_up); in liquidio_xmit()
2579 nctrl.iq_no = lio->linfo.txpciq[0].s.q_no; in liquidio_vlan_rx_add_vid()
2608 nctrl.iq_no = lio->linfo.txpciq[0].s.q_no; in liquidio_vlan_rx_kill_vid()
2642 nctrl.iq_no = lio->linfo.txpciq[0].s.q_no; in liquidio_set_rxcsum_command()
2680 nctrl.iq_no = lio->linfo.txpciq[0].s.q_no; in liquidio_vxlan_port_command()
2835 nctrl.iq_no = lio->linfo.txpciq[0].s.q_no; in __liquidio_set_vf_mac()
2908 nctrl.iq_no = lio->linfo.txpciq[0].s.q_no; in liquidio_set_vf_spoofchk()
2964 nctrl.iq_no = lio->linfo.txpciq[0].s.q_no; in liquidio_set_vf_vlan()
3003 ivi->max_tx_rate = lio->linfo.link.s.speed; in liquidio_get_vf_config()
3019 sc->iq_no = lio->linfo.txpciq[0].s.q_no; in liquidio_send_vf_trust_cmd()
3117 nctrl.iq_no = lio->linfo.txpciq[0].s.q_no; in liquidio_set_vf_link_state()
3195 ether_addr_copy(ppid->id, (void *)&lio->linfo.hw_addr + 2); in liquidio_get_port_parent_id()
3548 props->gmxport = resp->cfg_info.linfo.gmxport; in setup_nic_devices()
3551 lio->linfo.num_rxpciq = num_oqueues; in setup_nic_devices()
3552 lio->linfo.num_txpciq = num_iqueues; in setup_nic_devices()
3554 lio->linfo.rxpciq[j].u64 = in setup_nic_devices()
3555 resp->cfg_info.linfo.rxpciq[j].u64; in setup_nic_devices()
3558 lio->linfo.txpciq[j].u64 = in setup_nic_devices()
3559 resp->cfg_info.linfo.txpciq[j].u64; in setup_nic_devices()
3561 lio->linfo.hw_addr = resp->cfg_info.linfo.hw_addr; in setup_nic_devices()
3562 lio->linfo.gmxport = resp->cfg_info.linfo.gmxport; in setup_nic_devices()
3563 lio->linfo.link.u64 = resp->cfg_info.linfo.link.u64; in setup_nic_devices()
3625 lio->linfo.gmxport, CVM_CAST64(lio->linfo.hw_addr)); in setup_nic_devices()
3640 octeon_swap_8B_data(&lio->linfo.hw_addr, 1); in setup_nic_devices()
3642 mac[j] = *((u8 *)(((u8 *)&lio->linfo.hw_addr) + 2 + j)); in setup_nic_devices()
3651 lio->txq = lio->linfo.txpciq[0].s.q_no; in setup_nic_devices()
3652 lio->rxq = lio->linfo.rxpciq[0].s.q_no; in setup_nic_devices()
3654 lio->linfo.num_txpciq, in setup_nic_devices()
3655 lio->linfo.num_rxpciq)) { in setup_nic_devices()