Home
last modified time | relevance | path

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

/Linux-v5.10/drivers/net/ethernet/broadcom/bnxt/
Dbnxt_vfr.c67 static int bnxt_hwrm_vfr_qcfg(struct bnxt *bp, struct bnxt_vf_rep *vf_rep, in bnxt_hwrm_vfr_qcfg() argument
76 req.fid = cpu_to_le16(bp->pf.vf[vf_rep->vf_idx].fw_fid); in bnxt_hwrm_vfr_qcfg()
94 struct bnxt_vf_rep *vf_rep = netdev_priv(dev); in bnxt_vf_rep_open() local
95 struct bnxt *bp = vf_rep->bp; in bnxt_vf_rep_open()
116 struct bnxt_vf_rep *vf_rep = netdev_priv(dev); in bnxt_vf_rep_xmit() local
120 dst_hold((struct dst_entry *)vf_rep->dst); in bnxt_vf_rep_xmit()
121 skb_dst_set(skb, (struct dst_entry *)vf_rep->dst); in bnxt_vf_rep_xmit()
122 skb->dev = vf_rep->dst->u.port_info.lower_dev; in bnxt_vf_rep_xmit()
126 vf_rep->tx_stats.packets++; in bnxt_vf_rep_xmit()
127 vf_rep->tx_stats.bytes += len; in bnxt_vf_rep_xmit()
[all …]
Dbnxt_vfr.h25 struct bnxt_vf_rep *vf_rep = netdev_priv(dev); in bnxt_vf_rep_get_fid() local
26 struct bnxt *bp = vf_rep->bp; in bnxt_vf_rep_get_fid()
28 return bp->pf.vf[vf_rep->vf_idx].fw_fid; in bnxt_vf_rep_get_fid()
/Linux-v5.10/drivers/net/ethernet/cavium/liquidio/
Dlio_vf_rep.c111 struct lio_vf_rep_desc *vf_rep = netdev_priv(ndev); in lio_vf_rep_open() local
116 oct = vf_rep->oct; in lio_vf_rep_open()
120 rep_cfg.ifidx = vf_rep->ifidx; in lio_vf_rep_open()
132 atomic_set(&vf_rep->ifstate, (atomic_read(&vf_rep->ifstate) | in lio_vf_rep_open()
144 struct lio_vf_rep_desc *vf_rep = netdev_priv(ndev); in lio_vf_rep_stop() local
149 oct = vf_rep->oct; in lio_vf_rep_stop()
153 rep_cfg.ifidx = vf_rep->ifidx; in lio_vf_rep_stop()
165 atomic_set(&vf_rep->ifstate, (atomic_read(&vf_rep->ifstate) & in lio_vf_rep_stop()
186 struct lio_vf_rep_desc *vf_rep = netdev_priv(dev); in lio_vf_rep_get_stats64() local
189 stats64->tx_packets = vf_rep->stats.rx_packets; in lio_vf_rep_get_stats64()
[all …]