Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/net/ethernet/mellanox/mlxsw/
Dspectrum_fid.c24 struct mlxsw_sp_fid { struct
42 struct mlxsw_sp_fid common; argument
47 struct mlxsw_sp_fid common;
52 .key_len = sizeof_field(struct mlxsw_sp_fid, fid_index),
53 .key_offset = offsetof(struct mlxsw_sp_fid, fid_index),
54 .head_offset = offsetof(struct mlxsw_sp_fid, ht_node),
58 .key_len = sizeof_field(struct mlxsw_sp_fid, vni),
59 .key_offset = offsetof(struct mlxsw_sp_fid, vni),
60 .head_offset = offsetof(struct mlxsw_sp_fid, vni_ht_node),
71 void (*setup)(struct mlxsw_sp_fid *fid, const void *arg);
[all …]
Dspectrum.h207 struct mlxsw_sp_fid;
212 struct mlxsw_sp_fid *fid;
456 struct mlxsw_sp_fid *mlxsw_sp_bridge_fid_get(struct mlxsw_sp *mlxsw_sp,
559 struct mlxsw_sp_fid *mlxsw_sp_rif_fid(const struct mlxsw_sp_rif *rif);
760 struct mlxsw_sp_fid *mlxsw_sp_acl_dummy_fid(struct mlxsw_sp *mlxsw_sp);
848 bool mlxsw_sp_fid_lag_vid_valid(const struct mlxsw_sp_fid *fid);
849 struct mlxsw_sp_fid *mlxsw_sp_fid_lookup_by_index(struct mlxsw_sp *mlxsw_sp,
851 int mlxsw_sp_fid_nve_ifindex(const struct mlxsw_sp_fid *fid, int *nve_ifindex);
852 int mlxsw_sp_fid_nve_type(const struct mlxsw_sp_fid *fid,
854 struct mlxsw_sp_fid *mlxsw_sp_fid_lookup_by_vni(struct mlxsw_sp *mlxsw_sp,
[all …]
Dspectrum_switchdev.c90 struct mlxsw_sp_fid *
93 struct mlxsw_sp_fid *
97 const struct mlxsw_sp_fid *fid);
369 struct mlxsw_sp_fid *fid = mlxsw_sp_port_vlan->fid; in mlxsw_sp_port_vlan_find_by_fid()
894 struct mlxsw_sp_fid *fid; in mlxsw_sp_port_vlan_fid_join()
940 struct mlxsw_sp_fid *fid = mlxsw_sp_port_vlan->fid; in mlxsw_sp_port_vlan_fid_leave()
1021 struct mlxsw_sp_fid *fid = mlxsw_sp_port_vlan->fid; in mlxsw_sp_port_vlan_bridge_leave()
1111 struct mlxsw_sp_fid *fid; in mlxsw_sp_br_ban_rif_pvid_change()
1980 struct mlxsw_sp_fid *fid; in mlxsw_sp_bridge_8021q_vxlan_join()
2046 static struct mlxsw_sp_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()
794 const struct mlxsw_sp_fid *fid, in mlxsw_sp_nve_fdb_clear_offload()
808 int mlxsw_sp_nve_fid_enable(struct mlxsw_sp *mlxsw_sp, struct mlxsw_sp_fid *fid, in mlxsw_sp_nve_fid_enable()
859 struct mlxsw_sp_fid *fid) in mlxsw_sp_nve_fid_disable()
Dspectrum_acl.c25 struct mlxsw_sp_fid *dummy_fid;
90 struct mlxsw_sp_fid *mlxsw_sp_acl_dummy_fid(struct mlxsw_sp *mlxsw_sp) in mlxsw_sp_acl_dummy_fid()
851 struct mlxsw_sp_fid *fid; in mlxsw_sp_acl_init()
Dspectrum_router.c85 struct mlxsw_sp_fid *fid;
140 struct mlxsw_sp_fid * (*fid_get)(struct mlxsw_sp_rif *rif,
6496 struct mlxsw_sp_fid *mlxsw_sp_rif_fid(const struct mlxsw_sp_rif *rif) in mlxsw_sp_rif_fid()
6508 struct mlxsw_sp_fid *fid = NULL; in mlxsw_sp_rif_create()
6587 struct mlxsw_sp_fid *fid = rif->fid; in mlxsw_sp_rif_destroy()
6679 struct mlxsw_sp_fid *fid; in mlxsw_sp_port_vlan_router_join()
6720 struct mlxsw_sp_fid *fid = mlxsw_sp_port_vlan->fid; in mlxsw_sp_port_vlan_router_leave()
7388 struct mlxsw_sp_fid *fid = rif->fid; in mlxsw_sp_rif_subport_deconfigure()
7397 static struct mlxsw_sp_fid *
7476 struct mlxsw_sp_fid *fid = rif->fid; in mlxsw_sp_rif_vlan_deconfigure()
[all …]
Dspectrum_flower.c79 struct mlxsw_sp_fid *fid; in mlxsw_sp_flower_parse_actions()