ibmvscsis_parse_cmd(9)
π ibmvscsis_parse_cmd(9) β like, the Kernel API Manual page, bestie
okay so welcome to the ibmvscsis_parse_cmd glow-up, straight out of the Kernel API Manual β¨ this is the one that does the SRP Command parsing thing and honestly it's kind of a big deal, so let's get into it π
πΈ NAME πΈ
ibmvscsis_parse_cmd β Parse SRP Command π«
β¨ SYNOPSIS β¨
void ibmvscsis_parse_cmd (struct scsi_info *vscsi , struct ibmvscsis_cmd
*cmd );
ok so it returns void, meaning it gives you nothing back, no tea, no receipts, just vibes and side effects π keep that in mind.
π«Ά ARGUMENTS π«Ά
vscsiβ pointer to our adapter structure π that's our home base, our main character struct.cmdβ pointer to the command element that's holding the SRP command π¦ this is the actual thing we're about to look at.
π₯ DESCRIPTION π₯
So the whole job is: parse the srp command, and if it's valid, then submit it to tcm. That's it. That's the function. Valid check β hand it off to tcm β slay π
no cap, the "if it is valid" part is doing a lot of heavy lifting in that sentence. it's a conditional, bestie, not a promise.
π NOTE π
The return code does not reflect the status of the SCSI CDB. π¨ like, genuinely do not read it that way, that is not what it means, iykyk. (Also it returns void up in the synopsis, soβ¦ yeah. literally nothing to read. π)
EXECUTION ENVIRONMENT: Process level π
π SEE ALSO π
Kernel file ./drivers/scsi/ibmvscsi_tgt/ibmvscsi_tgt.c π¦
and now the full squad, in order, no one gets left behind π«Ά:
connection_broken(9)ibmvscsis_unregister_command_q(9)ibmvscsis_delete_client_info(9)ibmvscsis_free_command_q(9)ibmvscsis_cmd_q_dequeue(9)ibmvscsis_send_init_message(9)ibmvscsis_check_init_msg(9)ibmvscsis_disconnect(9)ibmvscsis_post_disconnect(9)ibmvscsis_handle_init_compl_msg(9)ibmvscsis_handle_init_msg(9)ibmvscsis_init_msg(9)ibmvscsis_establish_new_q(9)ibmvscsis_reset_queue(9)ibmvscsis_free_cmd_resources(9)ibmvscsis_ready_for_suspend(9)ibmvscsis_trans_event(9)ibmvscsis_poll_cmd_q(9)ibmvscsis_free_cmd_qs(9)ibmvscsis_get_free_cmd(9)ibmvscsis_adapter_idle(9)ibmvscsis_copy_crq_packet(9)ibmvscsis_adapter_info(9)ibmvscsis_cap_mad(9)ibmvscsis_process_mad(9)srp_snd_msg_failed(9)ibmvscsis_send_messages(9)ibmvscsis_mad(9)ibmvscsis_login_rsp(9)ibmvscsis_srp_login_rej(9)ibmvscsis_srp_login(9)ibmvscsis_srp_i_logout(9)ibmvscsis_ping_response(9)ibmvscsis_parse_command(9)ibmvscsis_parse_task(9)ibmvscsis_service_wait_q(9)ibmvscsis_enable_change_state(9)ibmvscsis_create_command_q(9)ibmvscsis_destroy_command_q(9)srp_build_response(9)ibmvscsis_handle_crq(9)
like, that's forty-one whole cross-references, we are obsessed with the completeness π
aaaand that's the page π huge shoutout to ./drivers/scsi/ibmvscsi_tgt for being the source, October 2026 for the date, and the Kernel API Manual for hosting this absolute icon β ibmvscsis_parse_cmd(9) out πβ¨
π¦ 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