| /dpdk/drivers/raw/cnxk_bphy/ |
| H A D | cnxk_bphy_cgx_test.c | 52 enum cnxk_bphy_cgx_eth_link_fec fec; in cnxk_bphy_cgx_dev_selftest() local 128 ret = rte_pmd_bphy_cgx_get_supported_fec(dev_id, i, &fec); in cnxk_bphy_cgx_dev_selftest() 134 ret = rte_pmd_bphy_cgx_set_fec(dev_id, i, fec); in cnxk_bphy_cgx_dev_selftest() 136 RTE_LOG(ERR, PMD, "Failed to set FEC to %d\n", fec); in cnxk_bphy_cgx_dev_selftest() 140 fec = CNXK_BPHY_CGX_ETH_LINK_FEC_NONE; in cnxk_bphy_cgx_dev_selftest() 141 ret = rte_pmd_bphy_cgx_set_fec(dev_id, i, fec); in cnxk_bphy_cgx_dev_selftest()
|
| H A D | cnxk_bphy_cgx.c | 65 enum roc_bphy_cgx_eth_link_fec *fec; in cnxk_bphy_cgx_process_buf() local 86 link_info->fec = in cnxk_bphy_cgx_process_buf() 87 (enum cnxk_bphy_cgx_eth_link_fec)rlink_info.fec; in cnxk_bphy_cgx_process_buf() 127 fec = rte_zmalloc(NULL, sizeof(*fec), 0); in cnxk_bphy_cgx_process_buf() 128 if (!fec) in cnxk_bphy_cgx_process_buf() 131 ret = roc_bphy_cgx_fec_supported_get(cgx->rcgx, lmac, fec); in cnxk_bphy_cgx_process_buf() 132 rsp = fec; in cnxk_bphy_cgx_process_buf() 135 fec = msg->data; in cnxk_bphy_cgx_process_buf() 136 ret = roc_bphy_cgx_fec_set(cgx->rcgx, lmac, *fec); in cnxk_bphy_cgx_process_buf()
|
| H A D | rte_pmd_bphy.h | 101 enum cnxk_bphy_cgx_eth_link_fec fec; member 379 enum cnxk_bphy_cgx_eth_link_fec *fec) in rte_pmd_bphy_cgx_get_supported_fec() argument 385 return __rte_pmd_bphy_enq_deq(dev_id, lmac, &msg, fec, sizeof(*fec)); in rte_pmd_bphy_cgx_get_supported_fec() 390 enum cnxk_bphy_cgx_eth_link_fec fec) in rte_pmd_bphy_cgx_set_fec() argument 394 .data = &fec, in rte_pmd_bphy_cgx_set_fec()
|
| /dpdk/drivers/common/cnxk/ |
| H A D | roc_bphy_cgx.h | 91 enum roc_bphy_cgx_eth_link_fec fec; member 120 enum roc_bphy_cgx_eth_link_fec fec); 123 enum roc_bphy_cgx_eth_link_fec *fec);
|
| H A D | roc_bphy_cgx.c | 341 info->fec = FIELD_GET(SCR0_ETH_LNK_STS_S_FEC, scr0); in roc_bphy_cgx_get_linkinfo() 401 enum roc_bphy_cgx_eth_link_fec fec) in roc_bphy_cgx_fec_set() argument 412 FIELD_PREP(SCR1_ETH_SET_FEC_ARGS, fec); in roc_bphy_cgx_fec_set() 419 enum roc_bphy_cgx_eth_link_fec *fec) in roc_bphy_cgx_fec_supported_get() argument 424 if (!roc_cgx || !fec) in roc_bphy_cgx_fec_supported_get() 437 *fec = (enum roc_bphy_cgx_eth_link_fec)scr0; in roc_bphy_cgx_fec_supported_get()
|
| H A D | roc_nix_mac.c | 185 link_info->fec = rsp->link_info.fec; in roc_nix_mac_link_info_get()
|
| H A D | roc_mbox.h | 535 uint64_t __io fec : 2; /* FEC type if enabled else 0 */ member 613 int __io fec; member
|
| H A D | roc_nix.h | 351 uint64_t fec : 2; member
|
| /dpdk/drivers/common/sfc_efx/base/ |
| H A D | ef10_phy.c | 101 __in uint32_t fec, in mcdi_phy_decode_link_mode() argument 147 switch (fec) { in mcdi_phy_decode_link_mode() 158 EFSYS_PROBE1(mc_pcol_error, int, fec); in mcdi_phy_decode_link_mode() 175 efx_phy_fec_type_t fec = MC_CMD_FEC_NONE; in ef10_phy_link_ev() local 214 &fcntl, &fec); in ef10_phy_link_ev() 265 uint32_t fec; in ef10_phy_get_link() local 294 fec = MC_CMD_FEC_NONE; in ef10_phy_get_link() 296 fec = MCDI_OUT_DWORD(req, GET_LINK_OUT_V2_FEC_TYPE); in ef10_phy_get_link() 301 fec, &elsp->epls.epls_link_mode, in ef10_phy_get_link()
|
| /dpdk/drivers/net/nfp/nfpcore/ |
| H A D | nfp_nsp_eth.c | 174 unsigned int fec; in nfp_eth_port_translate() local 210 fec = FIELD_GET(NSP_ETH_PORT_FEC_SUPP_BASER, port); in nfp_eth_port_translate() 211 dst->fec_modes_supported |= fec << NFP_FEC_BASER_BIT; in nfp_eth_port_translate() 212 fec = FIELD_GET(NSP_ETH_PORT_FEC_SUPP_RS, port); in nfp_eth_port_translate() 213 dst->fec_modes_supported |= fec << NFP_FEC_REED_SOLOMON_BIT; in nfp_eth_port_translate() 217 dst->fec = 1 << FIELD_GET(NSP_ETH_STATE_FEC, state); in nfp_eth_port_translate()
|
| H A D | nfp_nsp.h | 205 enum nfp_eth_fec fec; member
|
| /dpdk/doc/guides/nics/ |
| H A D | enetfec.rst | 57 | fec-uio | 69 'fec-uio' is the kernel driver.
|
| /dpdk/drivers/net/hinic/base/ |
| H A D | hinic_pmd_hwdev.c | 1485 const char *fec = "None"; in print_link_info() local 1487 if (info->fec < HILINK_FEC_MAX_TYPE) in print_link_info() 1488 fec = __hw_to_char_fec[info->fec]; in print_link_info() 1491 info->fec); in print_link_info() 1495 info->speed, fec, info->an_state ? "on" : "off"); in print_link_info()
|
| H A D | hinic_pmd_hwdev.h | 365 u8 fec; /* 0 - RSFEC; 1 - BASEFEC; 2 - NOFEC */ member
|
| /dpdk/doc/guides/bbdevs/ |
| H A D | turbo_sw.rst | 70 …his `link <https://software.intel.com/en-us/articles/flexran-lte-and-5g-nr-fec-software-developmen…
|
| /dpdk/drivers/net/ice/base/ |
| H A D | ice_common.h | 179 enum ice_fec_mode fec);
|
| H A D | ice_ptp_hw.c | 1475 enum ice_ptp_fec_mode fec; in ice_phy_get_speed_and_fec_e822() local 1486 fec = (enum ice_ptp_fec_mode)P_REG_LINK_SPEED_FEC_MODE(serdes); in ice_phy_get_speed_and_fec_e822() 1491 if (fec == ICE_PTP_FEC_MODE_RS_FEC) { in ice_phy_get_speed_and_fec_e822() 1530 *fec_out = fec; in ice_phy_get_speed_and_fec_e822()
|
| H A D | ice_common.c | 3626 enum ice_fec_mode fec) in ice_cfg_phy_fec() argument 3653 switch (fec) { in ice_cfg_phy_fec() 3685 if (fec == ICE_FEC_AUTO && ice_fw_supports_link_override(pi->hw) && in ice_cfg_phy_fec()
|
| /dpdk/doc/guides/testpmd_app_ug/ |
| H A D | testpmd_funcs.rst | 636 show fec capabilities 639 Show fec capabilities of a port:: 641 testpmd> show port (port_id) fec capabilities 643 show fec mode 646 Show fec mode of a port:: 2014 Set fec mode 2017 Set fec mode for a specific port::
|