Searched refs:mlx5_eswitch (Results 1 – 10 of 10) sorted by relevance
/Linux-v4.19/drivers/net/ethernet/mellanox/mlx5/core/ |
D | eswitch.h | 163 struct mlx5_eswitch { struct 186 void esw_offloads_cleanup(struct mlx5_eswitch *esw, int nvports); argument 187 int esw_offloads_init(struct mlx5_eswitch *esw, int nvports); 188 void esw_offloads_cleanup_reps(struct mlx5_eswitch *esw); 189 int esw_offloads_init_reps(struct mlx5_eswitch *esw); 193 void mlx5_eswitch_cleanup(struct mlx5_eswitch *esw); 194 void mlx5_eswitch_vport_event(struct mlx5_eswitch *esw, struct mlx5_eqe *eqe); 195 int mlx5_eswitch_enable_sriov(struct mlx5_eswitch *esw, int nvfs, int mode); 196 void mlx5_eswitch_disable_sriov(struct mlx5_eswitch *esw); 197 int mlx5_eswitch_set_vport_mac(struct mlx5_eswitch *esw, [all …]
|
D | eswitch_offloads.c | 47 mlx5_eswitch_add_offloaded_rule(struct mlx5_eswitch *esw, in mlx5_eswitch_add_offloaded_rule() 148 mlx5_eswitch_add_fwd_rule(struct mlx5_eswitch *esw, in mlx5_eswitch_add_fwd_rule() 199 mlx5_eswitch_del_offloaded_rule(struct mlx5_eswitch *esw, in mlx5_eswitch_del_offloaded_rule() 211 static int esw_set_global_vlan_pop(struct mlx5_eswitch *esw, u8 val) in esw_set_global_vlan_pop() 283 int mlx5_eswitch_add_vlan_action(struct mlx5_eswitch *esw, in mlx5_eswitch_add_vlan_action() 346 int mlx5_eswitch_del_vlan_action(struct mlx5_eswitch *esw, in mlx5_eswitch_del_vlan_action() 400 mlx5_eswitch_add_send_to_vport_rule(struct mlx5_eswitch *esw, int vport, u32 sqn) in mlx5_eswitch_add_send_to_vport_rule() 442 static int esw_add_fdb_miss_rule(struct mlx5_eswitch *esw) in esw_add_fdb_miss_rule() 504 static int esw_create_offloads_fast_fdb_table(struct mlx5_eswitch *esw) in esw_create_offloads_fast_fdb_table() 567 static void esw_destroy_offloads_fast_fdb_table(struct mlx5_eswitch *esw) in esw_destroy_offloads_fast_fdb_table() [all …]
|
D | eswitch.c | 154 __esw_fdb_set_vport_rule(struct mlx5_eswitch *esw, u32 vport, bool rx_rule, in __esw_fdb_set_vport_rule() 217 esw_fdb_set_vport_rule(struct mlx5_eswitch *esw, u8 mac[ETH_ALEN], u32 vport) in esw_fdb_set_vport_rule() 226 esw_fdb_set_vport_allmulti_rule(struct mlx5_eswitch *esw, u32 vport) in esw_fdb_set_vport_allmulti_rule() 239 esw_fdb_set_vport_promisc_rule(struct mlx5_eswitch *esw, u32 vport) in esw_fdb_set_vport_promisc_rule() 249 static int esw_create_legacy_fdb_table(struct mlx5_eswitch *esw) in esw_create_legacy_fdb_table() 356 static void esw_destroy_legacy_fdb_table(struct mlx5_eswitch *esw) in esw_destroy_legacy_fdb_table() 373 typedef int (*vport_addr_action)(struct mlx5_eswitch *esw, 376 static int esw_add_uc_addr(struct mlx5_eswitch *esw, struct vport_addr *vaddr) in esw_add_uc_addr() 408 static int esw_del_uc_addr(struct mlx5_eswitch *esw, struct vport_addr *vaddr) in esw_del_uc_addr() 435 static void update_allmulti_vports(struct mlx5_eswitch *esw, in update_allmulti_vports() [all …]
|
D | en_rep.c | 105 struct mlx5_eswitch *esw = priv->mdev->priv.eswitch; in mlx5e_rep_update_hw_counters() 198 struct mlx5_eswitch *esw = priv->mdev->priv.eswitch; in mlx5e_attr_get() 215 static void mlx5e_sqs2vport_stop(struct mlx5_eswitch *esw, in mlx5e_sqs2vport_stop() 232 static int mlx5e_sqs2vport_start(struct mlx5_eswitch *esw, in mlx5e_sqs2vport_start() 274 struct mlx5_eswitch *esw = priv->mdev->priv.eswitch; in mlx5e_add_sqs_fwd_rules() 303 struct mlx5_eswitch *esw = priv->mdev->priv.eswitch; in mlx5e_remove_sqs_fwd_rules() 822 struct mlx5_eswitch *esw = priv->mdev->priv.eswitch; in mlx5e_is_uplink_rep() 999 struct mlx5_eswitch *esw = priv->mdev->priv.eswitch; in mlx5e_init_rep_rx() 1229 struct mlx5_eswitch *esw = mdev->priv.eswitch; in mlx5e_rep_register_vf_vports() 1246 struct mlx5_eswitch *esw = mdev->priv.eswitch; in mlx5e_rep_unregister_vf_vports() [all …]
|
D | en_tc.c | 175 struct mlx5_eswitch *esw = priv->mdev->priv.eswitch; in mlx5e_attach_mod_hdr() 829 struct mlx5_eswitch *esw = priv->mdev->priv.eswitch; in mlx5e_tc_add_fdb_flow() 902 struct mlx5_eswitch *esw = priv->mdev->priv.eswitch; in mlx5e_tc_del_fdb_flow() 926 struct mlx5_eswitch *esw = priv->mdev->priv.eswitch; in mlx5e_tc_encap_flows_add() 971 struct mlx5_eswitch *esw = priv->mdev->priv.eswitch; in mlx5e_tc_encap_flows_del() 1636 struct mlx5_eswitch *esw = dev->priv.eswitch; in parse_cls_flower() 2154 struct mlx5_eswitch *esw = priv->mdev->priv.eswitch; in mlx5e_route_lookup_ipv4() 2213 struct mlx5_eswitch *esw = priv->mdev->priv.eswitch; in mlx5e_route_lookup_ipv6() 2534 struct mlx5_eswitch *esw = priv->mdev->priv.eswitch; in mlx5e_attach_encap() 2804 struct mlx5_eswitch *esw = priv->mdev->priv.eswitch; in get_tc_ht() [all …]
|
/Linux-v4.19/drivers/infiniband/hw/mlx5/ |
D | ib_rep.h | 13 u8 mlx5_ib_eswitch_mode(struct mlx5_eswitch *esw); 14 struct mlx5_ib_dev *mlx5_ib_get_rep_ibdev(struct mlx5_eswitch *esw, 16 struct mlx5_ib_dev *mlx5_ib_get_uplink_ibdev(struct mlx5_eswitch *esw); 17 struct mlx5_eswitch_rep *mlx5_ib_vport_rep(struct mlx5_eswitch *esw, 23 struct net_device *mlx5_ib_get_rep_netdev(struct mlx5_eswitch *esw, 26 static inline u8 mlx5_ib_eswitch_mode(struct mlx5_eswitch *esw) in mlx5_ib_eswitch_mode() 32 struct mlx5_ib_dev *mlx5_ib_get_rep_ibdev(struct mlx5_eswitch *esw, in mlx5_ib_get_rep_ibdev() 39 struct mlx5_ib_dev *mlx5_ib_get_uplink_ibdev(struct mlx5_eswitch *esw) in mlx5_ib_get_uplink_ibdev() 45 struct mlx5_eswitch_rep *mlx5_ib_vport_rep(struct mlx5_eswitch *esw, in mlx5_ib_vport_rep() 60 struct net_device *mlx5_ib_get_rep_netdev(struct mlx5_eswitch *esw, in mlx5_ib_get_rep_netdev()
|
D | ib_rep.c | 100 struct mlx5_eswitch *esw = dev->mdev->priv.eswitch; in mlx5_ib_rep_register_vf_vports() 116 struct mlx5_eswitch *esw = dev->mdev->priv.eswitch; in mlx5_ib_rep_unregister_vf_vports() 126 struct mlx5_eswitch *esw = dev->mdev->priv.eswitch; in mlx5_ib_register_vport_reps() 141 struct mlx5_eswitch *esw = dev->mdev->priv.eswitch; in mlx5_ib_unregister_vport_reps() 147 u8 mlx5_ib_eswitch_mode(struct mlx5_eswitch *esw) in mlx5_ib_eswitch_mode() 152 struct mlx5_ib_dev *mlx5_ib_get_rep_ibdev(struct mlx5_eswitch *esw, in mlx5_ib_get_rep_ibdev() 158 struct net_device *mlx5_ib_get_rep_netdev(struct mlx5_eswitch *esw, in mlx5_ib_get_rep_netdev() 164 struct mlx5_ib_dev *mlx5_ib_get_uplink_ibdev(struct mlx5_eswitch *esw) in mlx5_ib_get_uplink_ibdev() 169 struct mlx5_eswitch_rep *mlx5_ib_vport_rep(struct mlx5_eswitch *esw, int vport) in mlx5_ib_vport_rep() 178 struct mlx5_eswitch *esw = dev->mdev->priv.eswitch; in create_flow_rule_vport_sq()
|
D | main.c | 174 struct mlx5_eswitch *esw = ibdev->mdev->priv.eswitch; in mlx5_netdev_event()
|
/Linux-v4.19/include/linux/mlx5/ |
D | eswitch.h | 43 void mlx5_eswitch_register_vport_rep(struct mlx5_eswitch *esw, 47 void mlx5_eswitch_unregister_vport_rep(struct mlx5_eswitch *esw, 50 void *mlx5_eswitch_get_proto_dev(struct mlx5_eswitch *esw, 53 struct mlx5_eswitch_rep *mlx5_eswitch_vport_rep(struct mlx5_eswitch *esw, 55 void *mlx5_eswitch_uplink_get_proto_dev(struct mlx5_eswitch *esw, u8 rep_type); 56 u8 mlx5_eswitch_mode(struct mlx5_eswitch *esw); 58 mlx5_eswitch_add_send_to_vport_rule(struct mlx5_eswitch *esw,
|
D | driver.h | 598 struct mlx5_eswitch; 700 struct mlx5_eswitch *eswitch;
|