Home
last modified time | relevance | path

Searched refs:mlx5_vport (Results 1 – 18 of 18) sorted by relevance

/linux-6.6.21/drivers/net/ethernet/mellanox/mlx5/core/esw/acl/
Dhelper.h11 esw_acl_table_create(struct mlx5_eswitch *esw, struct mlx5_vport *vport, int ns, int size);
14 void esw_acl_egress_table_destroy(struct mlx5_vport *vport);
15 int esw_egress_acl_vlan_create(struct mlx5_eswitch *esw, struct mlx5_vport *vport,
18 void esw_acl_egress_vlan_destroy(struct mlx5_vport *vport);
19 int esw_acl_egress_vlan_grp_create(struct mlx5_eswitch *esw, struct mlx5_vport *vport);
20 void esw_acl_egress_vlan_grp_destroy(struct mlx5_vport *vport);
23 void esw_acl_ingress_table_destroy(struct mlx5_vport *vport);
24 void esw_acl_ingress_allow_rule_destroy(struct mlx5_vport *vport);
Degress_ofld.c9 static void esw_acl_egress_ofld_fwd2vport_destroy(struct mlx5_vport *vport) in esw_acl_egress_ofld_fwd2vport_destroy()
18 void esw_acl_egress_ofld_bounce_rule_destroy(struct mlx5_vport *vport, int rule_index) in esw_acl_egress_ofld_bounce_rule_destroy()
30 static void esw_acl_egress_ofld_bounce_rules_destroy(struct mlx5_vport *vport) in esw_acl_egress_ofld_bounce_rules_destroy()
42 struct mlx5_vport *vport, in esw_acl_egress_ofld_fwd2vport_create()
71 struct mlx5_vport *vport, in esw_acl_egress_ofld_rules_create()
109 static void esw_acl_egress_ofld_rules_destroy(struct mlx5_vport *vport) in esw_acl_egress_ofld_rules_destroy()
117 struct mlx5_vport *vport) in esw_acl_egress_ofld_groups_create()
166 static void esw_acl_egress_ofld_groups_destroy(struct mlx5_vport *vport) in esw_acl_egress_ofld_groups_destroy()
186 int esw_acl_egress_ofld_setup(struct mlx5_eswitch *esw, struct mlx5_vport *vport) in esw_acl_egress_ofld_setup()
232 void esw_acl_egress_ofld_cleanup(struct mlx5_vport *vport) in esw_acl_egress_ofld_cleanup()
[all …]
Dofld.h11 int esw_acl_egress_ofld_setup(struct mlx5_eswitch *esw, struct mlx5_vport *vport);
12 void esw_acl_egress_ofld_cleanup(struct mlx5_vport *vport);
13 void esw_acl_egress_ofld_bounce_rule_destroy(struct mlx5_vport *vport, int rule_index);
26 int esw_acl_ingress_ofld_setup(struct mlx5_eswitch *esw, struct mlx5_vport *vport);
27 void esw_acl_ingress_ofld_cleanup(struct mlx5_eswitch *esw, struct mlx5_vport *vport);
Dlgcy.h10 int esw_acl_egress_lgcy_setup(struct mlx5_eswitch *esw, struct mlx5_vport *vport);
11 void esw_acl_egress_lgcy_cleanup(struct mlx5_eswitch *esw, struct mlx5_vport *vport);
14 int esw_acl_ingress_lgcy_setup(struct mlx5_eswitch *esw, struct mlx5_vport *vport);
15 void esw_acl_ingress_lgcy_cleanup(struct mlx5_eswitch *esw, struct mlx5_vport *vport);
Dingress_ofld.c11 const struct mlx5_vport *vport) in esw_acl_ingress_prio_tag_enabled()
18 struct mlx5_vport *vport) in esw_acl_ingress_prio_tag_create()
63 struct mlx5_vport *vport) in esw_acl_ingress_mod_metadata_create()
111 struct mlx5_vport *vport) in esw_acl_ingress_mod_metadata_destroy()
122 struct mlx5_vport *vport) in esw_acl_ingress_src_port_drop_create()
142 struct mlx5_vport *vport) in esw_acl_ingress_src_port_drop_destroy()
152 struct mlx5_vport *vport) in esw_acl_ingress_ofld_rules_create()
184 struct mlx5_vport *vport) in esw_acl_ingress_ofld_rules_destroy()
192 struct mlx5_vport *vport) in esw_acl_ingress_ofld_groups_create()
284 static void esw_acl_ingress_ofld_groups_destroy(struct mlx5_vport *vport) in esw_acl_ingress_ofld_groups_destroy()
[all …]
Dhelper.c9 esw_acl_table_create(struct mlx5_eswitch *esw, struct mlx5_vport *vport, int ns, int size) in esw_acl_table_create()
50 struct mlx5_vport *vport, in esw_egress_acl_vlan_create()
87 void esw_acl_egress_vlan_destroy(struct mlx5_vport *vport) in esw_acl_egress_vlan_destroy()
95 int esw_acl_egress_vlan_grp_create(struct mlx5_eswitch *esw, struct mlx5_vport *vport) in esw_acl_egress_vlan_grp_create()
131 void esw_acl_egress_vlan_grp_destroy(struct mlx5_vport *vport) in esw_acl_egress_vlan_grp_destroy()
139 void esw_acl_egress_table_destroy(struct mlx5_vport *vport) in esw_acl_egress_table_destroy()
148 void esw_acl_ingress_table_destroy(struct mlx5_vport *vport) in esw_acl_ingress_table_destroy()
157 void esw_acl_ingress_allow_rule_destroy(struct mlx5_vport *vport) in esw_acl_ingress_allow_rule_destroy()
Degress_lgcy.c9 static void esw_acl_egress_lgcy_rules_destroy(struct mlx5_vport *vport) in esw_acl_egress_lgcy_rules_destroy()
19 struct mlx5_vport *vport) in esw_acl_egress_lgcy_groups_create()
58 static void esw_acl_egress_lgcy_groups_destroy(struct mlx5_vport *vport) in esw_acl_egress_lgcy_groups_destroy()
68 struct mlx5_vport *vport) in esw_acl_egress_lgcy_setup()
162 struct mlx5_vport *vport) in esw_acl_egress_lgcy_cleanup()
Dingress_lgcy.c9 static void esw_acl_ingress_lgcy_rules_destroy(struct mlx5_vport *vport) in esw_acl_ingress_lgcy_rules_destroy()
19 struct mlx5_vport *vport) in esw_acl_ingress_lgcy_groups_create()
119 static void esw_acl_ingress_lgcy_groups_destroy(struct mlx5_vport *vport) in esw_acl_ingress_lgcy_groups_destroy()
140 struct mlx5_vport *vport) in esw_acl_ingress_lgcy_setup()
289 struct mlx5_vport *vport) in esw_acl_ingress_lgcy_cleanup()
/linux-6.6.21/drivers/net/ethernet/mellanox/mlx5/core/
Deswitch.h177 struct mlx5_vport;
181 struct mlx5_vport *vport;
185 struct mlx5_vport *vport) in mlx5_devlink_port_init()
195 static inline struct mlx5_vport *mlx5_devlink_port_vport_get(struct devlink_port *dl_port) in mlx5_devlink_port_vport_get()
200 struct mlx5_vport { struct
430 struct mlx5_vport *vport,
721 struct mlx5_vport *__must_check
735 int mlx5_esw_vport_enable(struct mlx5_eswitch *esw, struct mlx5_vport *vport,
737 void mlx5_esw_vport_disable(struct mlx5_eswitch *esw, struct mlx5_vport *vport);
741 struct mlx5_vport *vport);
[all …]
Deswitch.c106 struct mlx5_vport *__must_check
109 struct mlx5_vport *vport; in mlx5_eswitch_get_vport()
371 struct mlx5_vport *vport; in update_allmulti_vports()
499 struct mlx5_vport *vport, int list_type) in esw_apply_vport_addr_list()
533 struct mlx5_vport *vport, int list_type) in esw_update_vport_addr_list()
620 struct mlx5_vport *vport) in esw_update_vport_mc_promisc()
655 struct mlx5_vport *vport, in esw_apply_vport_rx_mode()
698 struct mlx5_vport *vport) in esw_update_vport_rx_mode()
725 void esw_vport_change_handle_locked(struct mlx5_vport *vport) in esw_vport_change_handle_locked()
763 struct mlx5_vport *vport = in esw_vport_change_handler()
[all …]
Deswitch_offloads.c1178 struct mlx5_vport *vport; in esw_add_fdb_peer_miss_rules()
1304 struct mlx5_vport *vport; in esw_del_fdb_peer_miss_rules()
1480 struct mlx5_vport *vport; in esw_vport_tbl_put()
1496 struct mlx5_vport *vport; in esw_vport_tbl_get()
2182 struct mlx5_vport *vport; in mlx5_eswitch_inline_mode_get()
2344 static int mlx5_esw_offloads_rep_init(struct mlx5_eswitch *esw, const struct mlx5_vport *vport) in mlx5_esw_offloads_rep_init()
2389 struct mlx5_vport *vport; in esw_offloads_init_reps()
2546 int mlx5_esw_offloads_init_pf_vf_rep(struct mlx5_eswitch *esw, struct mlx5_vport *vport) in mlx5_esw_offloads_init_pf_vf_rep()
2554 void mlx5_esw_offloads_cleanup_pf_vf_rep(struct mlx5_eswitch *esw, struct mlx5_vport *vport) in mlx5_esw_offloads_cleanup_pf_vf_rep()
2562 int mlx5_esw_offloads_init_sf_rep(struct mlx5_eswitch *esw, struct mlx5_vport *vport, in mlx5_esw_offloads_init_sf_rep()
[all …]
/linux-6.6.21/drivers/net/ethernet/mellanox/mlx5/core/esw/
Dlegacy.h16 int esw_legacy_vport_acl_setup(struct mlx5_eswitch *esw, struct mlx5_vport *vport);
17 void esw_legacy_vport_acl_cleanup(struct mlx5_eswitch *esw, struct mlx5_vport *vport);
20 struct mlx5_vport *vport,
Ddevlink_port.c58 struct mlx5_vport *vport) in mlx5_esw_offloads_pf_vf_devlink_port_init()
79 struct mlx5_vport *vport) in mlx5_esw_offloads_pf_vf_devlink_port_cleanup()
118 int mlx5_esw_offloads_sf_devlink_port_init(struct mlx5_eswitch *esw, struct mlx5_vport *vport, in mlx5_esw_offloads_sf_devlink_port_init()
129 void mlx5_esw_offloads_sf_devlink_port_cleanup(struct mlx5_eswitch *esw, struct mlx5_vport *vport) in mlx5_esw_offloads_sf_devlink_port_cleanup()
148 int mlx5_esw_offloads_devlink_port_register(struct mlx5_eswitch *esw, struct mlx5_vport *vport) in mlx5_esw_offloads_devlink_port_register()
186 void mlx5_esw_offloads_devlink_port_unregister(struct mlx5_eswitch *esw, struct mlx5_vport *vport) in mlx5_esw_offloads_devlink_port_unregister()
202 struct mlx5_vport *vport; in mlx5_esw_offloads_devlink_port()
Dqos.c63 struct mlx5_vport *vport, in esw_qos_vport_config()
94 struct mlx5_vport *evport; in esw_qos_calculate_min_rate_divider()
140 struct mlx5_vport *evport; in esw_qos_normalize_vports_min_rate()
195 static int esw_qos_set_vport_min_rate(struct mlx5_eswitch *esw, struct mlx5_vport *evport, in esw_qos_set_vport_min_rate()
220 static int esw_qos_set_vport_max_rate(struct mlx5_eswitch *esw, struct mlx5_vport *evport, in esw_qos_set_vport_max_rate()
284 struct mlx5_vport *vport; in esw_qos_set_group_max_rate()
315 struct mlx5_vport *vport, in esw_qos_vport_create_sched_element()
348 struct mlx5_vport *vport, in esw_qos_update_group_scheduling_element()
390 struct mlx5_vport *vport, in esw_qos_vport_update_group()
634 static int esw_qos_vport_enable(struct mlx5_eswitch *esw, struct mlx5_vport *vport, in esw_qos_vport_enable()
[all …]
Dqos.h9 int mlx5_esw_qos_set_vport_rate(struct mlx5_eswitch *esw, struct mlx5_vport *evport,
11 void mlx5_esw_qos_vport_disable(struct mlx5_eswitch *esw, struct mlx5_vport *vport);
Dlegacy.c220 struct mlx5_vport *vport; in esw_legacy_enable()
349 int esw_legacy_vport_acl_setup(struct mlx5_eswitch *esw, struct mlx5_vport *vport) in esw_legacy_vport_acl_setup()
373 void esw_legacy_vport_acl_cleanup(struct mlx5_eswitch *esw, struct mlx5_vport *vport) in esw_legacy_vport_acl_cleanup()
383 struct mlx5_vport *vport, in mlx5_esw_query_vport_drop_stats()
457 struct mlx5_vport *evport = mlx5_eswitch_get_vport(esw, vport); in mlx5_eswitch_set_vport_spoofchk()
490 struct mlx5_vport *evport = mlx5_eswitch_get_vport(esw, vport); in mlx5_eswitch_set_vport_trust()
515 struct mlx5_vport *evport = mlx5_eswitch_get_vport(esw, vport); in mlx5_eswitch_set_vport_rate()
Dipsec.c43 int mlx5_esw_ipsec_vf_offload_get(struct mlx5_core_dev *dev, struct mlx5_vport *vport) in mlx5_esw_ipsec_vf_offload_get()
120 static int esw_ipsec_vf_set_bytype(struct mlx5_core_dev *dev, struct mlx5_vport *vport, in esw_ipsec_vf_set_bytype()
206 static int esw_ipsec_vf_offload_set_bytype(struct mlx5_eswitch *esw, struct mlx5_vport *vport, in esw_ipsec_vf_offload_set_bytype()
357 int mlx5_esw_ipsec_vf_crypto_offload_set(struct mlx5_eswitch *esw, struct mlx5_vport *vport, in mlx5_esw_ipsec_vf_crypto_offload_set()
364 int mlx5_esw_ipsec_vf_packet_offload_set(struct mlx5_eswitch *esw, struct mlx5_vport *vport, in mlx5_esw_ipsec_vf_packet_offload_set()
/linux-6.6.21/drivers/net/ethernet/mellanox/mlx5/core/esw/diag/
Dqos_tracepoint.h14 TP_PROTO(const struct mlx5_vport *vport),
30 TP_PROTO(const struct mlx5_vport *vport, u32 bw_share, u32 max_rate),
53 TP_PROTO(const struct mlx5_vport *vport, u32 bw_share, u32 max_rate),
58 TP_PROTO(const struct mlx5_vport *vport, u32 bw_share, u32 max_rate),