Lines Matching refs:nn
33 static int nfp_nic_vnic_init(struct nfp_app *app, struct nfp_net *nn) in nfp_nic_vnic_init() argument
35 return nfp_nic_dcb_init(nn); in nfp_nic_vnic_init()
38 static void nfp_nic_vnic_clean(struct nfp_app *app, struct nfp_net *nn) in nfp_nic_vnic_clean() argument
40 nfp_nic_dcb_clean(nn); in nfp_nic_vnic_clean()
43 static int nfp_nic_vnic_alloc(struct nfp_app *app, struct nfp_net *nn, in nfp_nic_vnic_alloc() argument
46 struct nfp_app_nic_private *app_pri = nn->app_priv; in nfp_nic_vnic_alloc()
49 err = nfp_app_nic_vnic_alloc(app, nn, id); in nfp_nic_vnic_alloc()
54 nn->app_priv = kzalloc(sizeof(*app_pri), GFP_KERNEL); in nfp_nic_vnic_alloc()
55 if (!nn->app_priv) in nfp_nic_vnic_alloc()
62 static void nfp_nic_vnic_free(struct nfp_app *app, struct nfp_net *nn) in nfp_nic_vnic_free() argument
64 kfree(nn->app_priv); in nfp_nic_vnic_free()