net/cnxk: get PTP status
authorSunil Kumar Kori <skori@marvell.com>
Wed, 23 Jun 2021 04:46:54 +0000 (10:16 +0530)
committerJerin Jacob <jerinj@marvell.com>
Wed, 30 Jun 2021 00:44:01 +0000 (02:44 +0200)
commitc7c7c8ed7d47cb9fd6590d8c3f00f5d469e1c449
tree2df85222fe73ce5f51bda147d7f439aa197a0eb6
parentbc778a17fa46f1ec69180c7f660585155eefc318
net/cnxk: get PTP status

Once PTP status is changed at H/W i.e. enable/disable then
it is propagated to user via registered callback.

So corresponding callback is registered to get PTP status.

Signed-off-by: Sunil Kumar Kori <skori@marvell.com>
drivers/net/cnxk/cn10k_ethdev.c
drivers/net/cnxk/cn10k_rx.h
drivers/net/cnxk/cn9k_ethdev.c
drivers/net/cnxk/cn9k_rx.h
drivers/net/cnxk/cnxk_ethdev.c
drivers/net/cnxk/cnxk_ethdev.h
drivers/net/cnxk/cnxk_ethdev_ops.c