Lines Matching refs:rauhtd_pl
2308 char *rauhtd_pl, in mlxsw_sp_router_neigh_ent_ipv4_process() argument
2318 mlxsw_reg_rauhtd_ent_ipv4_unpack(rauhtd_pl, ent_index, &rif, &dip); in mlxsw_sp_router_neigh_ent_ipv4_process()
2340 char *rauhtd_pl, in mlxsw_sp_router_neigh_ent_ipv6_process() argument
2348 mlxsw_reg_rauhtd_ent_ipv6_unpack(rauhtd_pl, rec_index, &rif, in mlxsw_sp_router_neigh_ent_ipv6_process()
2367 char *rauhtd_pl, in mlxsw_sp_router_neigh_ent_ipv6_process() argument
2374 char *rauhtd_pl, in mlxsw_sp_router_neigh_rec_ipv4_process() argument
2380 num_entries = mlxsw_reg_rauhtd_ipv4_rec_num_entries_get(rauhtd_pl, in mlxsw_sp_router_neigh_rec_ipv4_process()
2390 mlxsw_sp_router_neigh_ent_ipv4_process(mlxsw_sp, rauhtd_pl, in mlxsw_sp_router_neigh_rec_ipv4_process()
2397 char *rauhtd_pl, in mlxsw_sp_router_neigh_rec_ipv6_process() argument
2401 mlxsw_sp_router_neigh_ent_ipv6_process(mlxsw_sp, rauhtd_pl, in mlxsw_sp_router_neigh_rec_ipv6_process()
2406 char *rauhtd_pl, int rec_index) in mlxsw_sp_router_neigh_rec_process() argument
2408 switch (mlxsw_reg_rauhtd_rec_type_get(rauhtd_pl, rec_index)) { in mlxsw_sp_router_neigh_rec_process()
2410 mlxsw_sp_router_neigh_rec_ipv4_process(mlxsw_sp, rauhtd_pl, in mlxsw_sp_router_neigh_rec_process()
2414 mlxsw_sp_router_neigh_rec_ipv6_process(mlxsw_sp, rauhtd_pl, in mlxsw_sp_router_neigh_rec_process()
2420 static bool mlxsw_sp_router_rauhtd_is_full(char *rauhtd_pl) in mlxsw_sp_router_rauhtd_is_full() argument
2424 num_rec = mlxsw_reg_rauhtd_num_rec_get(rauhtd_pl); in mlxsw_sp_router_rauhtd_is_full()
2429 if (mlxsw_reg_rauhtd_rec_type_get(rauhtd_pl, last_rec_index) == in mlxsw_sp_router_rauhtd_is_full()
2433 num_entries = mlxsw_reg_rauhtd_ipv4_rec_num_entries_get(rauhtd_pl, in mlxsw_sp_router_rauhtd_is_full()
2442 char *rauhtd_pl, in __mlxsw_sp_router_neighs_update_rauhtd() argument
2451 mlxsw_reg_rauhtd_pack(rauhtd_pl, type); in __mlxsw_sp_router_neighs_update_rauhtd()
2453 rauhtd_pl); in __mlxsw_sp_router_neighs_update_rauhtd()
2458 num_rec = mlxsw_reg_rauhtd_num_rec_get(rauhtd_pl); in __mlxsw_sp_router_neighs_update_rauhtd()
2460 mlxsw_sp_router_neigh_rec_process(mlxsw_sp, rauhtd_pl, in __mlxsw_sp_router_neighs_update_rauhtd()
2462 } while (mlxsw_sp_router_rauhtd_is_full(rauhtd_pl)); in __mlxsw_sp_router_neighs_update_rauhtd()
2471 char *rauhtd_pl; in mlxsw_sp_router_neighs_update_rauhtd() local
2477 rauhtd_pl = kmalloc(MLXSW_REG_RAUHTD_LEN, GFP_KERNEL); in mlxsw_sp_router_neighs_update_rauhtd()
2478 if (!rauhtd_pl) in mlxsw_sp_router_neighs_update_rauhtd()
2482 err = __mlxsw_sp_router_neighs_update_rauhtd(mlxsw_sp, rauhtd_pl, type); in mlxsw_sp_router_neighs_update_rauhtd()
2487 err = __mlxsw_sp_router_neighs_update_rauhtd(mlxsw_sp, rauhtd_pl, type); in mlxsw_sp_router_neighs_update_rauhtd()
2489 kfree(rauhtd_pl); in mlxsw_sp_router_neighs_update_rauhtd()