git.droids-corp.org
/
dpdk.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bdf2f89
)
common/cnxk: allow changing PTP mode on CN10K
author
Tomasz Duszynski
<tduszynski@marvell.com>
Fri, 1 Jul 2022 11:54:48 +0000
(13:54 +0200)
committer
Thomas Monjalon
<thomas@monjalon.net>
Tue, 5 Jul 2022 16:51:59 +0000
(18:51 +0200)
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>
drivers/common/cnxk/roc_bphy_cgx.c
patch
|
blob
|
history
diff --git
a/drivers/common/cnxk/roc_bphy_cgx.c
b/drivers/common/cnxk/roc_bphy_cgx.c
index
a5df104
..
e966494
100644
(file)
--- a/
drivers/common/cnxk/roc_bphy_cgx.c
+++ b/
drivers/common/cnxk/roc_bphy_cgx.c
@@
-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;