Lines Matching full:queues
70 # Get Rx packet counts for all queues, as a simple list of integers
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;
90 # used for queues of the main context, since some background
91 # OS activity may use those queues while we're testing
103 f"traffic on other queues ({name})':" + str(cnts))
106 f"traffic on inactive queues ({name}): " + str(cnts))
121 KsftSkipEx("Device has fewer than 3 queues (or doesn't support queue stats)")
165 # Check we only get traffic on the first 2 queues
169 # 2 queues, 20k packets, must be at least 5k per queue
172 # The other queues should be unused
173 ksft_eq(sum(cnts[2:]), 0, "traffic on unused queues: " + str(cnts))
181 # First two queues get less traffic than all the rest
188 By default main RSS table should change to include all queues.
191 queues used in the user-set RSS config.
197 # Start with 4 queues, an arbitrary known number.
203 raise KsftSkipEx("Not enough queues for the test or qstat not supported")
213 # Indirection table should be distributing to all queues.
218 # Increase queues, indirection table should be distributing to all queues.
242 # We should be able to increase queues, but table should be left untouched
269 # change the table to target queues 0 and 2
271 # ntuple rule therefore targets queues 1 and 3
296 indirection table based on the number of enabled queues.
306 raise KsftSkipEx(f"Not enough queues for the test: {ch_max}")
430 The queues will be allocated 2 for each context:
439 # Try to allocate more queues when necessary
447 raise KsftSkipEx("Not enough queues for the test")
451 # Use queues 0 and 1 for normal traffic
527 # Try to allocate more queues when necessary
535 raise KsftSkipEx("Not enough queues for the test")
563 # Use queues 0 and 1 for normal traffic
594 Use 4 queues for the main context, but only queues 2 and 3 for context 1.
608 raise KsftSkipEx("Not enough queues for the test")
637 ksft_eq(sum(cnts[4: ]), 0, "traffic on other queues: " + str(cnts))
654 ksft_eq(sum(cnts[4: ]), 0, "traffic on other queues: " + str(cnts))
726 raise KsftSkipEx("Not enough queues for the test")