Home
last modified time | relevance | path

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

12

/Linux-v5.15/drivers/net/ethernet/mellanox/mlx5/core/
Deswitch_offloads.c53 #define mlx5_esw_for_each_rep(esw, i, rep) \ argument
56 #define mlx5_esw_for_each_sf_rep(esw, i, rep) \ argument
59 #define mlx5_esw_for_each_vf_rep(esw, index, rep) \ argument
78 static struct mlx5_eswitch_rep *mlx5_eswitch_get_rep(struct mlx5_eswitch *esw, in mlx5_eswitch_get_rep()
85 mlx5_eswitch_set_rule_flow_source(struct mlx5_eswitch *esw, in mlx5_eswitch_set_rule_flow_source()
101 mlx5_eswitch_clear_rule_source_port(struct mlx5_eswitch *esw, struct mlx5_flow_spec *spec) in mlx5_eswitch_clear_rule_source_port()
118 mlx5_eswitch_set_rule_source_port(struct mlx5_eswitch *esw, in mlx5_eswitch_set_rule_source_port()
163 esw_setup_decap_indir(struct mlx5_eswitch *esw, in esw_setup_decap_indir()
178 esw_cleanup_decap_indir(struct mlx5_eswitch *esw, in esw_cleanup_decap_indir()
203 struct mlx5_eswitch *esw, in esw_setup_ft_dest()
[all …]
Deswitch.c91 mlx5_eswitch_get_vport(struct mlx5_eswitch *esw, u16 vport_num) in mlx5_eswitch_get_vport()
183 __esw_fdb_set_vport_rule(struct mlx5_eswitch *esw, u16 vport, bool rx_rule, in __esw_fdb_set_vport_rule()
246 esw_fdb_set_vport_rule(struct mlx5_eswitch *esw, u8 mac[ETH_ALEN], u16 vport) in esw_fdb_set_vport_rule()
255 esw_fdb_set_vport_allmulti_rule(struct mlx5_eswitch *esw, u16 vport) in esw_fdb_set_vport_allmulti_rule()
268 esw_fdb_set_vport_promisc_rule(struct mlx5_eswitch *esw, u16 vport) in esw_fdb_set_vport_promisc_rule()
282 static int esw_add_uc_addr(struct mlx5_eswitch *esw, struct vport_addr *vaddr) in esw_add_uc_addr()
314 static int esw_del_uc_addr(struct mlx5_eswitch *esw, struct vport_addr *vaddr) in esw_del_uc_addr()
341 static void update_allmulti_vports(struct mlx5_eswitch *esw, in update_allmulti_vports()
390 static int esw_add_mc_addr(struct mlx5_eswitch *esw, struct vport_addr *vaddr) in esw_add_mc_addr()
430 static int esw_del_mc_addr(struct mlx5_eswitch *esw, struct vport_addr *vaddr) in esw_del_mc_addr()
[all …]
Deswitch_offloads_termtbl.c110 mlx5_eswitch_termtbl_get_create(struct mlx5_eswitch *esw, in mlx5_eswitch_termtbl_get_create()
161 mlx5_eswitch_termtbl_put(struct mlx5_eswitch *esw, in mlx5_eswitch_termtbl_put()
195 static bool mlx5_eswitch_offload_is_uplink_port(const struct mlx5_eswitch *esw, in mlx5_eswitch_offload_is_uplink_port()
212 mlx5_eswitch_termtbl_required(struct mlx5_eswitch *esw, in mlx5_eswitch_termtbl_required()
239 mlx5_eswitch_add_termtbl_rule(struct mlx5_eswitch *esw, in mlx5_eswitch_add_termtbl_rule()
Deswitch.h82 #define esw_chains(esw) \ argument
268 struct mlx5_eswitch *esw; member
503 static inline bool mlx5_esw_qos_enabled(struct mlx5_eswitch *esw) in mlx5_esw_qos_enabled()
539 static inline bool mlx5_esw_allowed(const struct mlx5_eswitch *esw) in mlx5_esw_allowed()
552 mlx5_esw_is_manager_vport(const struct mlx5_eswitch *esw, u16 vport_num) in mlx5_esw_is_manager_vport()
598 #define mlx5_esw_for_each_vport(esw, index, vport) \ argument
605 #define mlx5_esw_for_each_vport_marked(esw, index, vport, last, filter) \ argument
608 #define mlx5_esw_for_each_vf_vport(esw, index, vport, last) \ argument
611 #define mlx5_esw_for_each_host_func_vport(esw, index, vport, last) \ argument
724 static inline void mlx5_eswitch_cleanup(struct mlx5_eswitch *esw) {} in mlx5_eswitch_cleanup()
[all …]
Den_rep.c167 struct mlx5_eswitch *esw = priv->mdev->priv.eswitch; in MLX5E_DECLARE_STATS_GRP_OP_UPDATE_STATS() local
306 static void mlx5e_sqs2vport_stop(struct mlx5_eswitch *esw, in mlx5e_sqs2vport_stop()
325 static int mlx5e_sqs2vport_start(struct mlx5_eswitch *esw, in mlx5e_sqs2vport_start()
393 struct mlx5_eswitch *esw = priv->mdev->priv.eswitch; in mlx5e_add_sqs_fwd_rules() local
423 struct mlx5_eswitch *esw = priv->mdev->priv.eswitch; in mlx5e_remove_sqs_fwd_rules() local
759 struct mlx5_eswitch *esw = priv->mdev->priv.eswitch; in mlx5e_create_rep_vport_rx_rule() local
1302 static int mlx5e_vport_rep_event_pair(struct mlx5_eswitch *esw, in mlx5e_vport_rep_event_pair()
1326 static int mlx5e_vport_rep_event(struct mlx5_eswitch *esw, in mlx5e_vport_rep_event()
1353 struct mlx5_eswitch *esw; in mlx5e_rep_probe() local
1364 struct mlx5_eswitch *esw; in mlx5e_rep_remove() local
Den_tc.c237 struct mlx5_eswitch *esw = priv->mdev->priv.eswitch; in get_ct_priv() local
255 struct mlx5_eswitch *esw = priv->mdev->priv.eswitch; in get_sample_priv() local
275 struct mlx5_eswitch *esw = priv->mdev->priv.eswitch; in mlx5_tc_rule_insert() local
288 struct mlx5_eswitch *esw = priv->mdev->priv.eswitch; in mlx5_tc_rule_delete() local
410 struct mlx5_eswitch *esw = priv->mdev->priv.eswitch; in get_mod_hdr_table() local
1134 mlx5e_tc_offload_fdb_rules(struct mlx5_eswitch *esw, in mlx5e_tc_offload_fdb_rules()
1177 void mlx5e_tc_unoffload_fdb_rules(struct mlx5_eswitch *esw, in mlx5e_tc_unoffload_fdb_rules()
1206 mlx5e_tc_offload_to_slow_path(struct mlx5_eswitch *esw, in mlx5e_tc_offload_to_slow_path()
1231 void mlx5e_tc_unoffload_from_slow_path(struct mlx5_eswitch *esw, in mlx5e_tc_unoffload_from_slow_path()
1274 struct mlx5_eswitch *esw; in add_unready_flow() local
[all …]
/Linux-v5.15/drivers/net/ethernet/mellanox/mlx5/core/esw/
Dlegacy.c21 static int esw_create_legacy_vepa_table(struct mlx5_eswitch *esw) in esw_create_legacy_vepa_table()
50 static void esw_destroy_legacy_fdb_table(struct mlx5_eswitch *esw) in esw_destroy_legacy_fdb_table()
71 static int esw_create_legacy_fdb_table(struct mlx5_eswitch *esw) in esw_create_legacy_fdb_table()
166 static void esw_destroy_legacy_vepa_table(struct mlx5_eswitch *esw) in esw_destroy_legacy_vepa_table()
176 static int esw_create_legacy_table(struct mlx5_eswitch *esw) in esw_create_legacy_table()
194 static void esw_cleanup_vepa_rules(struct mlx5_eswitch *esw) in esw_cleanup_vepa_rules()
206 static void esw_destroy_legacy_table(struct mlx5_eswitch *esw) in esw_destroy_legacy_table()
217 int esw_legacy_enable(struct mlx5_eswitch *esw) in esw_legacy_enable()
236 void esw_legacy_disable(struct mlx5_eswitch *esw) in esw_legacy_disable()
249 static int _mlx5_eswitch_set_vepa_locked(struct mlx5_eswitch *esw, in _mlx5_eswitch_set_vepa_locked()
[all …]
Dqos.c46 static int esw_qos_group_config(struct mlx5_eswitch *esw, struct mlx5_esw_rate_group *group, in esw_qos_group_config()
64 static int esw_qos_vport_config(struct mlx5_eswitch *esw, in esw_qos_vport_config()
101 static u32 esw_qos_calculate_min_rate_divider(struct mlx5_eswitch *esw, in esw_qos_calculate_min_rate_divider()
146 static int esw_qos_normalize_vports_min_rate(struct mlx5_eswitch *esw, in esw_qos_normalize_vports_min_rate()
175 static int esw_qos_normalize_groups_min_rate(struct mlx5_eswitch *esw, u32 divider, in esw_qos_normalize_groups_min_rate()
207 int mlx5_esw_qos_set_vport_min_rate(struct mlx5_eswitch *esw, in mlx5_esw_qos_set_vport_min_rate()
234 int mlx5_esw_qos_set_vport_max_rate(struct mlx5_eswitch *esw, in mlx5_esw_qos_set_vport_max_rate()
265 static int esw_qos_set_group_min_rate(struct mlx5_eswitch *esw, struct mlx5_esw_rate_group *group, in esw_qos_set_group_min_rate()
296 static int esw_qos_set_group_max_rate(struct mlx5_eswitch *esw, in esw_qos_set_group_max_rate()
330 static int esw_qos_vport_create_sched_element(struct mlx5_eswitch *esw, in esw_qos_vport_create_sched_element()
[all …]
Ddevlink_port.c17 static bool mlx5_esw_devlink_port_supported(struct mlx5_eswitch *esw, u16 vport_num) in mlx5_esw_devlink_port_supported()
24 static struct devlink_port *mlx5_esw_dl_port_alloc(struct mlx5_eswitch *esw, u16 vport_num) in mlx5_esw_dl_port_alloc()
68 int mlx5_esw_offloads_devlink_port_register(struct mlx5_eswitch *esw, u16 vport_num) in mlx5_esw_offloads_devlink_port_register()
108 void mlx5_esw_offloads_devlink_port_unregister(struct mlx5_eswitch *esw, u16 vport_num) in mlx5_esw_offloads_devlink_port_unregister()
129 struct devlink_port *mlx5_esw_offloads_devlink_port(struct mlx5_eswitch *esw, u16 vport_num) in mlx5_esw_offloads_devlink_port()
137 int mlx5_esw_devlink_sf_port_register(struct mlx5_eswitch *esw, struct devlink_port *dl_port, in mlx5_esw_devlink_sf_port_register()
175 void mlx5_esw_devlink_sf_port_unregister(struct mlx5_eswitch *esw, u16 vport_num) in mlx5_esw_devlink_sf_port_unregister()
Dindir_table.c74 mlx5_esw_indir_table_needed(struct mlx5_eswitch *esw, in mlx5_esw_indir_table_needed()
117 static int mlx5_esw_indir_table_rule_get(struct mlx5_eswitch *esw, in mlx5_esw_indir_table_rule_get()
255 static void mlx5_esw_indir_table_rule_put(struct mlx5_eswitch *esw, in mlx5_esw_indir_table_rule_put()
283 static int mlx5_create_indir_recirc_group(struct mlx5_eswitch *esw, in mlx5_create_indir_recirc_group()
335 static int mlx5_create_indir_fwd_group(struct mlx5_eswitch *esw, in mlx5_create_indir_fwd_group()
381 mlx5_esw_indir_table_entry_create(struct mlx5_eswitch *esw, struct mlx5_flow_attr *attr, in mlx5_esw_indir_table_entry_create()
445 mlx5_esw_indir_table_entry_lookup(struct mlx5_eswitch *esw, u16 vport, u8 ip_version) in mlx5_esw_indir_table_entry_lookup()
457 struct mlx5_flow_table *mlx5_esw_indir_table_get(struct mlx5_eswitch *esw, in mlx5_esw_indir_table_get()
491 void mlx5_esw_indir_table_put(struct mlx5_eswitch *esw, in mlx5_esw_indir_table_put()
Dvporttbl.c25 esw_vport_tbl_create(struct mlx5_eswitch *esw, struct mlx5_flow_namespace *ns, in esw_vport_tbl_create()
47 static u32 flow_attr_to_vport_key(struct mlx5_eswitch *esw, in flow_attr_to_vport_key()
61 esw_vport_tbl_lookup(struct mlx5_eswitch *esw, struct mlx5_vport_key *skey, u32 key) in esw_vport_tbl_lookup()
73 mlx5_esw_vporttbl_get(struct mlx5_eswitch *esw, struct mlx5_vport_tbl_attr *attr) in mlx5_esw_vporttbl_get()
123 mlx5_esw_vporttbl_put(struct mlx5_eswitch *esw, struct mlx5_vport_tbl_attr *attr) in mlx5_esw_vporttbl_put()
Dbridge.c90 mlx5_esw_bridge_table_create(int max_fte, u32 level, struct mlx5_eswitch *esw) in mlx5_esw_bridge_table_create()
115 mlx5_esw_bridge_ingress_vlan_fg_create(struct mlx5_eswitch *esw, struct mlx5_flow_table *ingress_ft) in mlx5_esw_bridge_ingress_vlan_fg_create()
153 mlx5_esw_bridge_ingress_filter_fg_create(struct mlx5_eswitch *esw, in mlx5_esw_bridge_ingress_filter_fg_create()
191 mlx5_esw_bridge_ingress_mac_fg_create(struct mlx5_eswitch *esw, struct mlx5_flow_table *ingress_ft) in mlx5_esw_bridge_ingress_mac_fg_create()
227 mlx5_esw_bridge_egress_vlan_fg_create(struct mlx5_eswitch *esw, struct mlx5_flow_table *egress_ft) in mlx5_esw_bridge_egress_vlan_fg_create()
260 mlx5_esw_bridge_egress_mac_fg_create(struct mlx5_eswitch *esw, struct mlx5_flow_table *egress_ft) in mlx5_esw_bridge_egress_mac_fg_create()
415 struct mlx5_eswitch *esw) in mlx5_esw_bridge_ingress_flow_with_esw_create()
756 mlx5_esw_bridge_vlan_push_create(struct mlx5_esw_bridge_vlan *vlan, struct mlx5_eswitch *esw) in mlx5_esw_bridge_vlan_push_create()
792 mlx5_esw_bridge_vlan_push_cleanup(struct mlx5_esw_bridge_vlan *vlan, struct mlx5_eswitch *esw) in mlx5_esw_bridge_vlan_push_cleanup()
799 mlx5_esw_bridge_vlan_pop_create(struct mlx5_esw_bridge_vlan *vlan, struct mlx5_eswitch *esw) in mlx5_esw_bridge_vlan_pop_create()
[all …]
Dindir_table.h45 mlx5_esw_indir_table_get(struct mlx5_eswitch *esw, in mlx5_esw_indir_table_get()
54 mlx5_esw_indir_table_put(struct mlx5_eswitch *esw, in mlx5_esw_indir_table_put()
61 mlx5_esw_indir_table_needed(struct mlx5_eswitch *esw, in mlx5_esw_indir_table_needed()
/Linux-v5.15/drivers/net/ethernet/mellanox/mlx5/core/esw/acl/
Dingress_ofld.c10 esw_acl_ingress_prio_tag_enabled(struct mlx5_eswitch *esw, in esw_acl_ingress_prio_tag_enabled()
17 static int esw_acl_ingress_prio_tag_create(struct mlx5_eswitch *esw, in esw_acl_ingress_prio_tag_create()
62 static int esw_acl_ingress_mod_metadata_create(struct mlx5_eswitch *esw, in esw_acl_ingress_mod_metadata_create()
109 static void esw_acl_ingress_mod_metadata_destroy(struct mlx5_eswitch *esw, in esw_acl_ingress_mod_metadata_destroy()
120 static int esw_acl_ingress_ofld_rules_create(struct mlx5_eswitch *esw, in esw_acl_ingress_ofld_rules_create()
152 static void esw_acl_ingress_ofld_rules_destroy(struct mlx5_eswitch *esw, in esw_acl_ingress_ofld_rules_destroy()
159 static int esw_acl_ingress_ofld_groups_create(struct mlx5_eswitch *esw, in esw_acl_ingress_ofld_groups_create()
241 int esw_acl_ingress_ofld_setup(struct mlx5_eswitch *esw, in esw_acl_ingress_ofld_setup()
287 void esw_acl_ingress_ofld_cleanup(struct mlx5_eswitch *esw, in esw_acl_ingress_ofld_cleanup()
296 int mlx5_esw_acl_ingress_vport_bond_update(struct mlx5_eswitch *esw, u16 vport_num, in mlx5_esw_acl_ingress_vport_bond_update()
Degress_ofld.c27 static int esw_acl_egress_ofld_fwd2vport_create(struct mlx5_eswitch *esw, in esw_acl_egress_ofld_fwd2vport_create()
56 static int esw_acl_egress_ofld_rules_create(struct mlx5_eswitch *esw, in esw_acl_egress_ofld_rules_create()
102 static int esw_acl_egress_ofld_groups_create(struct mlx5_eswitch *esw, in esw_acl_egress_ofld_groups_create()
167 static bool esw_acl_egress_needed(struct mlx5_eswitch *esw, u16 vport_num) in esw_acl_egress_needed()
172 int esw_acl_egress_ofld_setup(struct mlx5_eswitch *esw, struct mlx5_vport *vport) in esw_acl_egress_ofld_setup()
224 int mlx5_esw_acl_egress_vport_bond(struct mlx5_eswitch *esw, u16 active_vport_num, in mlx5_esw_acl_egress_vport_bond()
250 int mlx5_esw_acl_egress_vport_unbond(struct mlx5_eswitch *esw, u16 vport_num) in mlx5_esw_acl_egress_vport_unbond()
Degress_lgcy.c18 static int esw_acl_egress_lgcy_groups_create(struct mlx5_eswitch *esw, in esw_acl_egress_lgcy_groups_create()
67 int esw_acl_egress_lgcy_setup(struct mlx5_eswitch *esw, in esw_acl_egress_lgcy_setup()
156 void esw_acl_egress_lgcy_cleanup(struct mlx5_eswitch *esw, in esw_acl_egress_lgcy_cleanup()
Dingress_lgcy.c18 static int esw_acl_ingress_lgcy_groups_create(struct mlx5_eswitch *esw, in esw_acl_ingress_lgcy_groups_create()
139 int esw_acl_ingress_lgcy_setup(struct mlx5_eswitch *esw, in esw_acl_ingress_lgcy_setup()
265 void esw_acl_ingress_lgcy_cleanup(struct mlx5_eswitch *esw, in esw_acl_ingress_lgcy_cleanup()
Dhelper.c9 esw_acl_table_create(struct mlx5_eswitch *esw, struct mlx5_vport *vport, int ns, int size) in esw_acl_table_create()
48 int esw_egress_acl_vlan_create(struct mlx5_eswitch *esw, in esw_egress_acl_vlan_create()
94 int esw_acl_egress_vlan_grp_create(struct mlx5_eswitch *esw, struct mlx5_vport *vport) in esw_acl_egress_vlan_grp_create()
/Linux-v5.15/drivers/infiniband/hw/mlx5/
Dib_rep.c139 struct mlx5_eswitch *esw; in mlx5_ib_vport_rep_unload() local
159 struct mlx5_eswitch *esw; in mlx5_ib_register_peer_vport_reps() local
168 struct net_device *mlx5_ib_get_rep_netdev(struct mlx5_eswitch *esw, in mlx5_ib_get_rep_netdev()
178 struct mlx5_eswitch *esw = dev->mdev->priv.eswitch; in create_flow_rule_vport_sq() local
197 struct mlx5_eswitch *esw; in mlx5r_rep_probe() local
208 struct mlx5_eswitch *esw; in mlx5r_rep_remove() local
/Linux-v5.15/drivers/net/ethernet/mellanox/mlx5/core/en/
Dtc_tun_encap.c122 struct mlx5_eswitch *esw = priv->mdev->priv.eswitch; in mlx5e_tc_encap_flows_add() local
182 struct mlx5_eswitch *esw = priv->mdev->priv.eswitch; in mlx5e_tc_encap_flows_del() local
356 struct mlx5_eswitch *esw; in mlx5e_tc_update_neigh_used_value() local
433 struct mlx5_eswitch *esw = priv->mdev->priv.eswitch; in mlx5e_encap_put() local
446 struct mlx5_eswitch *esw = priv->mdev->priv.eswitch; in mlx5e_decap_put() local
464 struct mlx5_eswitch *esw = priv->mdev->priv.eswitch; in mlx5e_detach_encap() local
491 struct mlx5_eswitch *esw = priv->mdev->priv.eswitch; in mlx5e_detach_decap() local
549 struct mlx5_eswitch *esw = priv->mdev->priv.eswitch; in mlx5e_encap_get() local
569 struct mlx5_eswitch *esw = priv->mdev->priv.eswitch; in mlx5e_decap_get() local
609 static int mlx5e_set_vf_tunnel(struct mlx5_eswitch *esw, in mlx5e_set_vf_tunnel()
[all …]
/Linux-v5.15/drivers/net/ethernet/mellanox/mlx5/core/en/rep/
Dbridge.c22 static bool mlx5_esw_bridge_dev_same_esw(struct net_device *dev, struct mlx5_eswitch *esw) in mlx5_esw_bridge_dev_same_esw()
29 static bool mlx5_esw_bridge_dev_same_hw(struct net_device *dev, struct mlx5_eswitch *esw) in mlx5_esw_bridge_dev_same_hw()
45 mlx5_esw_bridge_lag_rep_get(struct net_device *dev, struct mlx5_eswitch *esw) in mlx5_esw_bridge_lag_rep_get()
67 mlx5_esw_bridge_rep_vport_num_vhca_id_get(struct net_device *dev, struct mlx5_eswitch *esw, in mlx5_esw_bridge_rep_vport_num_vhca_id_get()
87 mlx5_esw_bridge_lower_rep_vport_num_vhca_id_get(struct net_device *dev, struct mlx5_eswitch *esw, in mlx5_esw_bridge_lower_rep_vport_num_vhca_id_get()
113 struct mlx5_eswitch *esw) in mlx5_esw_bridge_is_local()
136 struct mlx5_eswitch *esw = br_offloads->esw; in mlx5_esw_bridge_port_changeupper() local
381 struct mlx5_eswitch *esw = br_offloads->esw; in mlx5_esw_bridge_switchdev_event() local
461 struct mlx5_eswitch *esw = in mlx5e_rep_bridge_init() local
519 struct mlx5_eswitch *esw = in mlx5e_rep_bridge_cleanup() local
Dtc.c91 struct mlx5_eswitch *esw = priv->mdev->priv.eswitch; in mlx5e_rep_update_flows() local
187 struct mlx5_eswitch *esw; in mlx5e_rep_setup_ft_cb() local
363 struct mlx5_eswitch *esw; in mlx5e_rep_indr_setup_ft_cb() local
520 struct mlx5_eswitch *esw = priv->mdev->priv.eswitch; in mlx5e_restore_tunnel() local
619 struct mlx5_eswitch *esw; in mlx5e_restore_skb_chain() local
661 struct mlx5_eswitch *esw; in mlx5e_rep_tc_update_skb() local
Dbond.c26 struct mlx5_eswitch *esw; member
80 int mlx5e_rep_bond_enslave(struct mlx5_eswitch *esw, struct net_device *netdev, in mlx5e_rep_bond_enslave()
144 void mlx5e_rep_bond_unslave(struct mlx5_eswitch *esw, in mlx5e_rep_bond_unslave()
/Linux-v5.15/include/linux/mlx5/
Deswitch.h60 struct mlx5_eswitch *esw; member
157 mlx5_eswitch_reg_c1_loopback_enabled(const struct mlx5_eswitch *esw) in mlx5_eswitch_reg_c1_loopback_enabled()
163 mlx5_eswitch_vport_match_metadata_enabled(const struct mlx5_eswitch *esw) in mlx5_eswitch_vport_match_metadata_enabled()
169 mlx5_eswitch_get_vport_metadata_for_match(struct mlx5_eswitch *esw, u16 vport_num) in mlx5_eswitch_get_vport_metadata_for_match()
185 static inline struct mlx5_core_dev *mlx5_eswitch_get_core_dev(struct mlx5_eswitch *esw) in mlx5_eswitch_get_core_dev()
/Linux-v5.15/drivers/net/ethernet/mellanox/mlx5/core/en/tc/
Dsample.c22 struct mlx5_eswitch *esw; member
63 struct mlx5_eswitch *esw = tc_psample->esw; in sampler_termtbl_create() local
285 struct mlx5_eswitch *esw = tc_psample->esw; in sample_restore_get() local
365 add_post_rule(struct mlx5_eswitch *esw, struct mlx5e_sample_flow *sample_flow, in add_post_rule()
430 del_post_rule(struct mlx5_eswitch *esw, struct mlx5e_sample_flow *sample_flow, in del_post_rule()
504 struct mlx5_eswitch *esw; in mlx5e_tc_sample_offload() local
634 struct mlx5_eswitch *esw; in mlx5e_tc_sample_unoffload() local
676 mlx5e_tc_sample_init(struct mlx5_eswitch *esw, struct mlx5e_post_act *post_act) in mlx5e_tc_sample_init()

12