ENUM IONIC_LIF_ATTR(9)
π enum ionic_lif_attr(9) π
okay so this is a page from the Kernel API Manual, and bestie, it's a short one β a little enum that's basically the guest list for a party where every LIF attribute gets an invite. no cap, it's giving "backstage pass list" energy. let's get into it π
β¨ NAME β¨
enum ionic_lif_attr β the full roster of LIF attributes, like a VIP list but for kernel networking π«Ά
πΈ SYNOPSIS πΈ
enum ionic_lif_attr {
IONIC_LIF_ATTR_STATE ,
IONIC_LIF_ATTR_NAME ,
IONIC_LIF_ATTR_MTU ,
IONIC_LIF_ATTR_MAC ,
IONIC_LIF_ATTR_FEATURES ,
IONIC_LIF_ATTR_RSS ,
IONIC_LIF_ATTR_STATS_CTRL ,
IONIC_LIF_ATTR_TXSTAMP ,
IONIC_LIF_ATTR_MAX
};
like, that's the whole thing. nine little constants, all lined up, all iconic π
π Constants π
okay bestie, here's who's who at the function:
IONIC_LIF_ATTR_STATEβ the attribute for LIF state. she's the mood ring of the group πIONIC_LIF_ATTR_NAMEβ the attribute for the LIF name. yes, she has a name and yes, you will be using it πIONIC_LIF_ATTR_MTUβ the LIF MTU attribute. maximum transmission unit, maximum vibes β¨IONIC_LIF_ATTR_MACβ the LIF MAC attribute. hardware address representation πIONIC_LIF_ATTR_FEATURESβ the LIF features attribute. everything she brings to the table π₯IONIC_LIF_ATTR_RSSβ the LIF RSS attribute. receive side scaling, spread the love around πIONIC_LIF_ATTR_STATS_CTRLβ the LIF statistics control</statistics control> attribute. numbers, but make it controlled πIONIC_LIF_ATTR_TXSTAMPβ the LIF TX timestamping mode. time is literally a construct but this one stamps it βIONIC_LIF_ATTR_MAXβ the maximum attribute value. the end of the list, the final boss, the periodt π
π¦ SEE ALSO π¦
so the kernel file for all of this lives at ./drivers/net/ethernet/pensando/ionic/ionic_if.h β that's the mothership, go say hi π§
and then there's the whole extended friend group, and ngl it's a lot of friends, so here they all are, no one left out, iykyk:
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_fec_type(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)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 i said. a lot of friends. but every single one of them slays in their own way π
ok and one tiny housekeeping note bestie: this page is sourced from the kernel tree at ./drivers/net/ethernet/pensand... and it's dated October 2026, so go follow that thread if you want the full lore. mwah, study hard, and remember β reading kernel headers is self care πβ¨π
π¦ where this page comes from
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms