common/cnxk: support NIX PTP
authorSunil Kumar Kori <skori@marvell.com>
Tue, 6 Apr 2021 14:41:17 +0000 (20:11 +0530)
committerJerin Jacob <jerinj@marvell.com>
Fri, 9 Apr 2021 06:32:24 +0000 (08:32 +0200)
commitc443e0d326e1047d192c4fbe881a05108220d848
treea20c0c3a0b25de558857f149942fd9df79293ebd
parent1bf6746e653b5f31dbd64bbcea572ebfadc1c8cb
common/cnxk: support NIX PTP

Add support to enable/disable Rx and Tx PTP timestamping
support. Also provide API's to register ptp info callbacks
to get config change update from Kernel.

Signed-off-by: Sunil Kumar Kori <skori@marvell.com>
Acked-by: Nithin Dabilpuram <ndabilpuram@marvell.com>
drivers/common/cnxk/meson.build
drivers/common/cnxk/roc_nix.h
drivers/common/cnxk/roc_nix_ptp.c [new file with mode: 0644]
drivers/common/cnxk/version.map