Home
last modified time | relevance | path

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

/Linux-v5.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.h242 struct mlxsw_sp_fid;
247 struct mlxsw_sp_fid *fid;
945 struct mlxsw_sp_fid *mlxsw_sp_acl_dummy_fid(struct mlxsw_sp *mlxsw_sp);
1104 bool mlxsw_sp_fid_lag_vid_valid(const struct mlxsw_sp_fid *fid);
1105 struct mlxsw_sp_fid *mlxsw_sp_fid_lookup_by_index(struct mlxsw_sp *mlxsw_sp,
1107 int mlxsw_sp_fid_nve_ifindex(const struct mlxsw_sp_fid *fid, int *nve_ifindex);
1108 int mlxsw_sp_fid_nve_type(const struct mlxsw_sp_fid *fid,
1110 struct mlxsw_sp_fid *mlxsw_sp_fid_lookup_by_vni(struct mlxsw_sp *mlxsw_sp,
1112 int mlxsw_sp_fid_vni(const struct mlxsw_sp_fid *fid, __be32 *vni);
1113 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,
6511 struct mlxsw_sp_fid *fid = NULL; in mlxsw_sp_rif_create()
6590 struct mlxsw_sp_fid *fid = rif->fid; in mlxsw_sp_rif_destroy()
6685 struct mlxsw_sp_fid *fid; in mlxsw_sp_port_vlan_router_join()
6726 struct mlxsw_sp_fid *fid = mlxsw_sp_port_vlan->fid; in __mlxsw_sp_port_vlan_router_leave()
7436 struct mlxsw_sp_fid *fid = rif->fid; in mlxsw_sp_rif_subport_deconfigure()
7445 static struct mlxsw_sp_fid *
7525 struct mlxsw_sp_fid *fid = rif->fid; in mlxsw_sp_rif_fid_deconfigure()
7538 static struct mlxsw_sp_fid *
[all …]
Dspectrum_flower.c109 struct mlxsw_sp_fid *fid; in mlxsw_sp_flower_parse_actions()