igb_hash_mc_addr(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– igb_hash_mc_addr(9) β€” the Kernel API Manual page bestie πŸ’–

okay so picture this: you're deep in the igb driver, and you need a multicast hash value. yeah. that thing. this is the little function that gives it to you, and it's in the igb_hash_mc_addr(9) corner of the Kernel API Manual, so let's get into it 🫢


✨ SYNOPSIS ✨

u32 igb_hash_mc_addr (struct e1000_hw *hw , u8 *mc_addr );

like, that's it. two args, one u32 out. slay πŸ’…


πŸŽ€ ARGUMENTS πŸŽ€

  • hw β€” pointer to the HW structure. your hardware noun, your whole vibe, passed by pointer obviously ✨
  • mc_addr β€” pointer to a multicast address. the actual address we're hashing bestie 🌸

πŸ¦‹ DESCRIPTION πŸ¦‹

so what does it do? it generates a multicast address hash value, no cap. and that hash value is what you use to figure out the multicast filter table array address and the new table value.

and where do you take it after that? straight to igb_mta_set β€” that's the one that actually puts it in the table, iykyk. the description literally says to see igb_mta_set for that part, so like, go see it πŸ”₯

ngl this function is a supporting character, but the whole multicast filter table plot does not work without her. main character energy in a helper function. periodt πŸ‘‘

🌈 SEE ALSO 🌈

first up, the kernel file this lives in:

  • ./drivers/net/ethernet/intel/igb/e1000_mac.c

and then the whole friend group β€” every single one of these, no skipping πŸ™ˆ:


and that's the page!! πŸŽ€ source/version is ./drivers/net/ethernet/intel/igb and it's dated October 2026, so like, mark your calendars bestie πŸ—“οΈπŸ’– bye ily, go hash a multicast address responsibly βœ¨πŸ’…

πŸ“¦ where this page comes from