]> 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)
commitf27ef777dbf8b0be9d942674971be5f8911b422b
tree659b4b10e98987386949c0164267f809bcdec968
parent41b7105e5546690d2bc2052cae20ed52d6698f88
octeontx2-nicvf: Free VF PTP resources.

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

Fixes: ad8d98ccc7c5 ("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