Home
last modified time | relevance | path

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

/linux/drivers/net/ethernet/intel/idpf/
H A Didpf_virtchnl.c354 static void idpf_vc_xn_init(struct idpf_vc_xn_manager *vcxn_mngr) in idpf_vc_xn_init() argument
358 spin_lock_init(&vcxn_mngr->xn_bm_lock); in idpf_vc_xn_init()
360 for (i = 0; i < ARRAY_SIZE(vcxn_mngr->ring); i++) { in idpf_vc_xn_init()
361 struct idpf_vc_xn *xn = &vcxn_mngr->ring[i]; in idpf_vc_xn_init()
369 bitmap_fill(vcxn_mngr->free_xn_bm, IDPF_VC_XN_RING_LEN); in idpf_vc_xn_init()
379 static void idpf_vc_xn_shutdown(struct idpf_vc_xn_manager *vcxn_mngr) in idpf_vc_xn_shutdown() argument
383 spin_lock_bh(&vcxn_mngr->xn_bm_lock); in idpf_vc_xn_shutdown()
384 bitmap_zero(vcxn_mngr->free_xn_bm, IDPF_VC_XN_RING_LEN); in idpf_vc_xn_shutdown()
385 spin_unlock_bh(&vcxn_mngr->xn_bm_lock); in idpf_vc_xn_shutdown()
387 for (i = 0; i < ARRAY_SIZE(vcxn_mngr->ring); i++) { in idpf_vc_xn_shutdown()
[all …]
H A Didpf_main.c72 kfree(adapter->vcxn_mngr); in idpf_remove()
73 adapter->vcxn_mngr = NULL; in idpf_remove()
H A Didpf.h578 struct idpf_vc_xn_manager *vcxn_mngr; member