#include <linux/netdevice.h>
#include <net/nexthop.h>
#include "lag/lag.h"
#include "eswitch.h"
#include "esw/acl/ofld.h"
#include "lib/events.h"
static void mlx5_mpesw_metadata_cleanup(struct mlx5_lag *ldev)
{ … }
static int mlx5_mpesw_metadata_set(struct mlx5_lag *ldev)
{ … }
#define MLX5_LAG_MPESW_OFFLOADS_SUPPORTED_PORTS …
static int enable_mpesw(struct mlx5_lag *ldev)
{ … }
static void disable_mpesw(struct mlx5_lag *ldev)
{ … }
static void mlx5_mpesw_work(struct work_struct *work)
{ … }
static int mlx5_lag_mpesw_queue_work(struct mlx5_core_dev *dev,
enum mpesw_op op)
{ … }
void mlx5_lag_mpesw_disable(struct mlx5_core_dev *dev)
{ … }
int mlx5_lag_mpesw_enable(struct mlx5_core_dev *dev)
{ … }
int mlx5_lag_mpesw_do_mirred(struct mlx5_core_dev *mdev,
struct net_device *out_dev,
struct netlink_ext_ack *extack)
{ … }
bool mlx5_lag_is_mpesw(struct mlx5_core_dev *dev)
{ … }
EXPORT_SYMBOL(…);