aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/netdev-times.py
diff options
context:
space:
mode:
authorMichael Chan <[email protected]>2021-08-02 10:52:38 -0400
committerDavid S. Miller <[email protected]>2021-08-03 12:38:46 +0100
commit03c7448790b87cec82a2f1406ff40dd1a8861170 (patch)
tree84b72007879941e7f4071329dc7fbc3d8dbd415a /tools/perf/scripts/python/netdev-times.py
parent0547ffe6248cd90361dfa627c4566afb81f06c2b (diff)
bnxt_en: Don't use static arrays for completion ring pages
We currently store these page addresses and DMA addreses in static arrays. On systems with 4K pages, we support up to 64 pages per completion ring. The actual number of pages for each completion ring may be much less than 64. For example, when the RX ring size is set to the default 511 entries, only 16 completion ring pages are needed per ring. In the next patch, we'll be doubling the maximum number of completion pages. So we convert to allocate these arrays as needed instead of declaring them statically. Reviewed-by: Pavan Chebbi <[email protected]> Reviewed-by: Somnath Kotur <[email protected]> Reviewed-by: Edwin Peer <[email protected]> Signed-off-by: Michael Chan <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/netdev-times.py')
0 files changed, 0 insertions, 0 deletions