Home
last modified time | relevance | path

Searched refs:mlxsw_sp_fid (Results 1 – 7 of 7) sorted by relevance

/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlxsw/
Dspectrum_fid.c25 struct mlxsw_sp_fid { struct
43 struct mlxsw_sp_fid common; argument
48 struct mlxsw_sp_fid common;
53 .key_len = sizeof_field(struct mlxsw_sp_fid, fid_index),
54 .key_offset = offsetof(struct mlxsw_sp_fid, fid_index),
55 .head_offset = offsetof(struct mlxsw_sp_fid, ht_node),
59 .key_len = sizeof_field(struct mlxsw_sp_fid, vni),
60 .key_offset = offsetof(struct mlxsw_sp_fid, vni),
61 .head_offset = offsetof(struct mlxsw_sp_fid, vni_ht_node),
72 void (*setup)(struct mlxsw_sp_fid *fid, const void *arg);
[all …]
Dspectrum.h243 struct mlxsw_sp_fid;
248 struct mlxsw_sp_fid *fid;
960 struct mlxsw_sp_fid *mlxsw_sp_acl_dummy_fid(struct mlxsw_sp *mlxsw_sp);
1119 bool mlxsw_sp_fid_lag_vid_valid(const struct mlxsw_sp_fid *fid);
1120 struct mlxsw_sp_fid *mlxsw_sp_fid_lookup_by_index(struct mlxsw_sp *mlxsw_sp,
1122 int mlxsw_sp_fid_nve_ifindex(const struct mlxsw_sp_fid *fid, int *nve_ifindex);
1123 int mlxsw_sp_fid_nve_type(const struct mlxsw_sp_fid *fid,
1125 struct mlxsw_sp_fid *mlxsw_sp_fid_lookup_by_vni(struct mlxsw_sp *mlxsw_sp,
1127 int mlxsw_sp_fid_vni(const struct mlxsw_sp_fid *fid, __be32 *vni);
1128 int mlxsw_sp_fid_nve_flood_index_set(struct mlxsw_sp_fid *fid,
[all …]
Dspectrum_nve.c585 mlxsw_sp_nve_fid_flood_index_set(struct mlxsw_sp_fid *fid, in mlxsw_sp_nve_fid_flood_index_set()
604 mlxsw_sp_nve_fid_flood_index_clear(struct mlxsw_sp_fid *fid, in mlxsw_sp_nve_fid_flood_index_clear()
624 struct mlxsw_sp_fid *fid, in mlxsw_sp_nve_flood_ip_add()
655 struct mlxsw_sp_fid *fid, in mlxsw_sp_nve_flood_ip_del()
693 struct mlxsw_sp_fid *fid) in mlxsw_sp_nve_flood_ip_flush()
776 const struct mlxsw_sp_fid *fid, in mlxsw_sp_nve_fdb_clear_offload()
790 int mlxsw_sp_nve_fid_enable(struct mlxsw_sp *mlxsw_sp, struct mlxsw_sp_fid *fid, in mlxsw_sp_nve_fid_enable()
839 struct mlxsw_sp_fid *fid) in mlxsw_sp_nve_fid_disable()
Dspectrum_switchdev.c90 struct mlxsw_sp_fid *
93 struct mlxsw_sp_fid *
97 const struct mlxsw_sp_fid *fid);
439 struct mlxsw_sp_fid *fid = mlxsw_sp_port_vlan->fid; in mlxsw_sp_port_vlan_find_by_fid()
964 struct mlxsw_sp_fid *fid; in mlxsw_sp_port_vlan_fid_join()
1010 struct mlxsw_sp_fid *fid = mlxsw_sp_port_vlan->fid; in mlxsw_sp_port_vlan_fid_leave()
1091 struct mlxsw_sp_fid *fid = mlxsw_sp_port_vlan->fid; in mlxsw_sp_port_vlan_bridge_leave()
2016 struct mlxsw_sp_fid *fid; in mlxsw_sp_bridge_8021q_vxlan_join()
2076 static struct mlxsw_sp_fid *
2085 static struct mlxsw_sp_fid *
[all …]
Dspectrum_acl.c26 struct mlxsw_sp_fid *dummy_fid;
88 struct mlxsw_sp_fid *mlxsw_sp_acl_dummy_fid(struct mlxsw_sp *mlxsw_sp) in mlxsw_sp_acl_dummy_fid()
932 struct mlxsw_sp_fid *fid; in mlxsw_sp_acl_init()
Dspectrum_router.c56 struct mlxsw_sp_fid *fid;
111 struct mlxsw_sp_fid * (*fid_get)(struct mlxsw_sp_rif *rif,
6514 struct mlxsw_sp_fid *fid = NULL; in mlxsw_sp_rif_create()
6593 struct mlxsw_sp_fid *fid = rif->fid; in mlxsw_sp_rif_destroy()
6688 struct mlxsw_sp_fid *fid; in mlxsw_sp_port_vlan_router_join()
6729 struct mlxsw_sp_fid *fid = mlxsw_sp_port_vlan->fid; in __mlxsw_sp_port_vlan_router_leave()
7439 struct mlxsw_sp_fid *fid = rif->fid; in mlxsw_sp_rif_subport_deconfigure()
7448 static struct mlxsw_sp_fid *
7528 struct mlxsw_sp_fid *fid = rif->fid; in mlxsw_sp_rif_fid_deconfigure()
7541 static struct mlxsw_sp_fid *
[all …]
Dspectrum_flower.c109 struct mlxsw_sp_fid *fid; in mlxsw_sp_flower_parse_actions()