🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: linux.kernel.netdev
1 messages
1 total messages Started by patchwork-bot+netdevbpf Wed, 25 Nov 2026 15:40
Re: [PATCH net] qed: Fix missing bar_id comparison in qed_hw_bar_size()
#22631
Author: patchwork-bot+netdevbpf
Date: Wed, 25 Nov 2026 15:40
28 lines
8777 bytes
Hello:

This patch was applied to netdev/net-next.git (main)
by Paolo Abeni <pabeni@redhat.com>:

On Thu, 19 Nov 2026 09:04:12 -0800 you wrote:
> When PGLUE_B_REG_PF_BAR{0,1}_SIZE reads back as 0 on older management
> firmware with multi-hwfn devices, qed_hw_bar_size() logs that it assumes
> 256 KiB for GRC (BAR_ID_0) and 512 KiB for DB (BAR_ID_1), but evaluates:
> 
>   return BAR_ID_0 ? 256 * 1024 : 512 * 1024;
> 
> Because BAR_ID_0 is enum constant 0, the ternary condition is always
> false and qed_hw_bar_size() unconditionally returns 512 KiB even for
> BAR_ID_0, doubling the computed GRC BAR offset for the second hardware
> function.
> 
> [...]

Here is the summary with links:
  - [net] qed: Fix missing bar_id comparison in qed_hw_bar_size()
    https://git.kernel.org/netdev/net-next/c/8301cdd07d43

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

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads