qed_mcp_halt(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… qed_mcp_halt(9) β€” bestie, we're halting the MCP ✨

okay so real talk, this one is from the Kernel API Manual, section 9 of the man pages, and it's short and sweet β€” literally one job. Let's get into it 🫢


🌸 NAME 🌸

qed_mcp_halt β€” halt the MCP. that's it. that's the whole vibe. no cap πŸ’€


✨ SYNOPSIS ✨

int qed_mcp_halt (struct qed_hwfn *p_hwfn , struct qed_ptt *p_ptt );

she takes two pointers and returns an int, periodt πŸ‘‘


πŸŽ€ ARGUMENTS πŸŽ€

  • p_hwfn β€” the HW device data. this is the hardware function struct, the main character of this whole operation 🌈
  • p_ptt β€” P_ptt. yeah, that's literally what the docs say. P_ptt. iykyk πŸ™ˆ

⭐ RETURN ⭐

0 upon success. that's the whole return contract β€” zero means we ate and left no crumbs πŸ”₯


πŸ¦‹ SEE ALSO πŸ¦‹

first up, the kernel file, like the actual source of truth: ./drivers/net/ethernet/qlogic/qed/qed_mcp.h πŸ’–

and then the whole friend group, all of these are also (9) man pages so go say hi:

qed_mcp_get_link_params, qed_mcp_get_link_state, qed_mcp_get_link_capabilities, qed_mcp_set_link, qed_mcp_get_mfw_ver, qed_mcp_get_mbi_ver, qed_mcp_get_media_type, qed_mcp_get_transceiver_data, qed_mcp_trans_speed_mask, qed_mcp_get_board_config, qed_mcp_cmd, qed_mcp_cmd_nosleep, qed_mcp_drain, qed_mcp_get_flash_size, qed_mcp_send_drv_version, qed_get_process_kill_counter, qed_start_recovery_process, qed_recovery_prolog, qed_mcp_ov_update_current_config, qed_mcp_ov_update_driver_state, qed_mcp_ov_update_mtu, qed_mcp_ov_update_mac, qed_mcp_ov_update_wol, qed_mcp_set_led, qed_mcp_nvm_read, qed_mcp_nvm_write, qed_mcp_nvm_resp, qed_mcp_get_nvm_image_att, qed_mcp_get_nvm_image, qed_mcp_bist_register_test, qed_mcp_bist_clock_test, qed_mcp_bist_nvm_get_num_images, qed_mcp_bist_nvm_get_image_att, qed_mfw_process_tlv_req, qed_mcp_send_raw_debug_data, qed_mcp_is_ext_speed_supported, qed_mcp_cmd_init, qed_mcp_cmd_port_init, qed_mcp_free, qed_mcp_handle_events, qed_mcp_load_req, qed_mcp_load_done, qed_mcp_unload_req, qed_mcp_unload_done, qed_mcp_read_mb, qed_mcp_ack_vf_flr, qed_mcp_fill_shmem_func_info, qed_mcp_reset, qed_mcp_nvm_rd_cmd, qed_mcp_phy_sfp_read, qed_mcp_is_init, qed_mcp_config_vf_msix, qed_mcp_resume, qed_mcp_set_resc_max_val, qed_mcp_get_resc_info, qed_mcp_ov_update_eswitch, qed_mcp_initiate_pf_flr, qed_mcp_resc_lock, qed_mcp_resc_unlock, qed_mcp_resc_lock_default_init, qed_mcp_is_smart_an_supported, qed_mcp_get_capabilities, qed_mcp_set_capabilities, qed_mcp_read_ufp_config, qed_mcp_nvm_info_populate, qed_mcp_nvm_info_free, qed_mcp_get_engine_config, qed_mcp_get_ppfid_bitmap, qed_mcp_nvm_get_cfg, qed_mcp_nvm_set_cfg, qed_mcp_is_esl_supported, qed_mcp_get_esl_status.

lowkey that's a whole friend group but every single one of them is a (9) man page, so the link is: they're all siblings in the same kernel section. slay πŸ’…

πŸ’– that's the page!! πŸ’– shoutout to ./drivers/net/ethernet/qlogic/qed for being the home directory of all this, dated October 2026 β€” mwah, love u, bye bestie πŸ§šβ€β™€οΈπŸŽ€

πŸ“¦ where this page comes from