Lines Matching refs:nrt6
448 unsigned int nrt6; member
3186 if (nh_grp->nhgi->count != fib6_entry->nrt6) in mlxsw_sp_nexthop6_group_cmp()
3259 unsigned int val = fib6_entry->nrt6; in mlxsw_sp_nexthop6_group_hash()
5488 unsigned int nrt6) in mlxsw_sp_fib6_offload_failed_flag_set() argument
5495 for (i = 0; i < nrt6; i++) in mlxsw_sp_fib6_offload_failed_flag_set()
5503 unsigned int nrt6) in mlxsw_sp_fib6_offload_failed_flag_set() argument
6636 nhgi = kzalloc(struct_size(nhgi, nexthops, fib6_entry->nrt6), in mlxsw_sp_nexthop6_group_info_init()
6645 nhgi->count = fib6_entry->nrt6; in mlxsw_sp_nexthop6_group_info_init()
6845 struct fib6_info **rt_arr, unsigned int nrt6) in mlxsw_sp_fib6_entry_nexthop_add() argument
6850 for (i = 0; i < nrt6; i++) { in mlxsw_sp_fib6_entry_nexthop_add()
6858 fib6_entry->nrt6++; in mlxsw_sp_fib6_entry_nexthop_add()
6868 i = nrt6; in mlxsw_sp_fib6_entry_nexthop_add()
6871 fib6_entry->nrt6--; in mlxsw_sp_fib6_entry_nexthop_add()
6884 struct fib6_info **rt_arr, unsigned int nrt6) in mlxsw_sp_fib6_entry_nexthop_del() argument
6889 for (i = 0; i < nrt6; i++) { in mlxsw_sp_fib6_entry_nexthop_del()
6895 fib6_entry->nrt6--; in mlxsw_sp_fib6_entry_nexthop_del()
6926 fib6_entry->nrt6--; in mlxsw_sp_fib6_entry_rt_destroy_all()
6935 struct fib6_info **rt_arr, unsigned int nrt6) in mlxsw_sp_fib6_entry_create() argument
6955 for (i = 0; i < nrt6; i++) { in mlxsw_sp_fib6_entry_create()
6962 fib6_entry->nrt6++; in mlxsw_sp_fib6_entry_create()
6983 i = nrt6; in mlxsw_sp_fib6_entry_create()
6986 fib6_entry->nrt6--; in mlxsw_sp_fib6_entry_create()
7007 WARN_ON(fib6_entry->nrt6); in mlxsw_sp_fib6_entry_destroy()
7067 struct fib6_info **rt_arr, unsigned int nrt6) in mlxsw_sp_router_fib6_replace() argument
7093 nrt6); in mlxsw_sp_router_fib6_replace()
7131 struct fib6_info **rt_arr, unsigned int nrt6) in mlxsw_sp_router_fib6_append() argument
7159 err = mlxsw_sp_fib6_entry_nexthop_add(mlxsw_sp, op_ctx, fib6_entry, rt_arr, nrt6); in mlxsw_sp_router_fib6_append()
7172 struct fib6_info **rt_arr, unsigned int nrt6) in mlxsw_sp_router_fib6_del() argument
7194 if (nrt6 != fib6_entry->nrt6) { in mlxsw_sp_router_fib6_del()
7195 mlxsw_sp_fib6_entry_nexthop_del(mlxsw_sp, op_ctx, fib6_entry, rt_arr, nrt6); in mlxsw_sp_router_fib6_del()
7369 unsigned int nrt6; member
7394 unsigned int nrt6; in mlxsw_sp_router_fib6_event_init() local
7397 nrt6 = fen6_info->nsiblings + 1; in mlxsw_sp_router_fib6_event_init()
7399 rt_arr = kcalloc(nrt6, sizeof(struct fib6_info *), GFP_ATOMIC); in mlxsw_sp_router_fib6_event_init()
7404 fib6_event->nrt6 = nrt6; in mlxsw_sp_router_fib6_event_init()
7430 for (i = 0; i < fib6_event->nrt6; i++) in mlxsw_sp_router_fib6_event_fini()
7480 fib_event->fib6_event.nrt6); in mlxsw_sp_router_fib6_event_process()
7486 fib6_event->nrt6); in mlxsw_sp_router_fib6_event_process()
7492 fib_event->fib6_event.nrt6); in mlxsw_sp_router_fib6_event_process()
7498 fib6_event->nrt6); in mlxsw_sp_router_fib6_event_process()
7504 fib_event->fib6_event.nrt6); in mlxsw_sp_router_fib6_event_process()