ixgbe_ipsec_...e_proto_keys(9)
π ixgbe_ipsec_parse_proto_keys β like, the whole manual, bestie
okay so this page lives in the Kernel API Manual (yes, that manual) and it's about one very specific little function that does one very specific little thing. no cap, it's short, but it's important, so let's get into it β¨
πΈ NAME πΈ
ixgbe_ipsec_parse_proto_keys β figure out the key and the salt based on whichever protocol is in play π
literally that's the whole job. she's a looker-upper.
π¦ SYNOPSIS π¦
int ixgbe_ipsec_parse_proto_keys (struct net_device *dev , struct
xfrm_state *xs , u32 *mykey , u32 *mysalt );
it returns an int, she takes a struct net_device *dev, a struct xfrm_state *xs, and two u32 * pointers called mykey and mysalt. the way that signature just sits there. iconic. π
π ARGUMENTS π
devβ pointer to net device. like, the actual network device we're doing all this for π«Άxsβ pointer to xfrm_state struct. this is where the protocol info is chilling πmykeyβ pointer to the key array we're gonna populate. yes, we fill it in. main character behaviour π₯mysaltβ pointer to the salt value we're gonna populate. salt, but make it cryptographic π§β¨
β DESCRIPTION β
so basically this function copies the protocol keys and the salt over into our own data tables π she's a little mover of data, a little transporter of secrets.
and here's the tea: the 82599 family only supports the one algorithm. that's it. one. a singular algorithm. not me being emotional about hardware limitations π
fr fr, if you're expecting the 82599 to juggle a whole menu of algorithms for you, she cannot. one algorithm, that's the vibe check. π
π SEE ALSO π
the kernel file itself is right here if you wanna go touch grass in the source:
./drivers/net/ethernet/intel/ixgbe/ixgbe_ipsec.c
and here's the whole group chat of related functions, all present and accounted for, no gatekeeping π:
ixgbe_ipsec_set_tx_sa(9)ixgbe_ipsec_set_rx_item(9)ixgbe_ipsec_set_rx_sa(9)ixgbe_ipsec_set_rx_ip(9)ixgbe_ipsec_clear_hw_tables(9)ixgbe_ipsec_stop_data(9)ixgbe_ipsec_stop_engine(9)ixgbe_ipsec_start_engine(9)ixgbe_ipsec_restore(9)ixgbe_ipsec_find_empty_idx(9)ixgbe_ipsec_find_rx_state(9)ixgbe_ipsec_check_mgmt_ip(9)ixgbe_ipsec_add_sa(9)ixgbe_ipsec_del_sa(9)ixgbe_ipsec_vf_clear(9)ixgbe_ipsec_vf_add_sa(9)ixgbe_ipsec_vf_del_sa(9)ixgbe_ipsec_tx(9)ixgbe_ipsec_rx(9)ixgbe_init_ipsec_offload(9)ixgbe_stop_ipsec_offload(9)
π sign-off π
this little icon came from ./drivers/net/ethernet/intel/i... (the path gets cut off in the footer, don't @ me) and it's dated October 2026. so she's technically from the future?? iykyk π¦β¨
anyway bestie, that's the page. one algorithm, four args, a whole lot of ixgbe siblings in the see-also. slay. periodt. π π
π¦ 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