Lines Matching full:queues

61 # Get Rx packet counts for all queues, as a simple list of integers
78 # - "target": required, which queues we expect to get iperf traffic
79 # - "empty": optional, which queues should see no traffic at all
80 # - "noise": optional, which queues we expect to see low traffic;
81 # used for queues of the main context, since some background
82 # OS activity may use those queues while we're testing
94 f"traffic on other queues ({name})':" + str(cnts))
97 f"traffic on inactive queues ({name}): " + str(cnts))
112 KsftSkipEx("Device has fewer than 3 queues (or doesn't support queue stats)")
156 # Check we only get traffic on the first 2 queues
160 # 2 queues, 20k packets, must be at least 5k per queue
163 # The other queues should be unused
164 ksft_eq(sum(cnts[2:]), 0, "traffic on unused queues: " + str(cnts))
172 # First two queues get less traffic than all the rest
179 By default main RSS table should change to include all queues.
182 queues used in the user-set RSS config.
188 # Start with 4 queues, an arbitrary known number.
194 raise KsftSkipEx("Not enough queues for the test or qstat not supported")
204 # Indirection table should be distributing to all queues.
209 # Increase queues, indirection table should be distributing to all queues.
233 # We should be able to increase queues, but table should be left untouched
260 # change the table to target queues 0 and 2
262 # ntuple rule therefore targets queues 1 and 3
287 indirection table based on the number of enabled queues.
297 raise KsftSkipEx(f"Not enough queues for the test: {ch_max}")
421 The queues will be allocated 2 for each context:
430 # Try to allocate more queues when necessary
438 raise KsftSkipEx("Not enough queues for the test")
442 # Use queues 0 and 1 for normal traffic
517 # Try to allocate more queues when necessary
525 raise KsftSkipEx("Not enough queues for the test")
553 # Use queues 0 and 1 for normal traffic
587 Use 4 queues for the main context, but only queues 2 and 3 for context 1.
599 raise KsftSkipEx("Not enough queues for the test")
628 ksft_eq(sum(cnts[4: ]), 0, "traffic on other queues: " + str(cnts))
645 ksft_eq(sum(cnts[4: ]), 0, "traffic on other queues: " + str(cnts))
694 raise KsftSkipEx("Not enough queues for the test")