ENUM IONIC_PORT_FEC_TYPE(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… enum ionic_port_fec_type(9) πŸ’…

okay bestie, so we're deep in the Kernel API Manual today β€” this is the ionic driver's very own enum, the one that lists out your Ethernet Forward error correction (FEC) modes ✨. yes, FEC. the thing that saves your packets when the cable's having a bad day. we love her. 🫢


πŸ¦‹ SYNOPSIS πŸ¦‹

enum ionic_port_fec_type {
    IONIC_PORT_FEC_TYPE_NONE ,
    IONIC_PORT_FEC_TYPE_FC ,
    IONIC_PORT_FEC_TYPE_RS

};

no cap, that's the whole shape of it β€” three members, and then a lil trailing blank line before the closing brace because the kernel headers simply vibe that way πŸ’€


🌸 CONSTANTS 🌸

bestie, there are literally three of them and each one is a different flavour of "how do we correct these errors":

  • IONIC_PORT_FEC_TYPE_NONE β€” FEC Disabled. like, we're raw-dogging the wire. no error correction, no safety net, just vibes and hope πŸ™ˆ
  • IONIC_PORT_FEC_TYPE_FC β€” FireCode FEC. FireCode!! iconic name, honestly. πŸ”₯
  • IONIC_PORT_FEC_TYPE_RS β€” ReedSolomon FEC. the classic, the legend, the mathematically blessed one πŸ‘‘

that's it. that's the enum. short, sweet, three members deep. iykyk ✨


πŸŽ€ SEE ALSO πŸŽ€

okay so this is the part where the manpage goes absolutely feral and lists the entire ionic header in one breath. buckle up, we're going through all of it, no skipping, no summarising, periodt πŸ’…

First up, the file itself:

  • Kernel file ./drivers/net/ethernet/pensando/ionic/ionic_if.h

and now the full squad, in order, every single one:

  • struct ionic_admin_cmd(9)
  • struct ionic_admin_comp(9)
  • struct ionic_nop_cmd(9)
  • struct ionic_nop_comp(9)
  • struct ionic_dev_init_cmd(9)
  • struct ionic_dev_init_comp(9)
  • struct ionic_dev_reset_cmd(9)
  • struct ionic_dev_reset_comp(9)
  • struct ionic_dev_identify_cmd(9)
  • struct ionic_dev_identify_comp(9)
  • union ionic_drv_identity(9)
  • enum ionic_dev_capability(9)
  • union ionic_dev_identity(9)
  • struct ionic_lif_identify_cmd(9)
  • struct ionic_lif_identify_comp(9)
  • enum ionic_lif_capability(9)
  • enum ionic_logical_qtype(9)
  • enum ionic_q_feature(9)
  • enum ionic_rxq_feature(9)
  • enum ionic_txq_feature(9)
  • enum ionic_hwstamp_bits(9)
  • struct ionic_lif_logical_qtype(9)
  • enum ionic_lif_state(9)
  • union ionic_lif_config(9)
  • enum ionic_lif_rdma_cap_stats(9)
  • union ionic_lif_identity(9)
  • struct ionic_lif_init_cmd(9)
  • struct ionic_lif_init_comp(9)
  • struct ionic_q_identify_cmd(9)
  • struct ionic_q_identify_comp(9)
  • union ionic_q_identity(9)
  • struct ionic_q_init_cmd(9)
  • struct ionic_q_init_comp(9)
  • struct ionic_txq_desc(9)
  • struct ionic_txq_sg_elem(9)
  • struct ionic_txq_sg_desc(9)
  • struct ionic_txq_comp(9)
  • struct ionic_rxq_desc(9)
  • struct ionic_rxq_sg_elem(9)
  • struct ionic_rxq_sg_desc(9)
  • struct ionic_rxq_comp(9)
  • enum ionic_pkt_class(9)
  • struct ionic_q_control_cmd(9)
  • enum ionic_phy_type(9)
  • enum ionic_xcvr_state(9)
  • enum ionic_port_type(9)
  • enum ionic_port_admin_state(9)
  • enum ionic_port_oper_status(9)
  • enum ionic_port_pause_type(9)
  • enum ionic_port_loopback_mode(9)
  • struct ionic_xcvr_status(9)
  • union ionic_port_config(9)
  • struct ionic_port_status(9)
  • struct ionic_port_identify_cmd(9)
  • struct ionic_port_identify_comp(9)
  • struct ionic_port_init_cmd(9)
  • struct ionic_port_init_comp(9)
  • struct ionic_port_reset_cmd(9)
  • struct ionic_port_reset_comp(9)
  • enum ionic_stats_ctl_cmd(9)
  • enum ionic_txstamp_mode(9)
  • enum ionic_port_attr(9)
  • struct ionic_port_setattr_cmd(9)
  • struct ionic_port_setattr_comp(9)
  • struct ionic_port_getattr_cmd(9)
  • struct ionic_port_getattr_comp(9)
  • struct ionic_lif_status(9)
  • struct ionic_lif_reset_cmd(9)
  • enum ionic_dev_attr(9)
  • struct ionic_dev_setattr_cmd(9)
  • struct ionic_dev_setattr_comp(9)
  • struct ionic_dev_getattr_cmd(9)
  • struct ionic_dev_getattr_comp(9)
  • enum ionic_lif_attr(9)
  • struct ionic_lif_setattr_cmd(9)
  • struct ionic_lif_setattr_comp(9)
  • struct ionic_lif_getattr_cmd(9)
  • struct ionic_lif_getattr_comp(9)
  • struct ionic_lif_setphc_cmd(9)
  • struct ionic_rx_mode_set_cmd(9)
  • struct ionic_rx_filter_add_cmd(9)
  • struct ionic_rx_filter_add_comp(9)
  • struct ionic_rx_filter_del_cmd(9)
  • enum ionic_vf_link_status(9)
  • struct ionic_vf_setattr_cmd(9)
  • struct ionic_vf_getattr_cmd(9)
  • struct ionic_vf_ctrl_cmd(9)
  • struct ionic_vf_ctrl_comp(9)
  • struct ionic_discover_cmb_cmd(9)
  • struct ionic_discover_cmb_comp(9)
  • union ionic_cmb_region(9)
  • union ionic_discover_cmb_identity(9)
  • struct ionic_qos_identify_cmd(9)
  • struct ionic_qos_identify_comp(9)
  • enum ionic_qos_class_type(9)
  • enum ionic_qos_sched_type(9)
  • union ionic_qos_config(9)
  • union ionic_qos_identity(9)
  • struct ionic_qos_init_cmd(9)
  • struct ionic_qos_reset_cmd(9)
  • struct ionic_qos_clear_stats_cmd(9)
  • struct ionic_fw_download_cmd(9)
  • enum ionic_fw_control_oper(9)
  • struct ionic_fw_control_cmd(9)
  • struct ionic_fw_control_comp(9)
  • struct ionic_rdma_reset_cmd(9)
  • struct ionic_rdma_queue_cmd(9)
  • struct ionic_notifyq_event(9)
  • struct ionic_link_change_event(9)
  • struct ionic_reset_event(9)
  • struct ionic_heartbeat_event(9)
  • struct ionic_log_event(9)
  • struct ionic_xcvr_event(9)
  • union ionic_port_identity(9)
  • struct ionic_port_info(9)
  • struct ionic_lif_info(9)
  • struct ionic_hwstamp_regs(9)
  • union ionic_dev_info_regs(9)
  • union ionic_dev_cmd_regs(9)
  • union ionic_dev_regs(9)
  • struct ionic_doorbell(9)

like… that's a lot of cross-references and honestly? iconic of the ionic_if.h header to have that much going on. main character energy fr fr πŸ’œ


🫢 quick reminder bestie: this page is documentation for the kernel's own reference β€” reading it doesn't change any hardware. if you actually mess with FEC settings, make sure you know which mode your gear supports before you go poking at IONIC_PORT_FEC_TYPE_RS like it's nothing. 🌈

and that's the whole page!! came from ./drivers/net/ethernet/pensand... and it's dated October 2026, tagged enum ionic_port_fec_type(9) β€” so if you're quoting her in a commit message or a bug report, that's the whole citation. slay, go forth and correct some forward errors, mwah πŸ’–πŸŽ€βœ¨

πŸ“¦ where this page comes from