Home
last modified time | relevance | path

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

/linux-6.15/drivers/net/ethernet/mellanox/mlx5/core/esw/acl/
H A 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);
H A 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 …]
H A Dingress_ofld.c10 acl_ingress_ofld_setup(struct mlx5_eswitch *esw, struct mlx5_vport *vport);
14 const struct mlx5_vport *vport) in esw_acl_ingress_prio_tag_enabled()
21 struct mlx5_vport *vport) in esw_acl_ingress_prio_tag_create()
66 struct mlx5_vport *vport) in esw_acl_ingress_mod_metadata_create()
114 struct mlx5_vport *vport) in esw_acl_ingress_mod_metadata_destroy()
125 struct mlx5_vport *vport) in esw_acl_ingress_src_port_drop_create()
158 struct mlx5_vport *vport) in esw_acl_ingress_src_port_drop_destroy()
168 struct mlx5_vport *vport) in esw_acl_ingress_ofld_rules_create()
200 struct mlx5_vport *vport) in esw_acl_ingress_ofld_rules_destroy()
208 struct mlx5_vport *vport) in esw_acl_ingress_ofld_groups_create()
[all …]
H A 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);
H A 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);
H A 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()
H A 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()
H A 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.15/drivers/net/ethernet/mellanox/mlx5/core/esw/
H A Dqos.h12 int mlx5_esw_qos_set_vport_rate(struct mlx5_vport *evport, u32 max_rate, u32 min_rate);
13 bool mlx5_esw_qos_get_vport_rate(struct mlx5_vport *vport, u32 *max_rate, u32 *min_rate);
14 void mlx5_esw_qos_vport_disable(struct mlx5_vport *vport);
16 void mlx5_esw_qos_vport_qos_free(struct mlx5_vport *vport);
17 u32 mlx5_esw_qos_vport_get_sched_elem_ix(const struct mlx5_vport *vport);
18 struct mlx5_esw_sched_node *mlx5_esw_qos_vport_get_parent(const struct mlx5_vport *vport);
H A 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,
H A 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()
120 int mlx5_esw_offloads_sf_devlink_port_init(struct mlx5_eswitch *esw, struct mlx5_vport *vport, in mlx5_esw_offloads_sf_devlink_port_init()
131 void mlx5_esw_offloads_sf_devlink_port_cleanup(struct mlx5_eswitch *esw, struct mlx5_vport *vport) in mlx5_esw_offloads_sf_devlink_port_cleanup()
152 int mlx5_esw_offloads_devlink_port_register(struct mlx5_eswitch *esw, struct mlx5_vport *vport) in mlx5_esw_offloads_devlink_port_register()
190 void mlx5_esw_offloads_devlink_port_unregister(struct mlx5_vport *vport) in mlx5_esw_offloads_devlink_port_unregister()
206 struct mlx5_vport *vport; in mlx5_esw_offloads_devlink_port()
H A Dqos.c92 struct mlx5_vport *vport;
119 void mlx5_esw_qos_vport_qos_free(struct mlx5_vport *vport) in mlx5_esw_qos_vport_qos_free()
125 u32 mlx5_esw_qos_vport_get_sched_elem_ix(const struct mlx5_vport *vport) in mlx5_esw_qos_vport_get_sched_elem_ix()
134 mlx5_esw_qos_vport_get_parent(const struct mlx5_vport *vport) in mlx5_esw_qos_vport_get_parent()
624 void mlx5_esw_qos_vport_disable(struct mlx5_vport *vport) in mlx5_esw_qos_vport_disable()
644 static int mlx5_esw_qos_set_vport_max_rate(struct mlx5_vport *vport, u32 max_rate, in mlx5_esw_qos_set_vport_max_rate()
659 static int mlx5_esw_qos_set_vport_min_rate(struct mlx5_vport *vport, u32 min_rate, in mlx5_esw_qos_set_vport_min_rate()
792 struct mlx5_vport *vport; in mlx5_esw_qos_modify_vport_rate()
870 struct mlx5_vport *vport = priv; in mlx5_esw_devlink_rate_leaf_tx_share_set()
891 struct mlx5_vport *vport = priv; in mlx5_esw_devlink_rate_leaf_tx_max_set()
[all …]
H A Dlegacy.c210 struct mlx5_vport *vport; in esw_legacy_enable()
348 int esw_legacy_vport_acl_setup(struct mlx5_eswitch *esw, struct mlx5_vport *vport) in esw_legacy_vport_acl_setup()
372 void esw_legacy_vport_acl_cleanup(struct mlx5_eswitch *esw, struct mlx5_vport *vport) in esw_legacy_vport_acl_cleanup()
382 struct mlx5_vport *vport, in mlx5_esw_query_vport_drop_stats()
456 struct mlx5_vport *evport = mlx5_eswitch_get_vport(esw, vport); in mlx5_eswitch_set_vport_spoofchk()
489 struct mlx5_vport *evport = mlx5_eswitch_get_vport(esw, vport); in mlx5_eswitch_set_vport_trust()
514 struct mlx5_vport *evport = mlx5_eswitch_get_vport(esw, vport); in mlx5_eswitch_set_vport_rate()
H A 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.15/drivers/net/ethernet/mellanox/mlx5/core/
H A Deswitch.h177 struct mlx5_vport;
181 struct mlx5_vport *vport;
185 struct mlx5_vport *vport) in mlx5_devlink_port_init()
200 struct mlx5_vport { struct
725 struct mlx5_vport *__must_check
745 struct mlx5_vport *vport);
748 struct mlx5_vport *vport);
800 struct mlx5_vport *vport);
802 struct mlx5_vport *vport);
839 void esw_vport_change_handle_locked(struct mlx5_vport *vport);
[all …]
H A Deswitch.c109 struct mlx5_vport *vport; in mlx5_eswitch_get_vport()
371 struct mlx5_vport *vport; in update_allmulti_vports()
1001 struct mlx5_vport *vport; in eswitch_vport_event()
1060 struct mlx5_vport *vport; in mlx5_eswitch_clear_vf_vports_info()
1072 struct mlx5_vport *vport; in mlx5_eswitch_clear_ec_vf_vports_info()
1111 struct mlx5_vport *vport; in mlx5_eswitch_load_pf_vf_vport()
1134 struct mlx5_vport *vport; in mlx5_eswitch_unload_pf_vf_vport()
1148 struct mlx5_vport *vport; in mlx5_eswitch_load_sf_vport()
1172 struct mlx5_vport *vport; in mlx5_eswitch_unload_sf_vport()
1184 struct mlx5_vport *vport; in mlx5_eswitch_unload_vf_vports()
[all …]
H A Deswitch_offloads.c1192 struct mlx5_vport *vport; in esw_add_fdb_peer_miss_rules()
1318 struct mlx5_vport *vport; in esw_del_fdb_peer_miss_rules()
1494 struct mlx5_vport *vport; in esw_vport_tbl_put()
1510 struct mlx5_vport *vport; in esw_vport_tbl_get()
2196 struct mlx5_vport *vport; in mlx5_eswitch_inline_mode_get()
2421 struct mlx5_vport *vport; in esw_offloads_init_reps()
2825 struct mlx5_vport *vport; in esw_set_master_egress_rule()
2862 struct mlx5_vport *vport; in esw_unset_master_egress_rule()
3214 struct mlx5_vport *vport; in esw_offloads_metadata_uninit()
3226 struct mlx5_vport *vport; in esw_offloads_metadata_init()
[all …]
/linux-6.15/drivers/net/ethernet/mellanox/mlx5/core/esw/diag/
H A Dqos_tracepoint.h15 TP_PROTO(const struct mlx5_core_dev *dev, const struct mlx5_vport *vport),
31 TP_PROTO(const struct mlx5_core_dev *dev, const struct mlx5_vport *vport,
55 TP_PROTO(const struct mlx5_core_dev *dev, const struct mlx5_vport *vport,
61 TP_PROTO(const struct mlx5_core_dev *dev, const struct mlx5_vport *vport,
/linux-6.15/drivers/net/ethernet/mellanox/mlx5/core/sf/
H A Ddevlink.c164 struct mlx5_vport *vport; in mlx5_sf_activate()
330 struct mlx5_vport *vport; in mlx5_sf_dealloc()