t3_sge_disable_cqcntxt(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… t3_sge_disable_cqcntxt(9) β€” a Kernel API Manual moment

okay so bestie, welcome to the t3_sge_disable_cqcntxt page from the Kernel API manual (that's section 9, the "kernel internals" shelf of the library, iykyk). This is a little one β€” one function, two arguments, one job β€” but it's lowkey important, so let's get into it πŸŽ€


✨ NAME ✨

t3_sge_disable_cqcntxt β€” literally just: disable an SGE completion queue. That's the whole vibe. πŸ¦‹


🌸 SYNOPSIS 🌸

int t3_sge_disable_cqcntxt (struct adapter *adapter , unsigned int id );

she returns an int, she takes an adapter and an id, and she's out. main character energy fr fr πŸ’…


🫢 ARGUMENTS 🫢

  • adapter β€” the adapter. yes that's the whole description, she's a woman of few words 😭 that's your network adapter, the hardware you're talking to.
  • id β€” the completion queue context id. this is which CQ context you're pointing at, so get it right or you're disabling the wrong one πŸ™ˆ

πŸ”₯ DESCRIPTION πŸ”₯

So what does it do? It disables an SGE completion queue. Done. Slay. ✨

But here's the part where you gotta pay attention, bestie, because it's giving "responsibility" and not "convenience":

The caller is responsible for ensuring only one context operation occurs at a time.

Read that again. You, the caller, are the one who has to make sure only one context operation is happening at a time. The function is not gonna guard you, it's not gonna lock anything for you, it's not gonna check. That's on you. No cap. πŸ‘‘


πŸ‘‘ SEE ALSO πŸ‘‘

Kernel file ./drivers/net/ethernet/chelsio/cxgb3/t3_hw.c β€” that's where the source lives, go read it if you want the whole story πŸ“–

and here's the full squad, every single one of them, in order, no skips because we don't do that here πŸ’–

t3_wait_op_done_val(9), t3_write_regs(9), t3_set_reg_field(9), t3_read_indirect(9), t3_mc7_bd_read(9), t3_mdio_change_bits(9), t3_phy_reset(9), t3_phy_advertise(9), t3_phy_advertise_fiber(9), t3_set_phy_speed_duplex(9), t3_seeprom_wp(9), get_vpd_params(9), sf1_read(9), sf1_write(9), flash_wait_op(9), t3_read_flash(9), t3_write_flash(9), t3_get_tp_version(9), t3_check_tpsram_version(9), t3_check_tpsram(9), t3_get_fw_version(9), t3_check_fw_version(9), t3_flash_erase_sectors(9), t3_load_fw(9), t3_cim_ctl_blk_read(9), t3_link_changed(9), t3_link_start(9), t3_set_vlan_accel(9), t3_handle_intr_status(9), t3_intr_enable(9), t3_intr_disable(9), t3_intr_clear(9), t3_port_intr_enable(9), t3_port_intr_disable(9), t3_port_intr_clear(9), t3_sge_write_context(9), clear_sge_ctxt(9), t3_sge_init_ecntxt(9), t3_sge_init_flcntxt(9), t3_sge_init_rspcntxt(9), t3_sge_init_cqcntxt(9), t3_sge_enable_ecntxt(9), t3_sge_disable_fl(9), t3_sge_disable_rspcntxt(9), t3_sge_cqcntxt_op(9), t3_config_rss(9), t3_tp_set_offload_mode(9), pm_num_pages(9), partition_mem(9), tp_set_timers(9), t3_tp_set_coalescing_size(9), t3_tp_set_max_rxsize(9), t3_load_mtus(9), t3_tp_get_mib_stats(9), t3_set_proto_sram(9), t3_config_sched(9), get_pci_mode(9), init_link_config(9), mc7_calc_size(9)

like, that's the whole extended friend group right there 🌈


🧚 a lil sign-off 🧚

this page came to you from the kernel source tree at ./drivers/net/ethernet/chelsio... (they truncated it, not me 😭), dated October 2026, and it's the t3_sge_disable_cqcntxt(9) page of the Kernel API Manual. take care of your CQ contexts, disable responsibly, and remember: one context operation at a time, bestie πŸ’œπŸ“βœ¨

πŸ“¦ where this page comes from