Lines Matching refs:rauhtd_pl
2001 char *rauhtd_pl, in mlxsw_sp_router_neigh_ent_ipv4_process() argument
2010 mlxsw_reg_rauhtd_ent_ipv4_unpack(rauhtd_pl, ent_index, &rif, &dip); in mlxsw_sp_router_neigh_ent_ipv4_process()
2030 char *rauhtd_pl, in mlxsw_sp_router_neigh_ent_ipv6_process() argument
2038 mlxsw_reg_rauhtd_ent_ipv6_unpack(rauhtd_pl, rec_index, &rif, in mlxsw_sp_router_neigh_ent_ipv6_process()
2057 char *rauhtd_pl, in mlxsw_sp_router_neigh_ent_ipv6_process() argument
2064 char *rauhtd_pl, in mlxsw_sp_router_neigh_rec_ipv4_process() argument
2070 num_entries = mlxsw_reg_rauhtd_ipv4_rec_num_entries_get(rauhtd_pl, in mlxsw_sp_router_neigh_rec_ipv4_process()
2080 mlxsw_sp_router_neigh_ent_ipv4_process(mlxsw_sp, rauhtd_pl, in mlxsw_sp_router_neigh_rec_ipv4_process()
2087 char *rauhtd_pl, in mlxsw_sp_router_neigh_rec_ipv6_process() argument
2091 mlxsw_sp_router_neigh_ent_ipv6_process(mlxsw_sp, rauhtd_pl, in mlxsw_sp_router_neigh_rec_ipv6_process()
2096 char *rauhtd_pl, int rec_index) in mlxsw_sp_router_neigh_rec_process() argument
2098 switch (mlxsw_reg_rauhtd_rec_type_get(rauhtd_pl, rec_index)) { in mlxsw_sp_router_neigh_rec_process()
2100 mlxsw_sp_router_neigh_rec_ipv4_process(mlxsw_sp, rauhtd_pl, in mlxsw_sp_router_neigh_rec_process()
2104 mlxsw_sp_router_neigh_rec_ipv6_process(mlxsw_sp, rauhtd_pl, in mlxsw_sp_router_neigh_rec_process()
2110 static bool mlxsw_sp_router_rauhtd_is_full(char *rauhtd_pl) in mlxsw_sp_router_rauhtd_is_full() argument
2114 num_rec = mlxsw_reg_rauhtd_num_rec_get(rauhtd_pl); in mlxsw_sp_router_rauhtd_is_full()
2119 if (mlxsw_reg_rauhtd_rec_type_get(rauhtd_pl, last_rec_index) == in mlxsw_sp_router_rauhtd_is_full()
2123 num_entries = mlxsw_reg_rauhtd_ipv4_rec_num_entries_get(rauhtd_pl, in mlxsw_sp_router_rauhtd_is_full()
2132 char *rauhtd_pl, in __mlxsw_sp_router_neighs_update_rauhtd() argument
2143 mlxsw_reg_rauhtd_pack(rauhtd_pl, type); in __mlxsw_sp_router_neighs_update_rauhtd()
2145 rauhtd_pl); in __mlxsw_sp_router_neighs_update_rauhtd()
2150 num_rec = mlxsw_reg_rauhtd_num_rec_get(rauhtd_pl); in __mlxsw_sp_router_neighs_update_rauhtd()
2152 mlxsw_sp_router_neigh_rec_process(mlxsw_sp, rauhtd_pl, in __mlxsw_sp_router_neighs_update_rauhtd()
2154 } while (mlxsw_sp_router_rauhtd_is_full(rauhtd_pl)); in __mlxsw_sp_router_neighs_update_rauhtd()
2163 char *rauhtd_pl; in mlxsw_sp_router_neighs_update_rauhtd() local
2166 rauhtd_pl = kmalloc(MLXSW_REG_RAUHTD_LEN, GFP_KERNEL); in mlxsw_sp_router_neighs_update_rauhtd()
2167 if (!rauhtd_pl) in mlxsw_sp_router_neighs_update_rauhtd()
2171 err = __mlxsw_sp_router_neighs_update_rauhtd(mlxsw_sp, rauhtd_pl, type); in mlxsw_sp_router_neighs_update_rauhtd()
2176 err = __mlxsw_sp_router_neighs_update_rauhtd(mlxsw_sp, rauhtd_pl, type); in mlxsw_sp_router_neighs_update_rauhtd()
2178 kfree(rauhtd_pl); in mlxsw_sp_router_neighs_update_rauhtd()