Searched refs:vf_ctx (Results 1 – 4 of 4) sorted by relevance
61 if (hv->vf_ctx.vf_attached) { in hn_vf_attach()92 hv->vf_ctx.vf_attached = true; in hn_vf_attach()93 hv->vf_ctx.vf_port = port; in hn_vf_attach()117 hv->vf_ctx.vf_attached = false; in hn_remove_delayed()142 hv->vf_ctx.vf_state = vf_removed; in hn_remove_delayed()227 if (!hv->vf_ctx.vf_vsp_reported || hv->vf_ctx.vf_vsc_switched) in hn_vf_add()240 port = hv->vf_ctx.vf_port; in hn_vf_add()414 if (hv->vf_ctx.vf_attached) { in hn_vf_configure()422 hv->vf_ctx.vf_port, ret); in hn_vf_configure()550 if (hv->vf_ctx.vf_attached) { in hn_vf_close()[all …]
142 struct hn_vf_ctx vf_ctx; member238 if (hv->vf_ctx.vf_attached) in hn_get_vf_dev()239 return &rte_eth_devices[hv->vf_ctx.vf_port]; in hn_get_vf_dev()
667 if (hv->vf_ctx.vf_state > vf_removed) in netvsc_hotadd_callback()1182 hv->vf_ctx.vf_vsc_switched = false; in eth_hn_dev_init()1183 hv->vf_ctx.vf_vsp_reported = false; in eth_hn_dev_init()1184 hv->vf_ctx.vf_attached = false; in eth_hn_dev_init()1185 hv->vf_ctx.vf_state = vf_unknown; in eth_hn_dev_init()1239 if (hv->vf_ctx.vf_vsp_reported && !hv->vf_ctx.vf_vsc_switched) { in eth_hn_dev_init()
1500 if (hv->vf_ctx.vf_vsc_switched) { in hn_xmit_pkts()1503 if (hv->vf_ctx.vf_vsc_switched && vf_dev && in hn_xmit_pkts()1626 if (hv->vf_ctx.vf_vsc_switched) { in hn_recv_pkts()1629 if (hv->vf_ctx.vf_vsc_switched && vf_dev && in hn_recv_pkts()