i40e_hmc_get_object_va(9)
π i40e_hmc_get_object_va β from the Kernel API Manual, bestie
Okay so picture this: it's giving kernel API, it's giving Intel ethernet driver, and it's literally the whole i40e_hmc_get_object_va moment. This is the man page (manual name: Kernel API Manual, in case the vibe check required receipts β¨) and we're about to read it together. Grab a strawberry drink π, let's go.
πΈ NAME πΈ
i40e_hmc_get_object_va β retrieves an object's virtual address. That's it, that's the whole job, and she does it flawlessly π
β¨ SYNOPSIS β¨
int i40e_hmc_get_object_va (struct i40e_hw *hw , u8 **object_base , enum
i40e_hmc_lan_rsrc_type rsrc_type , u32 obj_idx );
Not me obsessing over this signature π«Ά like yes, four arguments, very demure, very mindful.
π ARGUMENTS π
hwβ the hardware struct, and it's the main character here because that's where we obtain thei40e_hmc_infopointer from πobject_baseβ pointer tou64to get the va. Lowkey the whole point of the function ngl π₯rsrc_typeβ the hmc resource type, aka which flavor of resource we're talking about πobj_idxβ hmc object index, the little number that says which object, iykyk β
π¦ DESCRIPTION π¦
So what does she actually do? This function retrieves the object's virtual address from the object base pointer. Periodt. π
And where's it used? LAN Queue contexts β that's her whole lane, fr fr. Not me being obsessed with a virtual address lookup, but here we are ππ
π SEE ALSO π
Kernel file ./drivers/net/ethernet/intel/i40e/i40e_lan_hmc.c β that's home base, go visit her π
And the whole friend group, all of them, no one left behind π«Ά:
i40e_align_l2obj_base(9)i40e_calculate_l2fpm_size(9)i40e_init_lan_hmc(9)i40e_remove_pd_page(9)i40e_remove_sd_bp(9)i40e_create_lan_hmc_object(9)i40e_configure_lan_hmc(9)i40e_delete_lan_hmc_object(9)i40e_shutdown_lan_hmc(9)i40e_write_byte(9)i40e_write_word(9)i40e_write_dword(9)i40e_write_qword(9)i40e_clear_hmc_context(9)i40e_set_hmc_context(9)i40e_clear_lan_tx_queue_context(9)i40e_set_lan_tx_queue_context(9)i40e_clear_lan_rx_queue_context(9)i40e_set_lan_rx_queue_context(9)
Bestie listen π β this page is sourced from./drivers/net/ethernet/intel/i40e, dated October 2026, and it's thei40e_hmc_get_object_va(9)manual. Screenshot it, save it, cite it, slay π β¨π
π¦ 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