[PATCH net] net: systemport: Enable all RX descriptors for SYSTEMPORT Lite

Florian Fainelli posted 1 patch 3 years, 6 months ago
drivers/net/ethernet/broadcom/bcmsysport.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
[PATCH net] net: systemport: Enable all RX descriptors for SYSTEMPORT Lite
Posted by Florian Fainelli 3 years, 6 months ago
The original commit that added support for the SYSTEMPORT Lite variant
halved the number of RX descriptors due to a confusion between the
number of descriptors and the number of descriptor words. There are 512
descriptor *words* which means 256 descriptors total.

Fixes: 44a4524c54af ("net: systemport: Add support for SYSTEMPORT Lite")
Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
---
 drivers/net/ethernet/broadcom/bcmsysport.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/net/ethernet/broadcom/bcmsysport.h b/drivers/net/ethernet/broadcom/bcmsysport.h
index 16b73bb9acc7..5af16e5f9ad0 100644
--- a/drivers/net/ethernet/broadcom/bcmsysport.h
+++ b/drivers/net/ethernet/broadcom/bcmsysport.h
@@ -484,7 +484,7 @@ struct bcm_rsb {
 
 /* Number of Receive hardware descriptor words */
 #define SP_NUM_HW_RX_DESC_WORDS		1024
-#define SP_LT_NUM_HW_RX_DESC_WORDS	256
+#define SP_LT_NUM_HW_RX_DESC_WORDS	512
 
 /* Internal linked-list RAM size */
 #define SP_NUM_TX_DESC			1536
-- 
2.25.1
Re: [PATCH net] net: systemport: Enable all RX descriptors for SYSTEMPORT Lite
Posted by patchwork-bot+netdevbpf@kernel.org 3 years, 5 months ago
Hello:

This patch was applied to netdev/net.git (master)
by Jakub Kicinski <kuba@kernel.org>:

On Thu,  6 Oct 2022 20:42:01 -0700 you wrote:
> The original commit that added support for the SYSTEMPORT Lite variant
> halved the number of RX descriptors due to a confusion between the
> number of descriptors and the number of descriptor words. There are 512
> descriptor *words* which means 256 descriptors total.
> 
> Fixes: 44a4524c54af ("net: systemport: Add support for SYSTEMPORT Lite")
> Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
> 
> [...]

Here is the summary with links:
  - [net] net: systemport: Enable all RX descriptors for SYSTEMPORT Lite
    https://git.kernel.org/netdev/net/c/a390e03401e9

You are awesome, thank you!
-- 
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html