Searched refs:nhidx (Results 1 – 2 of 2) sorted by relevance
| /f-stack/freebsd/contrib/dpdk_rte_lpm/ |
| H A D | dpdk_lpm.c | 83 uint32_t nhidx = 0; in lookup_ptr() local 92 return (rte_ext->nh_idx[nhidx]); in lookup_ptr() 125 if (nhidx == 0) in handle_default_change() 127 rte_ext->default_idx = nhidx; in handle_default_change() 163 uint32_t nhidx = 0; in handle_gu_change() local 178 if (nhidx == 0) { in handle_gu_change() 183 ret = rte_lpm_add(dd->lpm, ip, plen, nhidx); in handle_gu_change() 186 abuf, plen, nhidx, ret); in handle_gu_change() 197 "DEL", abuf, plen, nhidx, ret); in handle_gu_change() 270 if (nhidx == 0) { in add_route_cb() [all …]
|
| H A D | dpdk_lpm6.c | 99 uint32_t nhidx = 0; in lookup_ptr() local 110 return (rte_ext->nh_idx[nhidx]); in lookup_ptr() 148 if (nhidx == 0) in handle_default_change() 150 rte_ext->default_idx = nhidx; in handle_default_change() 184 if (nhidx == 0) { in pack_parent_rule() 213 if (nhidx == 0) { in handle_gu_change() 219 plen, nhidx, (rc->rc_cmd == RTM_ADD) ? 1 : 0); in handle_gu_change() 222 abuf, plen, nhidx, ret); in handle_gu_change() 333 uint32_t nhidx = fib_get_nhop_idx(dd->fd, nh); in add_route_cb() local 334 if (nhidx == 0) { in add_route_cb() [all …]
|