STRUCT IONIC_QOS_CLEAR_STATS_CMD(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

🌸 struct ionic_qos_clear_stats_cmd(9) β€” the kernel API manual, bestie edition 🌸

okay so you opened the kernel API manual, section 9, and landed on this little cutie: struct ionic_qos_clear_stats_cmd. welcome, i'm obsessed already. let's get into it πŸ’…


✨ NAME ✨

struct ionic_qos_clear_stats_cmd β€” the Qos config reset command. that's it, that's the whole vibe. it's the command struct you hand over when you want those Qos config stats gone. reset era. 🫢


πŸŽ€ SYNOPSIS πŸŽ€

here's the literal shape of it, copied exactly, no cap:

struct ionic_qos_clear_stats_cmd {
    u8 opcode;
    u8 group_bitmap;
    u8 rsvd[62];
 };

look at her. three fields. tiny. efficient. main character energy fr fr. πŸ’–


🌈 Members 🌈

the cast of characters, one by one:

  • opcode β€” the opcode. yes bestie, that's the entire description, they really said "opcode" and nothing else 😭 it tells the device which command this is. iconically brief.
  • group_bitmap β€” the bitmap of groups to be cleared. this is the actual juicy part: you set bits for whichever groups you want wiped, and that's your whole to-do list 🧹✨
  • rsvd β€” reserved byte(s). it's rsvd[62] of pure, untouched, do-not-touch real estate. leave it alone, it's not for you πŸ™ˆ
quick vibe check: that 62 is doing a lot of heavy lifting β€” 1 + 1 + 62 = 64 bytes total. but that's just math, don't come for me πŸ”₯

πŸ‘‘ SEE ALSO πŸ‘‘

okay this is the part where the manpage goes absolutely feral and lists, like, everything. and you know what? we're listing everything too. no skipping. not one. πŸ’€

first up, the home turf:

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

and now the full squad, in the exact order they showed up:

  • 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)
  • 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_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 the whole friend group 😭 every single one, present and accounted for. iykyk. 🌟


and that's the page, bestie πŸ¦‹ hope the Qos config reset command is now your best friend too. mwah πŸ’‹

source: ./drivers/net/ethernet/pensand... β€” dated October 2026. the manual formally calls itself struct ionic...ar_stats_cmd(9) up top and down at the bottom, which is honestly giving "name's too long for the header" energy and i respect it πŸŽ€

πŸ“¦ where this page comes from