Home
last modified time | relevance | path

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

/linux/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/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()
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
431 struct mlx5_vport *vport,
724 struct mlx5_vport *__must_check
738 int mlx5_esw_vport_enable(struct mlx5_eswitch *esw, struct mlx5_vport *vport,
740 void mlx5_esw_vport_disable(struct mlx5_eswitch *esw, struct mlx5_vport *vport);
744 struct mlx5_vport *vport);
[all …]
H A 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 …]
H A Deswitch_offloads.c1194 struct mlx5_vport *vport; in esw_add_fdb_peer_miss_rules()
1320 struct mlx5_vport *vport; in esw_del_fdb_peer_miss_rules()
1496 struct mlx5_vport *vport; in esw_vport_tbl_put()
1512 struct mlx5_vport *vport; in esw_vport_tbl_get()
2198 struct mlx5_vport *vport; in mlx5_eswitch_inline_mode_get()
2360 static int mlx5_esw_offloads_rep_init(struct mlx5_eswitch *esw, const struct mlx5_vport *vport) in mlx5_esw_offloads_rep_init()
2405 struct mlx5_vport *vport; in esw_offloads_init_reps()
2575 int mlx5_esw_offloads_init_pf_vf_rep(struct mlx5_eswitch *esw, struct mlx5_vport *vport) in mlx5_esw_offloads_init_pf_vf_rep()
2583 void mlx5_esw_offloads_cleanup_pf_vf_rep(struct mlx5_eswitch *esw, struct mlx5_vport *vport) in mlx5_esw_offloads_cleanup_pf_vf_rep()
2591 int mlx5_esw_offloads_init_sf_rep(struct mlx5_eswitch *esw, struct mlx5_vport *vport, in mlx5_esw_offloads_init_sf_rep()
[all …]
/linux/drivers/net/ethernet/mellanox/mlx5/core/esw/
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_eswitch *esw, struct mlx5_vport *vport) in mlx5_esw_offloads_devlink_port_unregister()
206 struct mlx5_vport *vport; in mlx5_esw_offloads_devlink_port()
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 Dqos.c64 struct mlx5_vport *vport, in esw_qos_vport_config()
95 struct mlx5_vport *evport; in esw_qos_calculate_min_rate_divider()
141 struct mlx5_vport *evport; in esw_qos_normalize_vports_min_rate()
196 static int esw_qos_set_vport_min_rate(struct mlx5_eswitch *esw, struct mlx5_vport *evport, in esw_qos_set_vport_min_rate()
221 static int esw_qos_set_vport_max_rate(struct mlx5_eswitch *esw, struct mlx5_vport *evport, in esw_qos_set_vport_max_rate()
285 struct mlx5_vport *vport; in esw_qos_set_group_max_rate()
335 struct mlx5_vport *vport, in esw_qos_vport_create_sched_element()
371 struct mlx5_vport *vport, in esw_qos_update_group_scheduling_element()
413 struct mlx5_vport *vport, in esw_qos_vport_update_group()
646 static int esw_qos_vport_enable(struct mlx5_eswitch *esw, struct mlx5_vport *vport, in esw_qos_vport_enable()
[all …]
H A 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);
H A 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()
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/drivers/net/ethernet/mellanox/mlx5/core/sf/
H A Ddevlink.c164 struct mlx5_vport *vport; in mlx5_sf_activate()
329 struct mlx5_vport *vport; in mlx5_sf_dealloc()