i40e_configure_lan_hmc(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ i40e_configure_lan_hmc ✨

okay so bestie, welcome to the i40e_configure_lan_hmc(9) page πŸ’… this is a Kernel API Manual moment, section 9, and honestly? she's giving "quiet but essential." let me put you on 🫢


🌸 NAME 🌸

i40e_configure_lan_hmc β€” literally here to prepare the HMC backing store ✨ that's the whole job. no cap.


πŸ¦‹ SYNOPSIS πŸ¦‹

int i40e_configure_lan_hmc (struct i40e_hw *hw , enum i40e_hmc_model
model );

that's the whole signature, keep it exactly like that, don't touch it, she's perfect 😌


πŸŽ€ ARGUMENTS πŸŽ€

  • hw β€” a pointer to the hw structure. yep, she points at the hardware struct, that's her whole vibe 🫢
  • model β€” the model for the layout of the SD/PD tables ✨ like, the blueprint for how the tables are gonna be arranged. icon behavior honestly πŸ‘‘

πŸ’– DESCRIPTION πŸ’–

okay so here's the tea, two things you need to know ⬇️

  • this function gets called once per physical function initialization. one time per physical function, no double dipping, no clout chasing πŸ’…
  • this function gets called after i40e_init_lan_hmc and before any LAN/FCoE HMC objects can be created. so like, order matters bestie, don't skip the line πŸ™ˆ
⚠️ lowkey important: those ordering rules are the whole point. call her at the wrong time and it's not giving what it's supposed to give.

🌈 SEE ALSO 🌈

the whole friend group 🫢:

Kernel file ./drivers/net/ethernet/intel/i40e/i40e_lan_hmc.c

and then the squad, in this exact order because we respect the lineup:

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_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_hmc_get_object_va(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) ✨


and that's the page, bestie πŸŽ€ this lil legend lives in ./drivers/net/ethernet/intel/i40e, dated October 2026, and she answers to i40e_configure_lan_hmc(9) β€” go off, queen πŸ‘‘πŸ’œ

πŸ“¦ where this page comes from