diff options
| author | Lendacky, Thomas <Thomas.Lendacky@amd.com> | 2015-09-30 08:53:03 -0500 |
|---|---|---|
| committer | David S. Miller <davem@davemloft.net> | 2015-10-05 03:23:25 -0700 |
| commit | 9c439e4b730f0d519821527afd697e6af99a67ab (patch) | |
| tree | 8f9850a37ebedf39dc6645eb3d9cf1d912bb388c /scripts/gdb/linux/utils.py | |
| parent | e5dd8b81107881f8928378a38f6e47aa2da62c37 (diff) | |
amd-xgbe: Simplify calculation and setting of queue fifos
The calculation of the Tx and Rx fifo sizes can be calculated rather
than hardcoded in a switch statement. Additionally, the per-queue fifo
sizes can be calculated rather than hardcoded using if/else if statements
that can possibly underutilize the available fifo area.
Change the code to calculate the fifo sizes and the per-queue fifo sizes
to simplify the code and make best use of the available fifo.
Signed-off-by: Tom Lendacky <thomas.lendacky@amd.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'scripts/gdb/linux/utils.py')
0 files changed, 0 insertions, 0 deletions
