Home
last modified time | relevance | path

Searched defs:esw (Results 1 – 11 of 11) sorted by relevance

/Linux-v4.19/drivers/net/ethernet/mellanox/mlx5/core/
Deswitch.c154 __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()
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()
482 static int esw_add_mc_addr(struct mlx5_eswitch *esw, struct vport_addr *vaddr) in esw_add_mc_addr()
[all …]
Deswitch_offloads.c47 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 …]
Den_rep.c105 struct mlx5_eswitch *esw = priv->mdev->priv.eswitch; in mlx5e_rep_update_hw_counters() local
198 struct mlx5_eswitch *esw = priv->mdev->priv.eswitch; in mlx5e_attr_get() local
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() local
303 struct mlx5_eswitch *esw = priv->mdev->priv.eswitch; in mlx5e_remove_sqs_fwd_rules() local
822 struct mlx5_eswitch *esw = priv->mdev->priv.eswitch; in mlx5e_is_uplink_rep() local
999 struct mlx5_eswitch *esw = priv->mdev->priv.eswitch; in mlx5e_init_rep_rx() local
1229 struct mlx5_eswitch *esw = mdev->priv.eswitch; in mlx5e_rep_register_vf_vports() local
1246 struct mlx5_eswitch *esw = mdev->priv.eswitch; in mlx5e_rep_unregister_vf_vports() local
[all …]
Den_tc.c175 struct mlx5_eswitch *esw = priv->mdev->priv.eswitch; in mlx5e_attach_mod_hdr() local
829 struct mlx5_eswitch *esw = priv->mdev->priv.eswitch; in mlx5e_tc_add_fdb_flow() local
902 struct mlx5_eswitch *esw = priv->mdev->priv.eswitch; in mlx5e_tc_del_fdb_flow() local
926 struct mlx5_eswitch *esw = priv->mdev->priv.eswitch; in mlx5e_tc_encap_flows_add() local
971 struct mlx5_eswitch *esw = priv->mdev->priv.eswitch; in mlx5e_tc_encap_flows_del() local
1636 struct mlx5_eswitch *esw = dev->priv.eswitch; in parse_cls_flower() local
2154 struct mlx5_eswitch *esw = priv->mdev->priv.eswitch; in mlx5e_route_lookup_ipv4() local
2213 struct mlx5_eswitch *esw = priv->mdev->priv.eswitch; in mlx5e_route_lookup_ipv6() local
2534 struct mlx5_eswitch *esw = priv->mdev->priv.eswitch; in mlx5e_attach_encap() local
2804 struct mlx5_eswitch *esw = priv->mdev->priv.eswitch; in get_tc_ht() local
[all …]
Deswitch.h313 static inline void mlx5_eswitch_cleanup(struct mlx5_eswitch *esw) {} in mlx5_eswitch_cleanup()
314 static inline void mlx5_eswitch_vport_event(struct mlx5_eswitch *esw, struct mlx5_eqe *eqe) {} in mlx5_eswitch_vport_event()
315 static inline int mlx5_eswitch_enable_sriov(struct mlx5_eswitch *esw, int nvfs, int mode) { return… in mlx5_eswitch_enable_sriov()
316 static inline void mlx5_eswitch_disable_sriov(struct mlx5_eswitch *esw) {} in mlx5_eswitch_disable_sriov()
/Linux-v4.19/drivers/infiniband/hw/mlx5/
Dib_rep.c100 struct mlx5_eswitch *esw = dev->mdev->priv.eswitch; in mlx5_ib_rep_register_vf_vports() local
116 struct mlx5_eswitch *esw = dev->mdev->priv.eswitch; in mlx5_ib_rep_unregister_vf_vports() local
126 struct mlx5_eswitch *esw = dev->mdev->priv.eswitch; in mlx5_ib_register_vport_reps() local
141 struct mlx5_eswitch *esw = dev->mdev->priv.eswitch; in mlx5_ib_unregister_vport_reps() local
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() local
Dib_rep.h26 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()
Dmain.c174 struct mlx5_eswitch *esw = ibdev->mdev->priv.eswitch; in mlx5_netdev_event() local
/Linux-v4.19/arch/s390/include/asm/
Dcio.h242 } esw; member
/Linux-v4.19/arch/mips/include/asm/octeon/
Dcvmx-npi-defs.h1680 uint64_t esw:2; member
1704 uint64_t esw:2; member
Dcvmx-npei-defs.h2990 uint64_t esw:2; member