lbk 599 drivers/net/ethernet/cavium/thunder/nic.h struct set_loopback lbk; lbk 760 drivers/net/ethernet/cavium/thunder/nic_main.c static int nic_config_loopback(struct nicpf *nic, struct set_loopback *lbk) lbk 764 drivers/net/ethernet/cavium/thunder/nic_main.c if (lbk->vf_id >= nic->num_vf_en) lbk 767 drivers/net/ethernet/cavium/thunder/nic_main.c bgx_idx = NIC_GET_BGX_FROM_VF_LMAC_MAP(nic->vf_lmac_map[lbk->vf_id]); lbk 768 drivers/net/ethernet/cavium/thunder/nic_main.c lmac_idx = NIC_GET_LMAC_FROM_VF_LMAC_MAP(nic->vf_lmac_map[lbk->vf_id]); lbk 770 drivers/net/ethernet/cavium/thunder/nic_main.c bgx_lmac_internal_loopback(nic->node, bgx_idx, lmac_idx, lbk->enable); lbk 1079 drivers/net/ethernet/cavium/thunder/nic_main.c ret = nic_config_loopback(nic, &mbx.lbk); lbk 1773 drivers/net/ethernet/cavium/thunder/nicvf_main.c mbx.lbk.msg = NIC_MBOX_MSG_LOOPBACK; lbk 1774 drivers/net/ethernet/cavium/thunder/nicvf_main.c mbx.lbk.vf_id = nic->vf_id; lbk 1775 drivers/net/ethernet/cavium/thunder/nicvf_main.c mbx.lbk.enable = (features & NETIF_F_LOOPBACK) != 0;