Symbol: mlx5_eswitch
sys/dev/mlx5/driver.h
638
struct mlx5_eswitch *eswitch;
sys/dev/mlx5/mlx5_core/eswitch.h
156
void mlx5_eswitch_cleanup(struct mlx5_eswitch *esw);
sys/dev/mlx5/mlx5_core/eswitch.h
157
void mlx5_eswitch_vport_event(struct mlx5_eswitch *esw, struct mlx5_eqe *eqe);
sys/dev/mlx5/mlx5_core/eswitch.h
158
int mlx5_eswitch_enable_sriov(struct mlx5_eswitch *esw, int nvfs);
sys/dev/mlx5/mlx5_core/eswitch.h
159
void mlx5_eswitch_disable_sriov(struct mlx5_eswitch *esw);
sys/dev/mlx5/mlx5_core/eswitch.h
160
int mlx5_eswitch_set_vport_mac(struct mlx5_eswitch *esw,
sys/dev/mlx5/mlx5_core/eswitch.h
162
int mlx5_eswitch_set_vport_state(struct mlx5_eswitch *esw,
sys/dev/mlx5/mlx5_core/eswitch.h
164
int mlx5_eswitch_set_vport_vlan(struct mlx5_eswitch *esw,
sys/dev/mlx5/mlx5_core/eswitch.h
166
int mlx5_eswitch_get_vport_config(struct mlx5_eswitch *esw,
sys/dev/mlx5/mlx5_core/mlx5_eswitch.c
1033
void mlx5_eswitch_disable_sriov(struct mlx5_eswitch *esw)
sys/dev/mlx5/mlx5_core/mlx5_eswitch.c
1056
struct mlx5_eswitch *esw;
sys/dev/mlx5/mlx5_core/mlx5_eswitch.c
1124
void mlx5_eswitch_cleanup(struct mlx5_eswitch *esw)
sys/dev/mlx5/mlx5_core/mlx5_eswitch.c
1140
void mlx5_eswitch_vport_event(struct mlx5_eswitch *esw, struct mlx5_eqe *eqe)
sys/dev/mlx5/mlx5_core/mlx5_eswitch.c
1175
int mlx5_eswitch_set_vport_mac(struct mlx5_eswitch *esw,
sys/dev/mlx5/mlx5_core/mlx5_eswitch.c
1206
int mlx5_eswitch_set_vport_state(struct mlx5_eswitch *esw,
sys/dev/mlx5/mlx5_core/mlx5_eswitch.c
1219
int mlx5_eswitch_get_vport_config(struct mlx5_eswitch *esw,
sys/dev/mlx5/mlx5_core/mlx5_eswitch.c
1245
int mlx5_eswitch_set_vport_vlan(struct mlx5_eswitch *esw,
sys/dev/mlx5/mlx5_core/mlx5_eswitch.c
219
esw_fdb_set_vport_rule(struct mlx5_eswitch *esw, u8 mac[ETH_ALEN], u32 vport)
sys/dev/mlx5/mlx5_core/mlx5_eswitch.c
262
static int esw_create_fdb_table(struct mlx5_eswitch *esw)
sys/dev/mlx5/mlx5_core/mlx5_eswitch.c
326
static void esw_destroy_fdb_table(struct mlx5_eswitch *esw)
sys/dev/mlx5/mlx5_core/mlx5_eswitch.c
339
typedef int (*vport_addr_action)(struct mlx5_eswitch *esw,
sys/dev/mlx5/mlx5_core/mlx5_eswitch.c
342
static int esw_add_uc_addr(struct mlx5_eswitch *esw, struct vport_addr *vaddr)
sys/dev/mlx5/mlx5_core/mlx5_eswitch.c
378
static int esw_del_uc_addr(struct mlx5_eswitch *esw, struct vport_addr *vaddr)
sys/dev/mlx5/mlx5_core/mlx5_eswitch.c
403
static int esw_add_mc_addr(struct mlx5_eswitch *esw, struct vport_addr *vaddr)
sys/dev/mlx5/mlx5_core/mlx5_eswitch.c
434
static int esw_del_mc_addr(struct mlx5_eswitch *esw, struct vport_addr *vaddr)
sys/dev/mlx5/mlx5_core/mlx5_eswitch.c
468
static void esw_apply_vport_addr_list(struct mlx5_eswitch *esw,
sys/dev/mlx5/mlx5_core/mlx5_eswitch.c
503
static void esw_update_vport_addr_list(struct mlx5_eswitch *esw,
sys/dev/mlx5/mlx5_core/mlx5_eswitch.c
571
struct mlx5_eswitch *esw = dev->priv.eswitch;
sys/dev/mlx5/mlx5_core/mlx5_eswitch.c
598
static void esw_vport_enable_egress_acl(struct mlx5_eswitch *esw,
sys/dev/mlx5/mlx5_core/mlx5_eswitch.c
677
static void esw_vport_cleanup_egress_rules(struct mlx5_eswitch *esw,
sys/dev/mlx5/mlx5_core/mlx5_eswitch.c
684
static void esw_vport_disable_egress_acl(struct mlx5_eswitch *esw,
sys/dev/mlx5/mlx5_core/mlx5_eswitch.c
701
static void esw_vport_enable_ingress_acl(struct mlx5_eswitch *esw,
sys/dev/mlx5/mlx5_core/mlx5_eswitch.c
764
static void esw_vport_cleanup_ingress_rules(struct mlx5_eswitch *esw,
sys/dev/mlx5/mlx5_core/mlx5_eswitch.c
770
static void esw_vport_disable_ingress_acl(struct mlx5_eswitch *esw,
sys/dev/mlx5/mlx5_core/mlx5_eswitch.c
785
static int esw_vport_ingress_config(struct mlx5_eswitch *esw,
sys/dev/mlx5/mlx5_core/mlx5_eswitch.c
833
static int esw_vport_egress_config(struct mlx5_eswitch *esw,
sys/dev/mlx5/mlx5_core/mlx5_eswitch.c
896
static void esw_enable_vport(struct mlx5_eswitch *esw, int vport_num,
sys/dev/mlx5/mlx5_core/mlx5_eswitch.c
934
static void esw_cleanup_vport(struct mlx5_eswitch *esw, u16 vport_num)
sys/dev/mlx5/mlx5_core/mlx5_eswitch.c
955
static void esw_disable_vport(struct mlx5_eswitch *esw, int vport_num)
sys/dev/mlx5/mlx5_core/mlx5_eswitch.c
992
int mlx5_eswitch_enable_sriov(struct mlx5_eswitch *esw, int nvfs)