ixgbevf_ipse...nd_empty_idx(9)
π 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βtrueif 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 π
- Kernel file
./drivers/net/ethernet/intel/ixgbevf/ipsec.cβ that's the source, go read it if you're feeling brave π§ ixgbevf_ipsec_set_pf_sa(9)ixgbevf_ipsec_del_pf_sa(9)ixgbevf_ipsec_restore(9)ixgbevf_ipsec_find_rx_state(9)ixgbevf_ipsec_parse_proto_keys(9)ixgbevf_ipsec_add_sa(9)ixgbevf_ipsec_del_sa(9)ixgbevf_ipsec_tx(9)ixgbevf_ipsec_rx(9)ixgbevf_init_ipsec_offload(9)ixgbevf_stop_ipsec_offload(9)
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 underixgbevf_ipse...nd_empty_idx(9). mwah, go find yourself an empty idx bestie πππΈ
π¦ where this page comes from
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms