]> git.droids-corp.org - dpdk.git/blobdiff - drivers/common/cnxk/roc_bphy_cgx.h
common/cnxk: support reading BPHY CGX/RPM FEC
[dpdk.git] / drivers / common / cnxk / roc_bphy_cgx.h
index 49c35a1e63c08e84d2b465cafba2d7afc4624551..9439f88b343b39e51b9ab0e750e76c1e74f85ff1 100644 (file)
@@ -115,6 +115,9 @@ __roc_api int roc_bphy_cgx_ptp_rx_enable(struct roc_bphy_cgx *roc_cgx,
                                         unsigned int lmac);
 __roc_api int roc_bphy_cgx_ptp_rx_disable(struct roc_bphy_cgx *roc_cgx,
                                          unsigned int lmac);
+__roc_api int roc_bphy_cgx_fec_supported_get(struct roc_bphy_cgx *roc_cgx,
+                                            unsigned int lmac,
+                                            enum roc_bphy_cgx_eth_link_fec *fec);
 
 
 #endif /* _ROC_BPHY_CGX_H_ */