ixgbevf_ipse...nd_empty_idx(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… ixgbevf_ipse...nd_empty_idx(9) πŸ’…

okay so this is a page from the Kernel API Manual and honestly? it's a little function that does exactly one job and does it slayfully. let's get into it bestie 🫢


✨ NAME ✨

ixgbevf_ipsec_find_empty_idx β€” find the first unused security parameter index πŸŽ€

like, it literally goes looking for the first free spot. that's the whole vibe check.


🌸 SYNOPSIS 🌸

int ixgbevf_ipsec_find_empty_idx (struct ixgbevf_ipsec *ipsec , bool
rxtable );

one function, two args, zero drama. no cap. ✨


πŸ¦‹ ARGUMENTS πŸ¦‹

  • ipsec β€” pointer to IPsec struct πŸ’– that's your main character right there, the whole struct you're poking around in.
  • rxtable β€” true if we need to look in the Rx table πŸ‘€ like, are we checking the receive side? set this to true and we're going Rx-shopping. otherwise it's Tx time.

🌈 DESCRIPTION 🌈

Returns the first unused index in either the Rx or Tx SA table πŸ”₯

that's it. that's the function. it hands you back the first index that nobody's claimed yet, in whichever of the two tables you asked about (Rx or Tx, per that rxtable bool from up top). iconic behavior honestly πŸ’…


πŸ‘‘ SEE ALSO πŸ‘‘

the whole friend group fr fr β€” go say hi to all of them πŸ’œ


and that's the page!! source is ./drivers/net/ethernet/intel/i..., dated October 2026, and the whole thing is filed under ixgbevf_ipse...nd_empty_idx(9). mwah, go find yourself an empty idx bestie πŸ˜­πŸ’–πŸŒΈ
πŸ“¦ where this page comes from