Lines Matching defs:mlxsw_sp

66 	struct mlxsw_sp *mlxsw_sp;  member
177 int mlxsw_sp_nve_learned_ip_resolve(struct mlxsw_sp *mlxsw_sp, u32 uip, in mlxsw_sp_nve_learned_ip_resolve()
192 mlxsw_sp_nve_mc_list_find(struct mlxsw_sp *mlxsw_sp, in mlxsw_sp_nve_mc_list_find()
202 mlxsw_sp_nve_mc_list_create(struct mlxsw_sp *mlxsw_sp, in mlxsw_sp_nve_mc_list_create()
228 static void mlxsw_sp_nve_mc_list_destroy(struct mlxsw_sp *mlxsw_sp, in mlxsw_sp_nve_mc_list_destroy()
240 mlxsw_sp_nve_mc_list_get(struct mlxsw_sp *mlxsw_sp, in mlxsw_sp_nve_mc_list_get()
253 mlxsw_sp_nve_mc_list_put(struct mlxsw_sp *mlxsw_sp, in mlxsw_sp_nve_mc_list_put()
262 mlxsw_sp_nve_mc_record_create(struct mlxsw_sp *mlxsw_sp, in mlxsw_sp_nve_mc_record_create()
296 struct mlxsw_sp *mlxsw_sp = mc_record->mlxsw_sp; in mlxsw_sp_nve_mc_record_destroy() local
306 mlxsw_sp_nve_mc_record_get(struct mlxsw_sp *mlxsw_sp, in mlxsw_sp_nve_mc_record_get()
355 struct mlxsw_sp *mlxsw_sp = mc_record->mlxsw_sp; in mlxsw_sp_nve_mc_record_refresh() local
544 static int mlxsw_sp_nve_mc_list_ip_add(struct mlxsw_sp *mlxsw_sp, in mlxsw_sp_nve_mc_list_ip_add()
567 static void mlxsw_sp_nve_mc_list_ip_del(struct mlxsw_sp *mlxsw_sp, in mlxsw_sp_nve_mc_list_ip_del()
623 int mlxsw_sp_nve_flood_ip_add(struct mlxsw_sp *mlxsw_sp, in mlxsw_sp_nve_flood_ip_add()
654 void mlxsw_sp_nve_flood_ip_del(struct mlxsw_sp *mlxsw_sp, in mlxsw_sp_nve_flood_ip_del()
692 static void mlxsw_sp_nve_flood_ip_flush(struct mlxsw_sp *mlxsw_sp, in mlxsw_sp_nve_flood_ip_flush()
716 u32 mlxsw_sp_nve_decap_tunnel_index_get(const struct mlxsw_sp *mlxsw_sp) in mlxsw_sp_nve_decap_tunnel_index_get()
723 bool mlxsw_sp_nve_ipv4_route_is_decap(const struct mlxsw_sp *mlxsw_sp, in mlxsw_sp_nve_ipv4_route_is_decap()
737 static int mlxsw_sp_nve_tunnel_init(struct mlxsw_sp *mlxsw_sp, in mlxsw_sp_nve_tunnel_init()
767 static void mlxsw_sp_nve_tunnel_fini(struct mlxsw_sp *mlxsw_sp) in mlxsw_sp_nve_tunnel_fini()
783 static void mlxsw_sp_nve_fdb_flush_by_fid(struct mlxsw_sp *mlxsw_sp, in mlxsw_sp_nve_fdb_flush_by_fid()
793 static void mlxsw_sp_nve_fdb_clear_offload(struct mlxsw_sp *mlxsw_sp, 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()
858 void mlxsw_sp_nve_fid_disable(struct mlxsw_sp *mlxsw_sp, in mlxsw_sp_nve_fid_disable()
889 struct mlxsw_sp *mlxsw_sp = mlxsw_sp_port->mlxsw_sp; in mlxsw_sp_port_nve_init() local
900 static int mlxsw_sp_nve_qos_init(struct mlxsw_sp *mlxsw_sp) in mlxsw_sp_nve_qos_init()
908 static int mlxsw_sp_nve_ecn_encap_init(struct mlxsw_sp *mlxsw_sp) in mlxsw_sp_nve_ecn_encap_init()
928 static int __mlxsw_sp_nve_ecn_decap_init(struct mlxsw_sp *mlxsw_sp, in __mlxsw_sp_nve_ecn_decap_init()
943 static int mlxsw_sp_nve_ecn_decap_init(struct mlxsw_sp *mlxsw_sp) in mlxsw_sp_nve_ecn_decap_init()
964 static int mlxsw_sp_nve_ecn_init(struct mlxsw_sp *mlxsw_sp) in mlxsw_sp_nve_ecn_init()
975 static int mlxsw_sp_nve_resources_query(struct mlxsw_sp *mlxsw_sp) in mlxsw_sp_nve_resources_query()
990 int mlxsw_sp_nve_init(struct mlxsw_sp *mlxsw_sp) in mlxsw_sp_nve_init()
1031 void mlxsw_sp_nve_fini(struct mlxsw_sp *mlxsw_sp) in mlxsw_sp_nve_fini()