Home
last modified time | relevance | path

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

/OK3568_Linux_fs/kernel/drivers/net/ethernet/mellanox/mlx5/core/esw/acl/
H A Dhelper.h14 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()
19 struct mlx5_vport *vport, in esw_acl_egress_ofld_fwd2vport_create()
48 struct mlx5_vport *vport, in esw_acl_egress_ofld_rules_create()
86 static void esw_acl_egress_ofld_rules_destroy(struct mlx5_vport *vport) in esw_acl_egress_ofld_rules_destroy()
93 struct mlx5_vport *vport) in esw_acl_egress_ofld_groups_create()
142 static void esw_acl_egress_ofld_groups_destroy(struct mlx5_vport *vport) in esw_acl_egress_ofld_groups_destroy()
156 int esw_acl_egress_ofld_setup(struct mlx5_eswitch *esw, struct mlx5_vport *vport) in esw_acl_egress_ofld_setup()
201 void esw_acl_egress_ofld_cleanup(struct mlx5_vport *vport) in esw_acl_egress_ofld_cleanup()
211 struct mlx5_vport *passive_vport = mlx5_eswitch_get_vport(esw, passive_vport_num); in mlx5_esw_acl_egress_vport_bond()
212 struct mlx5_vport *active_vport = mlx5_eswitch_get_vport(esw, active_vport_num); in mlx5_esw_acl_egress_vport_bond()
[all …]
H A 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()
110 struct mlx5_vport *vport) in esw_acl_ingress_mod_metadata_destroy()
121 struct mlx5_vport *vport) in esw_acl_ingress_ofld_rules_create()
153 struct mlx5_vport *vport) in esw_acl_ingress_ofld_rules_destroy()
160 struct mlx5_vport *vport) in esw_acl_ingress_ofld_groups_create()
228 static void esw_acl_ingress_ofld_groups_destroy(struct mlx5_vport *vport) in esw_acl_ingress_ofld_groups_destroy()
242 struct mlx5_vport *vport) in esw_acl_ingress_ofld_setup()
288 struct mlx5_vport *vport) in esw_acl_ingress_ofld_cleanup()
[all …]
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.c46 struct mlx5_vport *vport, in esw_egress_acl_vlan_create()
83 void esw_acl_egress_vlan_destroy(struct mlx5_vport *vport) in esw_acl_egress_vlan_destroy()
91 int esw_acl_egress_vlan_grp_create(struct mlx5_eswitch *esw, struct mlx5_vport *vport) in esw_acl_egress_vlan_grp_create()
127 void esw_acl_egress_vlan_grp_destroy(struct mlx5_vport *vport) in esw_acl_egress_vlan_grp_destroy()
135 void esw_acl_egress_table_destroy(struct mlx5_vport *vport) in esw_acl_egress_table_destroy()
144 void esw_acl_ingress_table_destroy(struct mlx5_vport *vport) in esw_acl_ingress_table_destroy()
153 void esw_acl_ingress_allow_rule_destroy(struct mlx5_vport *vport) in esw_acl_ingress_allow_rule_destroy()
H A Dofld.h10 int esw_acl_egress_ofld_setup(struct mlx5_eswitch *esw, struct mlx5_vport *vport);
11 void esw_acl_egress_ofld_cleanup(struct mlx5_vport *vport);
24 int esw_acl_ingress_ofld_setup(struct mlx5_eswitch *esw, struct mlx5_vport *vport);
25 void esw_acl_ingress_ofld_cleanup(struct mlx5_eswitch *esw, struct mlx5_vport *vport);
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()
157 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()
266 struct mlx5_vport *vport) in esw_acl_ingress_lgcy_cleanup()
/OK3568_Linux_fs/kernel/drivers/net/ethernet/mellanox/mlx5/core/
H A Deswitch.c91 struct mlx5_vport *__must_check
471 struct mlx5_vport *vport; in esw_legacy_enable()
568 struct mlx5_vport *vport; in update_allmulti_vports()
695 struct mlx5_vport *vport, int list_type) in esw_apply_vport_addr_list()
729 struct mlx5_vport *vport, int list_type) in esw_update_vport_addr_list()
816 struct mlx5_vport *vport) in esw_update_vport_mc_promisc()
851 struct mlx5_vport *vport, in esw_apply_vport_rx_mode()
894 struct mlx5_vport *vport) in esw_update_vport_rx_mode()
921 static void esw_vport_change_handle_locked(struct mlx5_vport *vport) in esw_vport_change_handle_locked()
956 struct mlx5_vport *vport = in esw_vport_change_handler()
[all …]
H A Deswitch.h135 struct mlx5_vport { struct
253 struct mlx5_vport *vports;
629 struct mlx5_vport *__must_check
643 struct mlx5_vport *vport);
646 struct mlx5_vport *vport);
H A Deswitch_offloads.c201 struct mlx5_vport *vport; in mlx5_esw_vport_tbl_get()
222 struct mlx5_vport *vport; in mlx5_esw_vport_tbl_put()
2073 struct mlx5_vport *vport) in esw_offloads_vport_metadata_setup()
2081 struct mlx5_vport *vport) in esw_offloads_vport_metadata_cleanup()
2092 struct mlx5_vport *vport; in esw_offloads_metadata_uninit()
2104 struct mlx5_vport *vport; in esw_offloads_metadata_init()
2126 struct mlx5_vport *vport) in esw_vport_create_offloads_acl_tables()
2147 struct mlx5_vport *vport) in esw_vport_destroy_offloads_acl_tables()
2155 struct mlx5_vport *vport; in esw_create_uplink_offloads_acl_tables()
2163 struct mlx5_vport *vport; in esw_destroy_uplink_offloads_acl_tables()
[all …]
/OK3568_Linux_fs/kernel/drivers/net/ethernet/mellanox/mlx5/core/esw/
H A Ddevlink_port.c74 struct mlx5_vport *vport; in mlx5_esw_offloads_devlink_port_register()
105 struct mlx5_vport *vport; in mlx5_esw_offloads_devlink_port_unregister()
120 struct mlx5_vport *vport; in mlx5_esw_offloads_devlink_port()