Message ID | 20221007034201.4126054-1-f.fainelli@gmail.com (mailing list archive) |
---|---|
State | Accepted |
Commit | a390e03401e908ebfecdab0c53b70ff512f11d71 |
Delegated to: | Netdev Maintainers |
Headers | show |
Series | [net] net: systemport: Enable all RX descriptors for SYSTEMPORT Lite | expand |
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!
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
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(-)