Searched refs:vf_rep (Results 1 – 3 of 3) sorted by relevance
67 static int bnxt_hwrm_vfr_qcfg(struct bnxt *bp, struct bnxt_vf_rep *vf_rep, in bnxt_hwrm_vfr_qcfg() argument76 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() local95 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() local120 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 …]
25 struct bnxt_vf_rep *vf_rep = netdev_priv(dev); in bnxt_vf_rep_get_fid() local26 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()
111 struct lio_vf_rep_desc *vf_rep = netdev_priv(ndev); in lio_vf_rep_open() local116 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() local149 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() local189 stats64->tx_packets = vf_rep->stats.rx_packets; in lio_vf_rep_get_stats64()[all …]