i40e_ndo_fdb_add(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… i40e_ndo_fdb_add β€” Kernel API Manual ✨

okay so bestie, we're in the Kernel API Manual today and the star of the show is i40e_ndo_fdb_add(9). Pull up a chair, grab a strawberry πŸ“, and let's get into it.


πŸŽ€ NAME πŸŽ€

i40e_ndo_fdb_add β€” add an entry to the hardware database πŸ’–

fr fr that's the whole vibe. we're pushing a forwarding-database entry down into the hardware.


✨ SYNOPSIS ✨

int i40e_ndo_fdb_add (struct ndmsg *ndm , struct nlattr *tb[] , struct
net_device *dev , const unsigned char *addr , u16 vid , u16 flags , bool
*notified , struct netlink_ext_ack *extack );

that signature is lowkey a whole paragraph, ik 😭 but it's iconic, we respect it.


πŸ¦‹ ARGUMENTS πŸ¦‹

Every single one, no skips, let's go:

  • ndm β€” the input from the stack. this is what the networking stack hands you, bestie 🌸
  • tb β€” pointer to array of nladdr (and it's unused, so don't come for it πŸ’€)
  • dev β€” the net device pointer. the actual device we're doing this to πŸ‘‘
  • addr β€” the MAC address entry being added. this is the main character rn ✨
  • vid β€” VLAN ID
  • flags β€” instructions from stack about fdb operation. read them carefully, queen 🫢
  • notified β€” whether notification was emitted
  • extack β€” netlink extended ack, and heads up: unused currently πŸ™ˆ
ngl, two of these are literally marked unused and i think that's so real of this function.

🌈 SEE ALSO 🌈

first up, the source file you need to know about, iykyk:

  • Kernel file: ./drivers/net/ethernet/intel/i40e/i40e_main.c

and now the whole entire extended universe of i40e functions β€” yes, all of them, i counted, we're not skipping a single one πŸ’…:


and that's the whole list, bestie, every single one, we ate and left no crumbs πŸ”₯πŸ‘‘

kisses, this page came from ./drivers/net/ethernet/intel/i40e, dated October 2026, and it's filed under i40e_ndo_fdb_add(9) β€” go forth and add those hardware database entries πŸ’–βœ¨πŸŽ€

πŸ“¦ where this page comes from