Home
last modified time | relevance | path

Searched refs:cflows (Results 1 - 2 of 2) sorted by relevance

/kernel/linux/linux-5.10/net/core/
H A Dpktgen.c400 unsigned int cflows; /* Concurrent flows (config) */ member
563 seq_printf(seq, " flows: %u flowlen: %u\n", pkt_dev->cflows, in pktgen_if_show()
649 if (!pkt_dev->cflows) in pktgen_if_show()
1471 pkt_dev->cflows = value; in pktgen_if_write()
1472 sprintf(pg_result, "OK: flows=%u", pkt_dev->cflows); in pktgen_if_write()
2215 if (pkt_dev->curfl >= pkt_dev->cflows) in f_pick()
2219 flow = prandom_u32() % pkt_dev->cflows; in f_pick()
2298 if (pkt_dev->cflows) in mod_cur_headers()
2415 if (pkt_dev->cflows && f_seen(pkt_dev, flow)) { in mod_cur_headers()
2444 if (pkt_dev->cflows) { in mod_cur_headers()
[all...]
/kernel/linux/linux-6.6/net/core/
H A Dpktgen.c416 unsigned int cflows; /* Concurrent flows (config) */ member
587 seq_printf(seq, " flows: %u flowlen: %u\n", pkt_dev->cflows, in pktgen_if_show()
673 if (!pkt_dev->cflows) in pktgen_if_show()
1578 pkt_dev->cflows = value; in pktgen_if_write()
1579 sprintf(pg_result, "OK: flows=%u", pkt_dev->cflows); in pktgen_if_write()
2323 if (pkt_dev->curfl >= pkt_dev->cflows) in f_pick()
2327 flow = get_random_u32_below(pkt_dev->cflows); in f_pick()
2404 if (pkt_dev->cflows) in mod_cur_headers()
2519 if (pkt_dev->cflows && f_seen(pkt_dev, flow)) { in mod_cur_headers()
2547 if (pkt_dev->cflows) { in mod_cur_headers()
[all...]

Completed in 7 milliseconds