]> git.baikalelectronics.ru Git - kernel.git/commit
octeontx2-nicvf: Free VF PTP resources.
authorRakesh Babu Saladi <rsaladi2@marvell.com>
Fri, 7 Jan 2022 06:30:30 +0000 (12:00 +0530)
committerDavid S. Miller <davem@davemloft.net>
Fri, 7 Jan 2022 14:04:19 +0000 (14:04 +0000)
commitea0d7ba41e56f31dc434e0455ab82002d92adf25
tree659b4b10e98987386949c0164267f809bcdec968
parent2af0b1ed90a8bed07b15b775a140d6ecbea22746
octeontx2-nicvf: Free VF PTP resources.

When a VF is removed respective PTP resources are not
being freed currently. This patch fixes it.

Fixes: b43d73887cd8 ("octeontx2-nicvf: Add PTP hardware clock support to NIX VF")
Signed-off-by: Rakesh Babu Saladi <rsaladi2@marvell.com>
Signed-off-by: Subbaraya Sundeep <sbhatta@marvell.com>
Signed-off-by: Sunil Goutham <sgoutham@marvell.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/marvell/octeontx2/nic/otx2_vf.c