iwpm_register_pid(9)
π iwpm_register_pid(9) π
okay so bestie, welcome to the Kernel API Manual β we're looking at iwpm_register_pid(9) today, and it's giving "netlink messenger to userspace" realness. π«Ά
πΈ NAME πΈ
iwpm_register_pid β send a netlink query to userspace to get the iwarp port mapper pid β¨
β¨ SYNOPSIS β¨
int iwpm_register_pid (struct iwpm_dev_data *pm_msg , u8 nl_client );
π ARGUMENTS π
pm_msgβ contains the driver info that gets sent to the userspace port mapper, periodt πnl_clientβ the index of the netlink client, iykyk π¦
π¦ DESCRIPTION π¦
the nlmsg attributes are exactly these four, no cap:
[IWPM_NLA_REG_PID_SEQ] [IWPM_NLA_REG_IF_NAME] [IWPM_NLA_REG_IBDEV_NAME] [IWPM_NLA_REG_ULIB_NAME]
that's literally the lineup. π
π SEE ALSO π
also go peek at the kernel file ./drivers/infiniband/core/iwpm_msg.c, plus these iconic little functions:
iwpm_valid_pid(9)iwpm_add_mapping(9)iwpm_add_and_query_mapping(9)iwpm_remove_mapping(9)iwpm_register_pid_cb(9)iwpm_add_mapping_cb(9)iwpm_add_and_query_mapping_cb(9)iwpm_remote_info_cb(9)iwpm_mapping_info_cb(9)iwpm_ack_mapping_info_cb(9)iwpm_mapping_error_cb(9)iwpm_hello_cb(9)
mwah π this page lives in ./drivers/infiniband/core and is dated October 2026 β slay and goodbye, 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