i40e_remove_pd_bp(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… i40e_remove_pd_bp(9) β€” remove a backing page from a page descriptor πŸ’…

okay so bestie, this little page is from the Kernel API Manual, and it's all about i40e_remove_pd_bp(9). vibe check: it removes a backing page from a page descriptor. no cap. πŸ¦‹

🌸 NAME 🌸

i40e_remove_pd_bp β€” remove a backing page from a page descriptor. that's the whole assignment. ✨

✨ SYNOPSIS ✨

int i40e_remove_pd_bp (struct i40e_hw *hw , struct i40e_hmc_info
*hmc_info , u32 idx );

πŸŽ€ ARGUMENTS πŸŽ€

  • hw β€” pointer to our HW structure. like, the hardware struct pointer, obviously.
  • hmc_info β€” pointer to the HMC configuration information structure. iconic config info behavior.
  • idx β€” the page index. the little number that says which page we're talking about.

πŸ’– DESCRIPTION πŸ’–

okay so this function:

  1. Marks the entry in pd tabe (for paged address mode) or in sd table (for direct address mode) invalid. yes, pd tabe is exactly what the page says β€” do not come for me, I'm preserving the text.
  2. Write to register PMPDINV to invalidate the backing page in FV cache. register go brrr.
  3. Decrement the ref count for the pd _entry assumptions:

and the assumptions are:

  1. Caller can deallocate the memory used by backing storage after this function returns. so after this returns, the caller is free to free that backing storage. periodt.

πŸ¦‹ SEE ALSO πŸ¦‹

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


xoxo, bestie πŸ’œ this cutie comes from ./drivers/net/ethernet/intel/i40e, dated October 2026, and the page is i40e_remove_pd_bp(9). slay and read the source. πŸŽ€

πŸ“¦ where this page comes from