Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/net/ethernet/netronome/nfp/
Dnfp_net_main.c334 pf->ctrl_vnic = nfp_net_pf_alloc_vnic(pf, false, ctrl_bar, qc_bar, in nfp_net_pf_app_init()
336 if (IS_ERR(pf->ctrl_vnic)) { in nfp_net_pf_app_init()
337 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()
[all …]
Dnfp_main.h116 struct nfp_net *ctrl_vnic; member