Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/net/ethernet/broadcom/bnxt/
Dbnxt_vfr.c70 static int bnxt_hwrm_vfr_qcfg(struct bnxt *bp, struct bnxt_vf_rep *vf_rep, in bnxt_hwrm_vfr_qcfg() argument
82 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() local
99 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() local
124 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 …]
Dbnxt_vfr.h27 struct bnxt_vf_rep *vf_rep = netdev_priv(dev); in bnxt_vf_rep_get_fid() local
28 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()
/linux-6.1.9/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 …]
/linux-6.1.9/drivers/net/ethernet/mellanox/mlx5/core/en/
Dtc_ct.c351 bool vf_rep, uplink_rep; in mlx5_tc_ct_get_flow_source_match() local
353 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()