#include "../nfpcore/nfp_cpp.h"
#include "../nfpcore/nfp_nsp.h"
#include "../nfp_app.h"
#include "../nfp_main.h"
#include "../nfp_net.h"
#include "main.h"
static int nfp_nic_init(struct nfp_app *app)
{ … }
static int nfp_nic_sriov_enable(struct nfp_app *app, int num_vfs)
{ … }
static void nfp_nic_sriov_disable(struct nfp_app *app)
{ … }
static int nfp_nic_vnic_init(struct nfp_app *app, struct nfp_net *nn)
{ … }
static void nfp_nic_vnic_clean(struct nfp_app *app, struct nfp_net *nn)
{ … }
static int nfp_nic_vnic_alloc(struct nfp_app *app, struct nfp_net *nn,
unsigned int id)
{ … }
static void nfp_nic_vnic_free(struct nfp_app *app, struct nfp_net *nn)
{ … }
const struct nfp_app_type app_nic = …;