Home
last modified time | relevance | path

Searched hist:"7 af5582ea67209a23e44be9a9612ba7897be1f47" (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/drivers/net/ethernet/marvell/octeontx2/nic/
H A Dqos.cdiff 7af5582ea67209a23e44be9a9612ba7897be1f47 Thu Apr 04 06:24:27 CDT 2024 Hariprasad Kelam <hkelam@marvell.com> octeontx2-pf: Fix transmit scheduler resource leak

[ Upstream commit bccb798e07f8bb8b91212fe8ed1e421685449076 ]

Inorder to support shaping and scheduling, Upon class creation
Netdev driver allocates trasmit schedulers.

The previous patch which added support for Round robin scheduling has
a bug due to which driver is not freeing transmit schedulers post
class deletion.

This patch fixes the same.

Fixes: 47a9656f168a ("octeontx2-pf: htb offload support for Round Robin scheduling")
Signed-off-by: Hariprasad Kelam <hkelam@marvell.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Sasha Levin <sashal@kernel.org>