#include <linux/if_bridge.h>
#include "lan966x_main.h"
static void lan966x_lag_set_aggr_pgids(struct lan966x *lan966x)
{ … }
static void lan966x_lag_set_port_ids(struct lan966x *lan966x)
{ … }
static void lan966x_lag_update_ids(struct lan966x *lan966x)
{ … }
int lan966x_lag_port_join(struct lan966x_port *port,
struct net_device *brport_dev,
struct net_device *bond,
struct netlink_ext_ack *extack)
{ … }
void lan966x_lag_port_leave(struct lan966x_port *port, struct net_device *bond)
{ … }
static bool lan966x_lag_port_check_hash_types(struct lan966x *lan966x,
enum netdev_lag_hash hash_type)
{ … }
int lan966x_lag_port_prechangeupper(struct net_device *dev,
struct netdev_notifier_changeupper_info *info)
{ … }
int lan966x_lag_port_changelowerstate(struct net_device *dev,
struct netdev_notifier_changelowerstate_info *info)
{ … }
int lan966x_lag_netdev_prechangeupper(struct net_device *dev,
struct netdev_notifier_changeupper_info *info)
{ … }
int lan966x_lag_netdev_changeupper(struct net_device *dev,
struct netdev_notifier_changeupper_info *info)
{ … }
bool lan966x_lag_first_port(struct net_device *lag, struct net_device *dev)
{ … }
u32 lan966x_lag_get_mask(struct lan966x *lan966x, struct net_device *bond)
{ … }