Re: Patch "ravb: Group descriptor types used in Rx ring" has been added to the 6.8-stable tree

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 4/19/24 2:47 PM, Sasha Levin wrote:

> 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=summary
> 
> The 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 <stable@xxxxxxxxxxxxxxx> know about it.
> 
> 
> 
> commit fb17fd565be203e2aa62544a586a72430c457751
> Author: Niklas Söderlund <niklas.soderlund+renesas@xxxxxxxxxxxx>
> Date:   Mon Mar 4 12:08:53 2024 +0100
> 
>     ravb: 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_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 <niklas.soderlund+renesas@xxxxxxxxxxxx>
>     Reviewed-by: Paul Barker <paul.barker.ct@xxxxxxxxxxxxxx>
>     Reviewed-by: Sergey Shtylyov <s.shtylyov@xxxxxx>
>     Signed-off-by: David S. Miller <davem@xxxxxxxxxxxxx>
>     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...

>     Signed-off-by: Sasha Levin <sashal@xxxxxxxxxx>

[...]

MBR, Sergey




[Index of Archives]     [Linux Kernel]     [Kernel Development Newbies]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite Hiking]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux