Lines Matching refs:ctrl_vnic
332 pf->ctrl_vnic = nfp_net_pf_alloc_vnic(pf, false, ctrl_bar, qc_bar, in nfp_net_pf_app_init()
334 if (IS_ERR(pf->ctrl_vnic)) { in nfp_net_pf_app_init()
335 err = PTR_ERR(pf->ctrl_vnic); in nfp_net_pf_app_init()
357 if (pf->ctrl_vnic) { in nfp_net_pf_app_clean()
358 nfp_net_pf_free_vnic(pf, pf->ctrl_vnic); in nfp_net_pf_app_clean()
374 if (!pf->ctrl_vnic) in nfp_net_pf_app_start_ctrl()
376 err = nfp_net_pf_init_vnic(pf, pf->ctrl_vnic, 0); in nfp_net_pf_app_start_ctrl()
380 err = nfp_ctrl_open(pf->ctrl_vnic); in nfp_net_pf_app_start_ctrl()
387 nfp_net_pf_clean_vnic(pf, pf->ctrl_vnic); in nfp_net_pf_app_start_ctrl()
393 if (!pf->ctrl_vnic) in nfp_net_pf_app_stop_ctrl()
395 nfp_ctrl_close(pf->ctrl_vnic); in nfp_net_pf_app_stop_ctrl()
396 nfp_net_pf_clean_vnic(pf, pf->ctrl_vnic); in nfp_net_pf_app_stop_ctrl()
407 err = nfp_app_start(pf->app, pf->ctrl_vnic); in nfp_net_pf_app_start()