Searched refs:vf_rep (Results 1 – 4 of 4) sorted by relevance
70 static int bnxt_hwrm_vfr_qcfg(struct bnxt *bp, struct bnxt_vf_rep *vf_rep, in bnxt_hwrm_vfr_qcfg() argument82 req->fid = cpu_to_le16(bp->pf.vf[vf_rep->vf_idx].fw_fid); in bnxt_hwrm_vfr_qcfg()98 struct bnxt_vf_rep *vf_rep = netdev_priv(dev); in bnxt_vf_rep_open() local99 struct bnxt *bp = vf_rep->bp; in bnxt_vf_rep_open()120 struct bnxt_vf_rep *vf_rep = netdev_priv(dev); in bnxt_vf_rep_xmit() local124 dst_hold((struct dst_entry *)vf_rep->dst); in bnxt_vf_rep_xmit()125 skb_dst_set(skb, (struct dst_entry *)vf_rep->dst); in bnxt_vf_rep_xmit()126 skb->dev = vf_rep->dst->u.port_info.lower_dev; in bnxt_vf_rep_xmit()130 vf_rep->tx_stats.packets++; in bnxt_vf_rep_xmit()131 vf_rep->tx_stats.bytes += len; in bnxt_vf_rep_xmit()[all …]
27 struct bnxt_vf_rep *vf_rep = netdev_priv(dev); in bnxt_vf_rep_get_fid() local28 struct bnxt *bp = vf_rep->bp; in bnxt_vf_rep_get_fid()30 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 …]
351 bool vf_rep, uplink_rep; in mlx5_tc_ct_get_flow_source_match() local353 vf_rep = mlx5e_eswitch_vf_rep(ndev) && mlx5_same_hw_devs(mdev, other_priv->mdev); in mlx5_tc_ct_get_flow_source_match()356 if (vf_rep) in mlx5_tc_ct_get_flow_source_match()