Home
last modified time | relevance | path

Searched refs:lbk (Results 1 – 3 of 3) sorted by relevance

/linux-6.12.1/drivers/net/ethernet/cavium/thunder/
Dnic_main.c760 static int nic_config_loopback(struct nicpf *nic, struct set_loopback *lbk) in nic_config_loopback() argument
764 if (lbk->vf_id >= nic->num_vf_en) in nic_config_loopback()
767 bgx_idx = NIC_GET_BGX_FROM_VF_LMAC_MAP(nic->vf_lmac_map[lbk->vf_id]); in nic_config_loopback()
768 lmac_idx = NIC_GET_LMAC_FROM_VF_LMAC_MAP(nic->vf_lmac_map[lbk->vf_id]); in nic_config_loopback()
770 bgx_lmac_internal_loopback(nic->node, bgx_idx, lmac_idx, lbk->enable); in nic_config_loopback()
1079 ret = nic_config_loopback(nic, &mbx.lbk); in nic_handle_mbx_intr()
Dnic.h599 struct set_loopback lbk; member
Dnicvf_main.c1767 mbx.lbk.msg = NIC_MBOX_MSG_LOOPBACK; in nicvf_config_loopback()
1768 mbx.lbk.vf_id = nic->vf_id; in nicvf_config_loopback()
1769 mbx.lbk.enable = (features & NETIF_F_LOOPBACK) != 0; in nicvf_config_loopback()