Re: [PATCH net-next] octeontx2-af: fix build regression without CONFIG_DCB

From: patchwork-bot+netdevbpf
Date: Sun Dec 15 2024 - 17:00:54 EST


Hello:

This patch was applied to netdev/net-next.git (main)
by Jakub Kicinski <kuba@xxxxxxxxxx>:

On Fri, 13 Dec 2024 09:32:18 +0100 you wrote:
> From: Arnd Bergmann <arnd@xxxxxxxx>
>
> When DCB is disabled, the pfc_en struct member cannot be accessed:
>
> drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.c: In function 'otx2_is_pfc_enabled':
> drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.c:22:48: error: 'struct otx2_nic' has no member named 'pfc_en'
> 22 | return IS_ENABLED(CONFIG_DCB) && !!pfvf->pfc_en;
> | ^~
> drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.c: In function 'otx2_nix_config_bp':
> drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.c:1755:33: error: 'IEEE_8021QAZ_MAX_TCS' undeclared (first use in this function)
> 1755 | req->chan_cnt = IEEE_8021QAZ_MAX_TCS;
> | ^~~~~~~~~~~~~~~~~~~~
>
> [...]

Here is the summary with links:
- [net-next] octeontx2-af: fix build regression without CONFIG_DCB
https://git.kernel.org/netdev/net-next/c/410cd938511f

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