Searched refs:NX_PORT_CHUNK (Results 1 – 3 of 3) sorted by relevance
2510 uint32_t fc = (first / NX_PORT_CHUNK); in nx_port_find()2511 uint32_t lc = (MIN(last, nx->nx_num_ports) / NX_PORT_CHUNK); in nx_port_find()2512 uint32_t lim = (nx->nx_num_ports / NX_PORT_CHUNK); in nx_port_find()2526 beg = (first % NX_PORT_CHUNK); in nx_port_find()2528 if (i == (last / NX_PORT_CHUNK)) { in nx_port_find()2529 end = (last % NX_PORT_CHUNK); in nx_port_find()2542 *nx_port = (i * NX_PORT_CHUNK) + j; in nx_port_find()2553 if (lc == (last / NX_PORT_CHUNK)) { in nx_port_find()2577 ASSERT(grow > 0 && (grow % NX_PORT_CHUNK) == 0); in nx_port_grow()2578 ASSERT((nx->nx_num_ports % NX_PORT_CHUNK) == 0); in nx_port_grow()[all …]
140 #define NX_PORT_CHUNK 64 macro
209 if (__improbable(nx_port >= NX_PORT_CHUNK)) { in fsw_flow_add()