mlx5_eswitch
struct mlx5_eswitch *eswitch;
void mlx5_eswitch_cleanup(struct mlx5_eswitch *esw);
void mlx5_eswitch_vport_event(struct mlx5_eswitch *esw, struct mlx5_eqe *eqe);
int mlx5_eswitch_enable_sriov(struct mlx5_eswitch *esw, int nvfs);
void mlx5_eswitch_disable_sriov(struct mlx5_eswitch *esw);
int mlx5_eswitch_set_vport_mac(struct mlx5_eswitch *esw,
int mlx5_eswitch_set_vport_state(struct mlx5_eswitch *esw,
int mlx5_eswitch_set_vport_vlan(struct mlx5_eswitch *esw,
int mlx5_eswitch_get_vport_config(struct mlx5_eswitch *esw,
void mlx5_eswitch_disable_sriov(struct mlx5_eswitch *esw)
struct mlx5_eswitch *esw;
void mlx5_eswitch_cleanup(struct mlx5_eswitch *esw)
void mlx5_eswitch_vport_event(struct mlx5_eswitch *esw, struct mlx5_eqe *eqe)
int mlx5_eswitch_set_vport_mac(struct mlx5_eswitch *esw,
int mlx5_eswitch_set_vport_state(struct mlx5_eswitch *esw,
int mlx5_eswitch_get_vport_config(struct mlx5_eswitch *esw,
int mlx5_eswitch_set_vport_vlan(struct mlx5_eswitch *esw,
esw_fdb_set_vport_rule(struct mlx5_eswitch *esw, u8 mac[ETH_ALEN], u32 vport)
static int esw_create_fdb_table(struct mlx5_eswitch *esw)
static void esw_destroy_fdb_table(struct mlx5_eswitch *esw)
typedef int (*vport_addr_action)(struct mlx5_eswitch *esw,
static int esw_add_uc_addr(struct mlx5_eswitch *esw, struct vport_addr *vaddr)
static int esw_del_uc_addr(struct mlx5_eswitch *esw, struct vport_addr *vaddr)
static int esw_add_mc_addr(struct mlx5_eswitch *esw, struct vport_addr *vaddr)
static int esw_del_mc_addr(struct mlx5_eswitch *esw, struct vport_addr *vaddr)
static void esw_apply_vport_addr_list(struct mlx5_eswitch *esw,
static void esw_update_vport_addr_list(struct mlx5_eswitch *esw,
struct mlx5_eswitch *esw = dev->priv.eswitch;
static void esw_vport_enable_egress_acl(struct mlx5_eswitch *esw,
static void esw_vport_cleanup_egress_rules(struct mlx5_eswitch *esw,
static void esw_vport_disable_egress_acl(struct mlx5_eswitch *esw,
static void esw_vport_enable_ingress_acl(struct mlx5_eswitch *esw,
static void esw_vport_cleanup_ingress_rules(struct mlx5_eswitch *esw,
static void esw_vport_disable_ingress_acl(struct mlx5_eswitch *esw,
static int esw_vport_ingress_config(struct mlx5_eswitch *esw,
static int esw_vport_egress_config(struct mlx5_eswitch *esw,
static void esw_enable_vport(struct mlx5_eswitch *esw, int vport_num,
static void esw_cleanup_vport(struct mlx5_eswitch *esw, u16 vport_num)
static void esw_disable_vport(struct mlx5_eswitch *esw, int vport_num)
int mlx5_eswitch_enable_sriov(struct mlx5_eswitch *esw, int nvfs)