Searched refs:NX_PORT_CHUNK (Results 1 – 3 of 3) sorted by relevance
2526 nexus_port_size_t fc = (first / NX_PORT_CHUNK); in nx_port_find()2527 nexus_port_size_t lc = (MIN(last, nx->nx_num_ports) / NX_PORT_CHUNK); in nx_port_find()2528 nexus_port_size_t lim = (nx->nx_num_ports / NX_PORT_CHUNK); in nx_port_find()2542 beg = (first % NX_PORT_CHUNK); in nx_port_find()2544 if (i == (last / NX_PORT_CHUNK)) { in nx_port_find()2545 end = (last % NX_PORT_CHUNK); in nx_port_find()2558 *nx_port = (i * NX_PORT_CHUNK) + j; in nx_port_find()2569 if (lc == (last / NX_PORT_CHUNK)) { in nx_port_find()2593 ASSERT(grow > 0 && (grow % NX_PORT_CHUNK) == 0); in nx_port_grow()2594 ASSERT((nx->nx_num_ports % NX_PORT_CHUNK) == 0); in nx_port_grow()[all …]
145 #define NX_PORT_CHUNK 64 macro
211 if (__improbable(nx_port >= NX_PORT_CHUNK)) { in fsw_flow_add()