#include <net/switchdev.h>
#include "lan966x_main.h"
struct lan966x_fdb_event_work { … };
struct lan966x_fdb_entry { … };
static struct lan966x_fdb_entry *
lan966x_fdb_find_entry(struct lan966x *lan966x,
struct switchdev_notifier_fdb_info *fdb_info)
{ … }
static void lan966x_fdb_add_entry(struct lan966x *lan966x,
struct switchdev_notifier_fdb_info *fdb_info)
{ … }
static bool lan966x_fdb_del_entry(struct lan966x *lan966x,
struct switchdev_notifier_fdb_info *fdb_info)
{ … }
void lan966x_fdb_write_entries(struct lan966x *lan966x, u16 vid)
{ … }
void lan966x_fdb_erase_entries(struct lan966x *lan966x, u16 vid)
{ … }
static void lan966x_fdb_purge_entries(struct lan966x *lan966x)
{ … }
int lan966x_fdb_init(struct lan966x *lan966x)
{ … }
void lan966x_fdb_deinit(struct lan966x *lan966x)
{ … }
void lan966x_fdb_flush_workqueue(struct lan966x *lan966x)
{ … }
static void lan966x_fdb_port_event_work(struct lan966x_fdb_event_work *fdb_work)
{ … }
static void lan966x_fdb_bridge_event_work(struct lan966x_fdb_event_work *fdb_work)
{ … }
static void lan966x_fdb_lag_event_work(struct lan966x_fdb_event_work *fdb_work)
{ … }
static void lan966x_fdb_event_work(struct work_struct *work)
{ … }
int lan966x_handle_fdb(struct net_device *dev,
struct net_device *orig_dev,
unsigned long event, const void *ctx,
const struct switchdev_notifier_fdb_info *fdb_info)
{ … }