common/cnxk: allow changing PTP mode on 10k platforms
PATCH 1/1 common/cnxk: allow changing PTP mode on 10k platforms
Since firmware has added support for toggling PTP mode on 10k platforms userspace code should allow doing that as well.
Signed-off-by Tomasz Duszynski <[email protected]>
Reviewed-by Jerin Jacob Kollanukkaran <[email protected]>
--- drivers/common/cnxk/roc_bphy_cgx.c | 3 --- 1 file changed, 3 deletions(-)
drivers/common/cnxk/roc_bphy_cgx.c +0 -3
@@ -285,9 +285,6 @@ roc_bphy_cgx_ptp_rx_ena_dis(struct roc_bphy_cgx *roc_cgx, unsigned int lmac, {uint64_t scr1, scr0; -if (roc_model_is_cn10k ()) -return -ENOTSUP ; -if (!roc_cgx)return -EINVAL ;
--
2.25.1
Thomas Monjalon
Applied01/07/2022 13:54, Tomasz Duszynski:
Quoted 7 lines
Since firmware has added support for toggling PTP mode on 10k platforms userspace code should allow doing that as well.
Signed-off-by Tomasz Duszynski <[email protected]>Reviewed-by Jerin Jacob Kollanukkaran <[email protected]>
Applied, thanks.