Home
last modified time | relevance | path

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

/linux/drivers/net/ethernet/broadcom/bnxt/
H A 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 …]
H A Dbnxt_vfr.h28 struct bnxt_vf_rep *vf_rep = netdev_priv(dev); in bnxt_vf_rep_get_fid() local
29 struct bnxt *bp = vf_rep->bp; in bnxt_vf_rep_get_fid()
31 return bp->pf.vf[vf_rep->vf_idx].fw_fid; in bnxt_vf_rep_get_fid()
/linux/drivers/net/ethernet/mellanox/mlx5/core/en/
H A Dtc_ct.c356 bool vf_rep, uplink_rep; in mlx5_tc_ct_get_flow_source_match() local
358 vf_rep = mlx5e_eswitch_vf_rep(ndev) && mlx5_same_hw_devs(mdev, other_priv->mdev); in mlx5_tc_ct_get_flow_source_match()
361 if (vf_rep) in mlx5_tc_ct_get_flow_source_match()