linux-stable/drivers/net/ethernet/marvell/octeontx2/nic
Hariprasad Kelam 7af5582ea6 octeontx2-pf: Fix transmit scheduler resource leak
[ Upstream commit bccb798e07 ]

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: 47a9656f16 ("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>
2024-04-17 11:19:28 +02:00
..
Makefile octeontx2-pf: Add support for HTB offload 2023-05-15 09:31:07 +01:00
cn10k.c octeontx2-pf: Restore TC ingress police rules when interface is up 2023-12-08 08:52:23 +01:00
cn10k.h octeontx2-pf: Fix page pool cache index corruption. 2023-09-10 19:29:15 +01:00
cn10k_macsec.c octeontx2-pf: mcs: update PN only when update_pn is true 2023-10-10 10:30:31 +02:00
otx2_common.c octeontx2-pf: Wait till detach_resources msg is complete 2024-03-26 18:20:12 -04:00
otx2_common.h octeontx2: Detect the mbox up or down message via register 2024-03-26 18:20:11 -04:00
otx2_dcbnl.c octeontx2-pf: Fix graceful exit during PFC configuration failure 2024-01-01 12:42:30 +00:00
otx2_devlink.c octeontx2-af: Install TC filter rules in hardware based on priority 2023-07-25 09:44:19 +02:00
otx2_devlink.h
otx2_dmac_flt.c
otx2_ethtool.c octeontx2-pf: Remove xdp queues on program detach 2024-02-05 20:14:37 +00:00
otx2_flows.c octeontx2-pf: Fix ntuple rule creation to direct packet to VF with higher Rx queue than its PF 2023-12-03 07:33:05 +01:00
otx2_pf.c octeontx2-pf: check negative error code in otx2_open() 2024-04-10 16:35:54 +02:00
otx2_ptp.c octeontx2-pf: Use PTP HW timestamp counter atomic update feature 2023-08-23 08:20:50 +01:00
otx2_ptp.h
otx2_reg.h octeontx2-pf: Prepare for QOS offload 2023-05-15 09:31:07 +01:00
otx2_struct.h octeontx2-pf: Fix error codes 2023-11-20 11:59:34 +01:00
otx2_tc.c octeontx2-pf: Restore TC ingress police rules when interface is up 2023-12-08 08:52:23 +01:00
otx2_txrx.c octeontx2-pf: Remove xdp queues on program detach 2024-02-05 20:14:37 +00:00
otx2_txrx.h octeontx2-pf: Fix page pool cache index corruption. 2023-09-10 19:29:15 +01:00
otx2_vf.c octeontx2-pf: Wait till detach_resources msg is complete 2024-03-26 18:20:12 -04:00
qos.c octeontx2-pf: Fix transmit scheduler resource leak 2024-04-17 11:19:28 +02:00
qos.h octeontx2-pf: htb offload support for Round Robin scheduling 2023-07-21 09:55:53 +01:00
qos_sq.c octeontx2-pf: Add support for page pool 2023-05-23 10:47:50 +02:00