Lines Matching full:queues
60 # Get Rx packet counts for all queues, as a simple list of integers
77 # - "target": required, which queues we expect to get iperf traffic
78 # - "empty": optional, which queues should see no traffic at all
79 # - "noise": optional, which queues we expect to see low traffic;
80 # used for queues of the main context, since some background
81 # OS activity may use those queues while we're testing
93 f"traffic on other queues ({name})':" + str(cnts))
96 f"traffic on inactive queues ({name}): " + str(cnts))
104 KsftSkipEx("Device has fewer than 3 queues (or doesn't support queue stats)")
148 # Check we only get traffic on the first 2 queues
152 # 2 queues, 20k packets, must be at least 5k per queue
155 # The other queues should be unused
156 ksft_eq(sum(cnts[2:]), 0, "traffic on unused queues: " + str(cnts))
164 # First two queues get less traffic than all the rest
171 By default main RSS table should change to include all queues.
174 queues used in the user-set RSS config.
180 # Start with 4 queues, an arbitrary known number.
186 raise KsftSkipEx("Not enough queues for the test or qstat not supported")
196 # Indirection table should be distributing to all queues.
201 # Increase queues, indirection table should be distributing to all queues.
225 # We should be able to increase queues, but table should be left untouched
246 indirection table based on the number of enabled queues.
256 raise KsftSkipEx(f"Not enough queues for the test: {ch_max}")
380 The queues will be allocated 2 for each context:
389 # Try to allocate more queues when necessary
397 raise KsftSkipEx("Not enough queues for the test")
401 # Use queues 0 and 1 for normal traffic
474 # Try to allocate more queues when necessary
482 raise KsftSkipEx("Not enough queues for the test")
510 # Use queues 0 and 1 for normal traffic
544 Use 4 queues for the main context, but only queues 2 and 3 for context 1.
556 raise KsftSkipEx("Not enough queues for the test")
585 ksft_eq(sum(cnts[4: ]), 0, "traffic on other queues: " + str(cnts))
602 ksft_eq(sum(cnts[4: ]), 0, "traffic on other queues: " + str(cnts))