Lines Matching refs:pfvf
13 struct rvu_pfvf *pfvf = rvu_get_pfvf(rvu, pcifunc); in rvu_switch_enable_lbk_link() local
16 nix_hw = get_nix_hw(rvu->hw, pfvf->nix_blkaddr); in rvu_switch_enable_lbk_link()
18 rvu_nix_tx_tl2_cfg(rvu, pfvf->nix_blkaddr, pcifunc, in rvu_switch_enable_lbk_link()
27 struct rvu_pfvf *pfvf; in rvu_switch_install_rx_rule() local
29 pfvf = rvu_get_pfvf(rvu, pcifunc); in rvu_switch_install_rx_rule()
34 if (!test_bit(NIXLF_INITIALIZED, &pfvf->flags)) in rvu_switch_install_rx_rule()
37 ether_addr_copy(req.packet.dmac, pfvf->mac_addr); in rvu_switch_install_rx_rule()
42 req.channel = pfvf->rx_chan_base; in rvu_switch_install_rx_rule()
44 req.intf = pfvf->nix_rx_intf; in rvu_switch_install_rx_rule()
55 struct rvu_pfvf *pfvf; in rvu_switch_install_tx_rule() local
58 pfvf = rvu_get_pfvf(rvu, pcifunc); in rvu_switch_install_tx_rule()
63 if (!test_bit(NIXLF_INITIALIZED, &pfvf->flags)) in rvu_switch_install_tx_rule()
68 lbkid = pfvf->nix_blkaddr == BLKADDR_NIX0 ? 0 : 1; in rvu_switch_install_tx_rule()
69 ether_addr_copy(req.packet.dmac, pfvf->mac_addr); in rvu_switch_install_tx_rule()
75 req.intf = pfvf->nix_tx_intf; in rvu_switch_install_tx_rule()