linux/drivers/net/ethernet/microchip/lan966x/lan966x_fdma.c

// SPDX-License-Identifier: GPL-2.0+

#include <linux/bpf.h>
#include <linux/filter.h>
#include <net/page_pool/helpers.h>

#include "lan966x_main.h"

static int lan966x_fdma_rx_dataptr_cb(struct fdma *fdma, int dcb, int db,
				      u64 *dataptr)
{}

static int lan966x_fdma_tx_dataptr_cb(struct fdma *fdma, int dcb, int db,
				      u64 *dataptr)
{}

static int lan966x_fdma_xdp_tx_dataptr_cb(struct fdma *fdma, int dcb, int db,
					  u64 *dataptr)
{}

static int lan966x_fdma_channel_active(struct lan966x *lan966x)
{}

static void lan966x_fdma_rx_free_pages(struct lan966x_rx *rx)
{}

static void lan966x_fdma_rx_free_page(struct lan966x_rx *rx)
{}

static int lan966x_fdma_rx_alloc_page_pool(struct lan966x_rx *rx)
{}

static int lan966x_fdma_rx_alloc(struct lan966x_rx *rx)
{}

static void lan966x_fdma_rx_start(struct lan966x_rx *rx)
{}

static void lan966x_fdma_rx_disable(struct lan966x_rx *rx)
{}

static void lan966x_fdma_rx_reload(struct lan966x_rx *rx)
{}

static int lan966x_fdma_tx_alloc(struct lan966x_tx *tx)
{}

static void lan966x_fdma_tx_free(struct lan966x_tx *tx)
{}

static void lan966x_fdma_tx_activate(struct lan966x_tx *tx)
{}

static void lan966x_fdma_tx_disable(struct lan966x_tx *tx)
{}

static void lan966x_fdma_tx_reload(struct lan966x_tx *tx)
{}

static void lan966x_fdma_wakeup_netdev(struct lan966x *lan966x)
{}

static void lan966x_fdma_stop_netdev(struct lan966x *lan966x)
{}

static void lan966x_fdma_tx_clear_buf(struct lan966x *lan966x, int weight)
{}

static int lan966x_fdma_rx_check_frame(struct lan966x_rx *rx, u64 *src_port)
{}

static struct sk_buff *lan966x_fdma_rx_get_frame(struct lan966x_rx *rx,
						 u64 src_port)
{}

static int lan966x_fdma_napi_poll(struct napi_struct *napi, int weight)
{}

irqreturn_t lan966x_fdma_irq_handler(int irq, void *args)
{}

static int lan966x_fdma_get_next_dcb(struct lan966x_tx *tx)
{}

static void lan966x_fdma_tx_start(struct lan966x_tx *tx)
{}

int lan966x_fdma_xmit_xdpf(struct lan966x_port *port, void *ptr, u32 len)
{}

int lan966x_fdma_xmit(struct sk_buff *skb, __be32 *ifh, struct net_device *dev)
{}

static int lan966x_fdma_get_max_mtu(struct lan966x *lan966x)
{}

static int lan966x_qsys_sw_status(struct lan966x *lan966x)
{}

static int lan966x_fdma_reload(struct lan966x *lan966x, int new_mtu)
{}

static int lan966x_fdma_get_max_frame(struct lan966x *lan966x)
{}

static int __lan966x_fdma_reload(struct lan966x *lan966x, int max_mtu)
{}

int lan966x_fdma_change_mtu(struct lan966x *lan966x)
{}

int lan966x_fdma_reload_page_pool(struct lan966x *lan966x)
{}

void lan966x_fdma_netdev_init(struct lan966x *lan966x, struct net_device *dev)
{}

void lan966x_fdma_netdev_deinit(struct lan966x *lan966x, struct net_device *dev)
{}

int lan966x_fdma_init(struct lan966x *lan966x)
{}

void lan966x_fdma_deinit(struct lan966x *lan966x)
{}