[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <167628241773.19101.6036160465962539322.git-patchwork-notify@kernel.org>
Date: Mon, 13 Feb 2023 10:00:17 +0000
From: patchwork-bot+netdevbpf@...nel.org
To: Michael Chan <michael.chan@...adcom.com>
Cc: davem@...emloft.net, netdev@...r.kernel.org, kuba@...nel.org,
edumazet@...gle.com, pabeni@...hat.com, gospo@...adcom.com
Subject: Re: [PATCH net] bnxt_en: Fix mqprio and XDP ring checking logic
Hello:
This patch was applied to netdev/net.git (master)
by David S. Miller <davem@...emloft.net>:
On Fri, 10 Feb 2023 12:31:55 -0500 you wrote:
> In bnxt_reserve_rings(), there is logic to check that the number of TX
> rings reserved is enough to cover all the mqprio TCs, but it fails to
> account for the TX XDP rings. So the check will always fail if there
> are mqprio TCs and TX XDP rings. As a result, the driver always fails
> to initialize after the XDP program is attached and the device will be
> brought down. A subsequent ifconfig up will also fail because the
> number of TX rings is set to an inconsistent number. Fix the check to
> properly account for TX XDP rings. If the check fails, set the number
> of TX rings back to a consistent number after calling netdev_reset_tc().
>
> [...]
Here is the summary with links:
- [net] bnxt_en: Fix mqprio and XDP ring checking logic
https://git.kernel.org/netdev/net/c/2038cc592811
You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html
Powered by blists - more mailing lists