| H A D | spectrum_mr.c | 55 bool (*is_route_valid)(const struct mlxsw_sp_mr_table *mr_table, 57 void (*key_create)(struct mlxsw_sp_mr_table *mr_table, 60 bool (*is_route_starg)(const struct mlxsw_sp_mr_table *mr_table, 86 const struct mlxsw_sp_mr_table *mr_table; member 143 if (mr_route->mr_table->ops->is_route_starg(mr_route->mr_table, in mlxsw_sp_mr_route_action() 165 return mr_route->mr_table->ops->is_route_starg(mr_route->mr_table, in mlxsw_sp_mr_route_prio() 207 mlxsw_sp_mr_route_info_create(struct mlxsw_sp_mr_table *mr_table, in mlxsw_sp_mr_route_info_create() argument 247 static int mlxsw_sp_mr_route_write(struct mlxsw_sp_mr_table *mr_table, 248 mlxsw_sp_mr_route_write(struct mlxsw_sp_mr_table * mr_table,struct mlxsw_sp_mr_route * mr_route,bool replace) mlxsw_sp_mr_route_write() argument 288 mlxsw_sp_mr_route_erase(struct mlxsw_sp_mr_table * mr_table,struct mlxsw_sp_mr_route * mr_route) mlxsw_sp_mr_route_erase() argument 299 mlxsw_sp_mr_route_create(struct mlxsw_sp_mr_table * mr_table,struct mr_mfc * mfc) mlxsw_sp_mr_route_create() argument 344 mlxsw_sp_mr_route_destroy(struct mlxsw_sp_mr_table * mr_table,struct mlxsw_sp_mr_route * mr_route) mlxsw_sp_mr_route_destroy() argument 373 __mlxsw_sp_mr_route_del(struct mlxsw_sp_mr_table * mr_table,struct mlxsw_sp_mr_route * mr_route) __mlxsw_sp_mr_route_del() argument 386 mlxsw_sp_mr_route_add(struct mlxsw_sp_mr_table * mr_table,struct mr_mfc * mfc,bool replace) mlxsw_sp_mr_route_add() argument 464 mlxsw_sp_mr_route_del(struct mlxsw_sp_mr_table * mr_table,struct mr_mfc * mfc) mlxsw_sp_mr_route_del() argument 482 mlxsw_sp_mr_route_ivif_resolve(struct mlxsw_sp_mr_table * mr_table,struct mlxsw_sp_mr_route_vif_entry * rve) mlxsw_sp_mr_route_ivif_resolve() argument 517 mlxsw_sp_mr_route_ivif_unresolve(struct mlxsw_sp_mr_table * mr_table,struct mlxsw_sp_mr_route_vif_entry * rve) mlxsw_sp_mr_route_ivif_unresolve() argument 531 mlxsw_sp_mr_route_evif_resolve(struct mlxsw_sp_mr_table * mr_table,struct mlxsw_sp_mr_route_vif_entry * rve) mlxsw_sp_mr_route_evif_resolve() argument 590 mlxsw_sp_mr_route_evif_unresolve(struct mlxsw_sp_mr_table * mr_table,struct mlxsw_sp_mr_route_vif_entry * rve) mlxsw_sp_mr_route_evif_unresolve() argument 623 mlxsw_sp_mr_vif_resolve(struct mlxsw_sp_mr_table * mr_table,struct net_device * dev,struct mlxsw_sp_mr_vif * mr_vif,unsigned long vif_flags,const struct mlxsw_sp_rif * rif) mlxsw_sp_mr_vif_resolve() argument 664 mlxsw_sp_mr_vif_unresolve(struct mlxsw_sp_mr_table * mr_table,struct net_device * dev,struct mlxsw_sp_mr_vif * mr_vif) mlxsw_sp_mr_vif_unresolve() argument 683 mlxsw_sp_mr_vif_add(struct mlxsw_sp_mr_table * mr_table,struct net_device * dev,vifi_t vif_index,unsigned long vif_flags,const struct mlxsw_sp_rif * rif) mlxsw_sp_mr_vif_add() argument 696 mlxsw_sp_mr_vif_del(struct mlxsw_sp_mr_table * mr_table,vifi_t vif_index) mlxsw_sp_mr_vif_del() argument 708 mlxsw_sp_mr_dev_vif_lookup(struct mlxsw_sp_mr_table * mr_table,const struct mlxsw_sp_rif * rif) mlxsw_sp_mr_dev_vif_lookup() argument 719 mlxsw_sp_mr_rif_add(struct mlxsw_sp_mr_table * mr_table,const struct mlxsw_sp_rif * rif) mlxsw_sp_mr_rif_add() argument 734 mlxsw_sp_mr_rif_del(struct mlxsw_sp_mr_table * mr_table,const struct mlxsw_sp_rif * rif) mlxsw_sp_mr_rif_del() argument 748 mlxsw_sp_mr_rif_mtu_update(struct mlxsw_sp_mr_table * mr_table,const struct mlxsw_sp_rif * rif,int mtu) mlxsw_sp_mr_rif_mtu_update() argument 777 mlxsw_sp_mr_route4_validate(const struct mlxsw_sp_mr_table * mr_table,const struct mr_mfc * c) mlxsw_sp_mr_route4_validate() argument 794 mlxsw_sp_mr_route4_key(struct mlxsw_sp_mr_table * mr_table,struct mlxsw_sp_mr_route_key * key,struct mr_mfc * c) mlxsw_sp_mr_route4_key() argument 812 mlxsw_sp_mr_route4_starg(const struct mlxsw_sp_mr_table * mr_table,const struct mlxsw_sp_mr_route * mr_route) mlxsw_sp_mr_route4_starg() argument 824 mlxsw_sp_mr_route6_validate(const struct mlxsw_sp_mr_table * mr_table,const struct mr_mfc * c) mlxsw_sp_mr_route6_validate() argument 841 mlxsw_sp_mr_route6_key(struct mlxsw_sp_mr_table * mr_table,struct mlxsw_sp_mr_route_key * key,struct mr_mfc * c) mlxsw_sp_mr_route6_key() argument 858 mlxsw_sp_mr_route6_starg(const struct mlxsw_sp_mr_table * mr_table,const struct mlxsw_sp_mr_route * mr_route) mlxsw_sp_mr_route6_starg() argument 909 struct mlxsw_sp_mr_table *mr_table; mlxsw_sp_mr_table_create() local 954 mlxsw_sp_mr_table_destroy(struct mlxsw_sp_mr_table * mr_table) mlxsw_sp_mr_table_destroy() argument 970 mlxsw_sp_mr_table_flush(struct mlxsw_sp_mr_table * mr_table) mlxsw_sp_mr_table_flush() argument 986 mlxsw_sp_mr_table_empty(const struct mlxsw_sp_mr_table * mr_table) mlxsw_sp_mr_table_empty() argument 1018 struct mlxsw_sp_mr_table *mr_table; mlxsw_sp_mr_stats_update() local [all...] |