Home
last modified time | relevance | path

Searched refs:ctrl_vnic (Results 1 – 2 of 2) sorted by relevance

/linux-5.19.10/drivers/net/ethernet/netronome/nfp/
Dnfp_net_main.c335 pf->ctrl_vnic = nfp_net_pf_alloc_vnic(pf, false, ctrl_bar, qc_bar, in nfp_net_pf_app_init()
337 if (IS_ERR(pf->ctrl_vnic)) { in nfp_net_pf_app_init()
338 err = PTR_ERR(pf->ctrl_vnic); in nfp_net_pf_app_init()
360 if (pf->ctrl_vnic) { in nfp_net_pf_app_clean()
361 nfp_net_pf_free_vnic(pf, pf->ctrl_vnic); in nfp_net_pf_app_clean()
377 if (!pf->ctrl_vnic) in nfp_net_pf_app_start_ctrl()
379 err = nfp_net_pf_init_vnic(pf, pf->ctrl_vnic, 0); in nfp_net_pf_app_start_ctrl()
383 err = nfp_ctrl_open(pf->ctrl_vnic); in nfp_net_pf_app_start_ctrl()
390 nfp_net_pf_clean_vnic(pf, pf->ctrl_vnic); in nfp_net_pf_app_start_ctrl()
396 if (!pf->ctrl_vnic) in nfp_net_pf_app_stop_ctrl()
[all …]
Dnfp_main.h118 struct nfp_net *ctrl_vnic; member