Patch "ravb: Group descriptor types used in Rx ring" has been added to the 6.8-stable tree
A message that is not in the archive (sent off-list or not yet received): [email protected]
Quoted 39 lines · Sasha Levin
This is a note to let you know that I've just added the patch titled
ravb: Group descriptor types used in Rx ring
to the 6.8-stable tree which can be found at:
http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summaryThe filename of the patch is:
ravb-group-descriptor-types-used-in-rx-ring.patch
and it can be found in the queue-6.8 subdirectory.If you, or anyone else, feels it should not be added to the stable tree, please let <[email protected]> know about it.
commit
fb17fd565be203e2aa62544a586a72430c457751Author: Niklas Söderlund <[email protected]> Date: Mon Mar 4 12:08:53 2024 +0100ravb: Group descriptor types used in Rx ring
[ Upstream commit
4123c3fbf8632e5c553222bf1c10b3a3e0a8dc06]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_ringunion.The extension of the storage for more than one queue of normal descriptors from a single to
NUM_RX_QUEUEqueues have no practical effect. But aids in making the code readable as the code that uses it already piggyback on other members of structravb_privatethat are arrays of max lengthNUM_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.
Quoted 5 lines
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]>Stable-dep-of:
def52db470df("net: ravb: Count packets instead of descriptors in R-Car RX path")
Hm, I doubt this patch is actually necessary here...
Quoted 1 line
Signed-off-by Sasha Levin <[email protected]>
[...]
MBR, Sergey