diff options
| author | Michael Chan <[email protected]> | 2023-11-13 16:16:11 -0800 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2023-11-15 10:07:39 +0000 |
| commit | d1eec614100c25b96b672b50d3125ba3d120b682 (patch) | |
| tree | dbd66ff04fee01c3c5a6bdd9bb2ce7e9ebbb4768 /tools/perf/scripts/python/libxed.py | |
| parent | 7f0a168b0441ef7fd6b46563efb2706c58ac2a4c (diff) | |
bnxt_en: Restructure cp_ring_arr in struct bnxt_cp_ring_info
The cp_ring_arr is currently a fixed array of 2 pointers for the
TX and RX completion rings. These pointers are allocated during
ring initialization. Currntly, we support up to 2 completion rings
for each MSIX. In order to support more completion rings, we change
this fixed array to a pointer and allocate the required entries
during ring initialization. This patch keeps the current scheme of
allocating only 2 entries when needed. Later patches will expand
and allocate more entries when required.
Reviewed-by: Andy Gospodarek <[email protected]>
Signed-off-by: Michael Chan <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/libxed.py')
0 files changed, 0 insertions, 0 deletions