Lines Matching full:traffic
87 # - "target": required, which queues we expect to get iperf traffic
88 # - "empty": optional, which queues should see no traffic at all
89 # - "noise": optional, which queues we expect to see low traffic;
100 ksft_ge(directed, 20000, f"traffic on {name}: " + str(cnts))
103 f"traffic on other queues ({name})':" + str(cnts))
106 f"traffic on inactive queues ({name}): " + str(cnts))
165 # Check we only get traffic on the first 2 queues
170 ksft_ge(cnts[0], 5000, "traffic on main context (1/2): " + str(cnts))
171 ksft_ge(cnts[1], 5000, "traffic on main context (2/2): " + str(cnts))
173 ksft_eq(sum(cnts[2:]), 0, "traffic on unused queues: " + str(cnts))
175 # Restore, and check traffic gets spread again
182 # First two queues get less traffic than all the rest
184 "traffic distributed: " + str(cnts))
187 ksft_ge(cnts[2], 3500, "traffic distributed: " + str(cnts))
331 """Test that flows may be rehashed without impacting traffic.
335 the key does not cause link flaps or traffic disruption.
337 Disrupting traffic for key update is not a bug, but makes the key
435 Test separating traffic into RSS contexts.
457 # Use queues 0 and 1 for normal traffic
524 Test separating traffic into RSS contexts.
569 # Use queues 0 and 1 for normal traffic
639 ksft_ge(sum(cnts[ :4]), 20000, "traffic on main context: " + str(cnts))
640 ksft_ge(sum(cnts[ :2]), 7000, "traffic on main context (1/2): " + str(cnts))
641 ksft_ge(sum(cnts[2:4]), 7000, "traffic on main context (2/2): " + str(cnts))
643 ksft_eq(sum(cnts[4: ]), 0, "traffic on other queues: " + str(cnts))
645 # Now create a rule for context 1 and make sure traffic goes to a subset
657 ksft_lt(sum(cnts[ :2]), directed / 2, "traffic on main context: " + str(cnts))
658 ksft_ge(directed, 20000, "traffic on extra context: " + str(cnts))
660 ksft_eq(sum(cnts[4: ]), 0, "traffic on other queues: " + str(cnts))
734 # Use queue 0 for normal traffic
759 context and steer all TCP traffic to it (context 1). Verify that:
760 * Traffic to the specific port continues to use queues of the main
762 * Traffic to any other TCP port is redirected to the new context
785 # Generic low-priority rule: redirect all TCP traffic to the new context.
800 # Verify that traffic matching the specific rule still goes to queues 0/1
805 # And that traffic for any other port is steered to the new context