linux/drivers/net/ethernet/netronome/nfp/nfp_app.c

// SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
/* Copyright (C) 2017-2018 Netronome Systems, Inc. */

#include <linux/bug.h>
#include <linux/lockdep.h>
#include <linux/rcupdate.h>
#include <linux/skbuff.h>
#include <linux/slab.h>

#include "nfpcore/nfp_cpp.h"
#include "nfpcore/nfp_nffw.h"
#include "nfp_app.h"
#include "nfp_main.h"
#include "nfp_net.h"
#include "nfp_net_repr.h"
#include "nfp_port.h"

static const struct nfp_app_type *apps[] =;

void nfp_check_rhashtable_empty(void *ptr, void *arg)
{}

struct nfp_app *nfp_app_from_netdev(struct net_device *netdev)
{}

const char *nfp_app_mip_name(struct nfp_app *app)
{}

int nfp_app_ndo_init(struct net_device *netdev)
{}

void nfp_app_ndo_uninit(struct net_device *netdev)
{}

u64 *nfp_app_port_get_stats(struct nfp_port *port, u64 *data)
{}

int nfp_app_port_get_stats_count(struct nfp_port *port)
{}

u8 *nfp_app_port_get_stats_strings(struct nfp_port *port, u8 *data)
{}

struct sk_buff *
nfp_app_ctrl_msg_alloc(struct nfp_app *app, unsigned int size, gfp_t priority)
{}

struct nfp_reprs *
nfp_reprs_get_locked(struct nfp_app *app, enum nfp_repr_type type)
{}

struct nfp_reprs *
nfp_app_reprs_set(struct nfp_app *app, enum nfp_repr_type type,
		  struct nfp_reprs *reprs)
{}

static void
nfp_app_netdev_feat_change(struct nfp_app *app, struct net_device *netdev)
{}

static int
nfp_app_netdev_event(struct notifier_block *nb, unsigned long event, void *ptr)
{}

int nfp_app_start(struct nfp_app *app, struct nfp_net *ctrl)
{}

void nfp_app_stop(struct nfp_app *app)
{}

struct nfp_app *nfp_app_alloc(struct nfp_pf *pf, enum nfp_app_id id)
{}

void nfp_app_free(struct nfp_app *app)
{}