[PATCH] net/ixgbe: remove unreachable WFQ weight mode check

Bruce Richardson bruce.richardson at intel.com
Tue Oct 27 12:33:03 CET 2026


On Thu, Oct 22, 2026 at 06:07:24PM +0500, Andrey Mokrushin wrote:
> In ixgbe_node_param_check(), a non-NULL nonleaf.wfq_weight_mode
> of a non-leaf node is already rejected with "WFQ not supported"
> before the n_sp_priorities check. The pointer is not modified
> afterwards, so the following else-if branch that checks it again
> ("WFP should be byte mode") can never be taken.
> 
> Remove the dead branch. No functional change.
> 
> Found by Linux Verification Center (linuxtesting.org) with SVACE.
> 
> Signed-off-by: Andrey Mokrushin <a.mokrushin at ideco.ru>
Acked-by: Bruce Richardson <bruce.richardson at intel.com>

Applied to dpdk-next-net-intel.
/Bruce


More information about the dev mailing list