]> git.baikalelectronics.ru Git - kernel.git/commit
octeontx2-af: Reset PTP config in FLR handler
authorHarman Kalra <hkalra@marvell.com>
Tue, 28 Sep 2021 11:30:58 +0000 (17:00 +0530)
committerDavid S. Miller <davem@davemloft.net>
Tue, 28 Sep 2021 12:50:37 +0000 (13:50 +0100)
commit7c61eabb7753df35026f9ab4b6a8fd7e628dbda8
tree7d1be4eb17f3afc110bdd454a0392f97162eafb5
parentcaa28ce91a3a0a476ce1814475d70af5ddcb1e38
octeontx2-af: Reset PTP config in FLR handler

Upon receiving ptp config request from netdev interface , Octeontx2 MAC
block CGX is configured to append timestamp to every incoming packet
and NPC config is updated with DMAC offset change.

Currently this configuration is not reset in FLR handler. This patch
resets the same.

Signed-off-by: Harman Kalra <hkalra@marvell.com>
Signed-off-by: Hariprasad Kelam <hkelam@marvell.com>
Signed-off-by: Sunil Goutham <sgoutham@marvell.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/marvell/octeontx2/af/rvu.h
drivers/net/ethernet/marvell/octeontx2/af/rvu_cgx.c
drivers/net/ethernet/marvell/octeontx2/af/rvu_nix.c