aboutsummaryrefslogtreecommitdiff
path: root/scripts/gdb/linux/stackdepot.py
diff options
context:
space:
mode:
authorNiklas Söderlund <[email protected]>2024-03-04 12:08:53 +0100
committerDavid S. Miller <[email protected]>2024-03-06 11:23:21 +0000
commit4123c3fbf8632e5c553222bf1c10b3a3e0a8dc06 (patch)
tree1b91e402f11ff5ee10258bfdd0f31cd39eed1e95 /scripts/gdb/linux/stackdepot.py
parentdbb0b6ca7d039e089bbf20992c2e9b63e37798ef (diff)
ravb: Group descriptor types used in Rx ring
The Rx ring can either be made up of normal or extended descriptors, not a mix of the two at the same time. Make this explicit by grouping the two variables in a rx_ring union. The extension of the storage for more than one queue of normal descriptors from a single to NUM_RX_QUEUE queues have no practical effect. But aids in making the code readable as the code that uses it already piggyback on other members of struct ravb_private that are arrays of max length NUM_RX_QUEUE, e.g. rx_desc_dma. This will also make further refactoring easier. While at it, rename the normal descriptor Rx ring to make it clear it's not strictly related to the GbEthernet E-MAC IP found in RZ/G2L, normal descriptors could be used on R-Car SoCs too. Signed-off-by: Niklas Söderlund <[email protected]> Reviewed-by: Paul Barker <[email protected]> Reviewed-by: Sergey Shtylyov <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/stackdepot.py')
0 files changed, 0 insertions, 0 deletions