diff options
| author | Amritha Nambiar <[email protected]> | 2017-09-07 04:00:17 -0700 |
|---|---|---|
| committer | Jeff Kirsher <[email protected]> | 2017-10-13 13:38:17 -0700 |
| commit | 8f88b3034db3be2eb600b9f57012bc63f1ea197f (patch) | |
| tree | 8b254ab0df2d82a2c7003c1006d91fb5a0d04457 /tools/perf/scripts/python/bin/stackcollapse-record | |
| parent | ff4241881232265dbc237591901116fe272967d6 (diff) | |
i40e: Add infrastructure for queue channel support
This patch sets up the infrastructure for offloading TCs and
queue configurations to the hardware by creating HW channels(VSI).
A new channel is created for each of the traffic class
configuration offloaded via mqprio framework except for the first TC
(TC0). TC0 for the main VSI is also reconfigured as per user provided
queue parameters. Queue counts that are not power-of-2 are handled by
reconfiguring RSS by reprogramming LUTs using the queue count value.
This patch also handles configuring the TX rings for the channels,
setting up the RX queue map for channel.
Also, the channels so created are removed and all the queue
configuration is set to default when the qdisc is detached from the
root of the device.
Signed-off-by: Amritha Nambiar <[email protected]>
Signed-off-by: Kiran Patil <[email protected]>
Tested-by: Andrew Bowers <[email protected]>
Signed-off-by: Jeff Kirsher <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-record')
0 files changed, 0 insertions, 0 deletions