Lines Matching refs:rauhtd_pl
2411 char *rauhtd_pl, in mlxsw_sp_router_neigh_ent_ipv4_process() argument
2421 mlxsw_reg_rauhtd_ent_ipv4_unpack(rauhtd_pl, ent_index, &rif, &dip); in mlxsw_sp_router_neigh_ent_ipv4_process()
2443 char *rauhtd_pl, in mlxsw_sp_router_neigh_ent_ipv6_process() argument
2451 mlxsw_reg_rauhtd_ent_ipv6_unpack(rauhtd_pl, rec_index, &rif, in mlxsw_sp_router_neigh_ent_ipv6_process()
2470 char *rauhtd_pl, in mlxsw_sp_router_neigh_ent_ipv6_process() argument
2477 char *rauhtd_pl, in mlxsw_sp_router_neigh_rec_ipv4_process() argument
2483 num_entries = mlxsw_reg_rauhtd_ipv4_rec_num_entries_get(rauhtd_pl, in mlxsw_sp_router_neigh_rec_ipv4_process()
2493 mlxsw_sp_router_neigh_ent_ipv4_process(mlxsw_sp, rauhtd_pl, in mlxsw_sp_router_neigh_rec_ipv4_process()
2500 char *rauhtd_pl, in mlxsw_sp_router_neigh_rec_ipv6_process() argument
2504 mlxsw_sp_router_neigh_ent_ipv6_process(mlxsw_sp, rauhtd_pl, in mlxsw_sp_router_neigh_rec_ipv6_process()
2509 char *rauhtd_pl, int rec_index) in mlxsw_sp_router_neigh_rec_process() argument
2511 switch (mlxsw_reg_rauhtd_rec_type_get(rauhtd_pl, rec_index)) { in mlxsw_sp_router_neigh_rec_process()
2513 mlxsw_sp_router_neigh_rec_ipv4_process(mlxsw_sp, rauhtd_pl, in mlxsw_sp_router_neigh_rec_process()
2517 mlxsw_sp_router_neigh_rec_ipv6_process(mlxsw_sp, rauhtd_pl, in mlxsw_sp_router_neigh_rec_process()
2523 static bool mlxsw_sp_router_rauhtd_is_full(char *rauhtd_pl) in mlxsw_sp_router_rauhtd_is_full() argument
2527 num_rec = mlxsw_reg_rauhtd_num_rec_get(rauhtd_pl); in mlxsw_sp_router_rauhtd_is_full()
2532 if (mlxsw_reg_rauhtd_rec_type_get(rauhtd_pl, last_rec_index) == in mlxsw_sp_router_rauhtd_is_full()
2536 num_entries = mlxsw_reg_rauhtd_ipv4_rec_num_entries_get(rauhtd_pl, in mlxsw_sp_router_rauhtd_is_full()
2545 char *rauhtd_pl, in __mlxsw_sp_router_neighs_update_rauhtd() argument
2554 mlxsw_reg_rauhtd_pack(rauhtd_pl, type); in __mlxsw_sp_router_neighs_update_rauhtd()
2556 rauhtd_pl); in __mlxsw_sp_router_neighs_update_rauhtd()
2561 num_rec = mlxsw_reg_rauhtd_num_rec_get(rauhtd_pl); in __mlxsw_sp_router_neighs_update_rauhtd()
2563 mlxsw_sp_router_neigh_rec_process(mlxsw_sp, rauhtd_pl, in __mlxsw_sp_router_neighs_update_rauhtd()
2565 } while (mlxsw_sp_router_rauhtd_is_full(rauhtd_pl)); in __mlxsw_sp_router_neighs_update_rauhtd()
2574 char *rauhtd_pl; in mlxsw_sp_router_neighs_update_rauhtd() local
2580 rauhtd_pl = kmalloc(MLXSW_REG_RAUHTD_LEN, GFP_KERNEL); in mlxsw_sp_router_neighs_update_rauhtd()
2581 if (!rauhtd_pl) in mlxsw_sp_router_neighs_update_rauhtd()
2585 err = __mlxsw_sp_router_neighs_update_rauhtd(mlxsw_sp, rauhtd_pl, type); in mlxsw_sp_router_neighs_update_rauhtd()
2590 err = __mlxsw_sp_router_neighs_update_rauhtd(mlxsw_sp, rauhtd_pl, type); in mlxsw_sp_router_neighs_update_rauhtd()
2592 kfree(rauhtd_pl); in mlxsw_sp_router_neighs_update_rauhtd()