t3_check_tpsram(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ t3_check_tpsram ✨

okay so this is a page from the Kernel API Manual, section 9 β€” t3_check_tpsram(9), bestie. it's the whole "is this SRAM even compatible with my driver" vibe check. let's get into it πŸ’…


🌸 NAME 🌸

t3_check_tpsram β€” check if provided protocol SRAM is compatible with this driver

like, it's a compatibility check. that's the whole personality. 🫢


πŸŽ€ SYNOPSIS πŸŽ€

int t3_check_tpsram (struct adapter *adapter , const u8 *tp_sram ,
unsigned int size );

literally the whole signature, no cap. ✨


πŸ’– ARGUMENTS πŸ’–

  • adapter β€” the adapter. that's it. that's the whole description. she's iconic and mysterious like that 😌
  • tp_sram β€” the firmware image to write πŸ‘€
  • size β€” image size, aka how big the thing is πŸ“

πŸ¦‹ DESCRIPTION πŸ¦‹

so basically it checks if an adapter's tp sram is compatible with the driver. that's the assignment, and it understood it. πŸ’―

it returns 0 if the versions are compatible β€” slay, we're good, everything matches ✨ β€” and a negative error otherwise. yeah. negative. not great. 😭

fr fr: 0 = compatible, negative = nope. that's the whole return contract, don't overthink it. 🧚

🌈 SEE ALSO 🌈

Kernel file ./drivers/net/ethernet/chelsio/cxgb3/t3_hw.c β€” that's where she lives 🏠

and okay, the friend group is BIG, so buckle up bestie, here's everybody:

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_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_disable_cqcntxt(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 I said. huge friend group. every single one of them made the list, no one left behind πŸ«ΆπŸ’œ


the little footnote era πŸŽ€

so this page is from ./drivers/net/ethernet/chelsio..., dated October 2026, and she's filed under t3_check_tpsram(9). that's the source, the version vibe and the date, all cute and accounted for. bye bestie, go check some SRAM πŸ’…βœ¨πŸŒΈ

πŸ“¦ where this page comes from