common/cnxk: allow changing PTP mode on CN10K
Since firmware has added support for toggling PTP mode on 10k platforms userspace code should allow doing that as well. Cc: stable@dpdk.org Signed-off-by: Tomasz Duszynski <tduszynski@marvell.com> Reviewed-by: Jerin Jacob <jerinj@marvell.com>
This commit is contained in:
parent
bdf2f895a6
commit
2ddf4b110c
@ -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;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user