Home
last modified time | relevance | path

Searched refs:mlx5_vport (Results 1 – 16 of 16) 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
430 int mlx5_esw_qos_vport_update_parent(struct mlx5_vport *vport, struct mlx5_esw_sched_node *node,
722 struct mlx5_vport *__must_check
736 int mlx5_esw_vport_enable(struct mlx5_eswitch *esw, struct mlx5_vport *vport,
738 void mlx5_esw_vport_disable(struct mlx5_eswitch *esw, struct mlx5_vport *vport);
742 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()
2378 static int mlx5_esw_offloads_rep_init(struct mlx5_eswitch *esw, const struct mlx5_vport *vport) in mlx5_esw_offloads_rep_init()
2423 struct mlx5_vport *vport; in esw_offloads_init_reps()
2596 int mlx5_esw_offloads_init_pf_vf_rep(struct mlx5_eswitch *esw, struct mlx5_vport *vport) in mlx5_esw_offloads_init_pf_vf_rep()
2604 void mlx5_esw_offloads_cleanup_pf_vf_rep(struct mlx5_eswitch *esw, struct mlx5_vport *vport) in mlx5_esw_offloads_cleanup_pf_vf_rep()
2612 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 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.c92 struct mlx5_vport *vport;
104 void mlx5_esw_qos_vport_qos_free(struct mlx5_vport *vport) in mlx5_esw_qos_vport_qos_free()
110 u32 mlx5_esw_qos_vport_get_sched_elem_ix(const struct mlx5_vport *vport) in mlx5_esw_qos_vport_get_sched_elem_ix()
119 mlx5_esw_qos_vport_get_parent(const struct mlx5_vport *vport) in mlx5_esw_qos_vport_get_parent()
540 static void esw_qos_vport_disable(struct mlx5_vport *vport, struct netlink_ext_ack *extack) in esw_qos_vport_disable()
554 static int esw_qos_vport_enable(struct mlx5_vport *vport, struct mlx5_esw_sched_node *parent, in esw_qos_vport_enable()
571 static int mlx5_esw_qos_vport_enable(struct mlx5_vport *vport, enum sched_node_type type, in mlx5_esw_qos_vport_enable()
600 void mlx5_esw_qos_vport_disable(struct mlx5_vport *vport) in mlx5_esw_qos_vport_disable()
620 static int mlx5_esw_qos_set_vport_max_rate(struct mlx5_vport *vport, u32 max_rate, in mlx5_esw_qos_set_vport_max_rate()
635 static int mlx5_esw_qos_set_vport_min_rate(struct mlx5_vport *vport, u32 min_rate, in mlx5_esw_qos_set_vport_min_rate()
[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/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()