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)
commiteabd0f88b0d2d433c5dfe88218d4ce1c11ef04b8
tree659b4b10e98987386949c0164267f809bcdec968
parent93440f4888cf049dbd22b41aaf94d2e2153b3eb8
octeontx2-nicvf: Free VF PTP resources.

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

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