]> git.baikalelectronics.ru Git - kernel.git/commit
octeontx2-nicvf: Add PTP hardware clock support to NIX VF
authorNaveen Mamindlapalli <naveenm@marvell.com>
Tue, 28 Sep 2021 17:43:46 +0000 (23:13 +0530)
committerDavid S. Miller <davem@davemloft.net>
Wed, 29 Sep 2021 09:27:33 +0000 (10:27 +0100)
commitad8d98ccc7c5598869dabefacd9159c88b98991d
tree572399fc49608364304d1e1bfbec765805852634
parent141748afc5a6832feca9076a93f9ad182c5c1a85
octeontx2-nicvf: Add PTP hardware clock support to NIX VF

This patch adds PTP PHC support to NIX VF interfaces. This enables
a VF to run PTP master/slave instance. PTP block being a shared
hardware resource it is recommended to avoid running multiple
PTP instances in the system which will impact the PTP clock
accuracy.

Signed-off-by: Naveen Mamindlapalli <naveenm@marvell.com>
Signed-off-by: Subbaraya Sundeep <sbhatta@marvell.com>
Signed-off-by: Sunil Kovvuri Goutham <sgoutham@marvell.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/marvell/octeontx2/af/rvu_cgx.c
drivers/net/ethernet/marvell/octeontx2/nic/Makefile
drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.h
drivers/net/ethernet/marvell/octeontx2/nic/otx2_ethtool.c
drivers/net/ethernet/marvell/octeontx2/nic/otx2_pf.c
drivers/net/ethernet/marvell/octeontx2/nic/otx2_ptp.c
drivers/net/ethernet/marvell/octeontx2/nic/otx2_vf.c