#include <linux/bpf.h>
#include <linux/bpf_trace.h>
#include <linux/filter.h>
#include "lan966x_main.h"
static int lan966x_xdp_setup(struct net_device *dev, struct netdev_bpf *xdp)
{ … }
int lan966x_xdp(struct net_device *dev, struct netdev_bpf *xdp)
{ … }
int lan966x_xdp_xmit(struct net_device *dev,
int n,
struct xdp_frame **frames,
u32 flags)
{ … }
int lan966x_xdp_run(struct lan966x_port *port, struct page *page, u32 data_len)
{ … }
bool lan966x_xdp_present(struct lan966x *lan966x)
{ … }
int lan966x_xdp_port_init(struct lan966x_port *port)
{ … }
void lan966x_xdp_port_deinit(struct lan966x_port *port)
{ … }