do_passive_init(9)
π do_passive_init(9) β the Kernel API Manual β¨
okay so bestie, welcome to the do_passive_init(9) page, from the Kernel API Manual, no big deal, just a little function that finishes the probe when your partner finally decides to show up π«Ά
πΈ NAME πΈ
do_passive_init β literally the glow-up that completes probing once the partner device is detected π
β¨ SYNOPSIS β¨
int do_passive_init (struct ibmvnic_adapter *adapter );
π ARGUMENTS π
- adapter β the
ibmvnic_adapterstruct, aka the main character of this whole situation π
π¦ DESCRIPTION π¦
okay so picture this: the ibmvnic device boots up and there's no partner device to communicate with π the vibes are off, the partner just isn't there. but then β plot twist β that partner device comes online at a later time π and that's when this function gets called, to complete the initialization process of the ibmvnic device. slay. it's giving "finishing what we started" energy fr fr π
ngl, the caller is expected to hold rtnl_lock π so likeβ¦ do that. it's not optional, bestie.
so what does it return? okay:
- returns non-zero if sub-CRQs aren't initialized properly β and that leaves the device in the down state π not iconic, but that's the deal
- returns
0upon success, and the device is in the PROBED state π periodt
π§ SEE ALSO π§
- Kernel file
./drivers/net/ethernet/ibm/ibmvnic.c ibmvnic_wait_for_completion(9)reuse_ltb(9)alloc_long_term_buff(9)free_ltb_set(9)alloc_ltb_set(9)map_rxpool_buf_to_ltb(9)map_txpool_buf_to_ltb(9)release_rx_pools(9)reuse_rx_pools(9)init_rx_pools(9)release_tx_pools(9)reuse_tx_pools(9)init_tx_pools(9)get_hdr_lens(9)create_hdr_descs(9)build_hdr_descs_arr(9)
and that's the whole page, bestie, you ate that π this icon lives over in ./drivers/net/ethernet/ibm and it's stamped October 2026 β go forth and complete those probes, iykyk π¦π
π¦ 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