Home
last modified time | relevance | path

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

/linux/drivers/net/ethernet/intel/idpf/
H A Didpf_virtchnl.c326 static void idpf_vc_xn_init(struct idpf_vc_xn_manager *vcxn_mngr) in idpf_vc_xn_init() argument
330 spin_lock_init(&vcxn_mngr->xn_bm_lock); in idpf_vc_xn_init()
332 for (i = 0; i < ARRAY_SIZE(vcxn_mngr->ring); i++) { in idpf_vc_xn_init()
333 struct idpf_vc_xn *xn = &vcxn_mngr->ring[i]; in idpf_vc_xn_init()
341 bitmap_fill(vcxn_mngr->free_xn_bm, IDPF_VC_XN_RING_LEN); in idpf_vc_xn_init()
351 void idpf_vc_xn_shutdown(struct idpf_vc_xn_manager *vcxn_mngr) in idpf_vc_xn_shutdown() argument
355 spin_lock_bh(&vcxn_mngr->xn_bm_lock); in idpf_vc_xn_shutdown()
356 bitmap_zero(vcxn_mngr->free_xn_bm, IDPF_VC_XN_RING_LEN); in idpf_vc_xn_shutdown()
357 spin_unlock_bh(&vcxn_mngr->xn_bm_lock); in idpf_vc_xn_shutdown()
359 for (i = 0; i < ARRAY_SIZE(vcxn_mngr->ring); i++) { in idpf_vc_xn_shutdown()
[all …]
H A Didpf_main.c73 kfree(adapter->vcxn_mngr); in idpf_remove()
74 adapter->vcxn_mngr = NULL; in idpf_remove()
H A Didpf_virtchnl.h159 void idpf_vc_xn_shutdown(struct idpf_vc_xn_manager *vcxn_mngr);
H A Didpf.h650 struct idpf_vc_xn_manager *vcxn_mngr; member
H A Didpf_lib.c1891 idpf_vc_xn_shutdown(adapter->vcxn_mngr); in idpf_vc_event_task()