MCPcopy Create free account
hub / github.com/F-Stack/f-stack / grinder_pipe_exists

Function grinder_pipe_exists

dpdk/lib/sched/rte_sched.c:2504–2515  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2502}
2503
2504static inline int
2505grinder_pipe_exists(struct rte_sched_subport *subport, uint32_t base_pipe)
2506{
2507 uint32_t i;
2508
2509 for (i = 0; i < RTE_SCHED_PORT_N_GRINDERS; i++) {
2510 if (subport->grinder_base_bmp_pos[i] == base_pipe)
2511 return 1;
2512 }
2513
2514 return 0;
2515}
2516
2517static inline void
2518grinder_pcache_populate(struct rte_sched_subport *subport,

Callers 1

grinder_next_pipeFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected