qed_dmae_host2host(9)
π qed_dmae_host2host(9) β the kernel-api-manual glow-up
okay so bestie, we're in the Kernel API Manual today and this one is literally about yeeting data from one address to another. it's qed_dmae_host2host, and no cap it's giving "small function, big responsibilities" energy. β¨
πΈ NAME πΈ
qed_dmae_host2host β copy data from to source address to a destination adrress (for SRIOV) using the given ptt. π«Ά yes the manpage really does spell it "adrress", we stan a quirky queen, moving on.
β¨ SYNOPSIS β¨
int qed_dmae_host2host (struct qed_hwfn *p_hwfn , struct qed_ptt *p_ptt
, dma_addr_t source_addr , dma_addr_t dest_addr , u32 size_in_dwords ,
struct qed_dmae_params *p_params );
like, look at her. five-ish args, returns an int, iconic behavior only. π
π ARGUMENTS π
p_hwfnβ HW device data. the whole hardware situation lives here, she's the main character.p_pttβP_ptt. that's it, that's the description, and honestly? we respect the brevity. πsource_addrβ Source address. where the data is chillin' right now.dest_addrβ Destination address. where the data is gonna live its new life.size_in_dwordsβ size. (yes, in dwords. yes, that's the unit. keep up bestie π)p_paramsβ (default parameters will be used in case ofNULL). so if you pass nothing, the defaults swoop in and handle it, no stress. π¦
β RETURN β
Int. that's the whole section. she said "i return an int and that's all you need to know" π
π SEE ALSO π
the kernel file is right here, periodt:
./drivers/net/ethernet/qlogic/qed/qed_dev_api.h
and the whole friend group shows up too, fr fr:
qed_init_dp(9), qed_init_struct(9), qed_resc_free(9), qed_resc_alloc(9), qed_resc_setup(9), qed_hw_init(9), qed_hw_timers_stop_all(9), qed_hw_stop(9), qed_hw_stop_fastpath(9), qed_hw_start_fastpath(9), qed_hw_prepare(9), qed_hw_remove(9), qed_ptt_acquire(9), qed_ptt_acquire_context(9), qed_ptt_release(9), qed_dmae_host2grc(9), qed_fw_l2_queue(9), qed_fw_vport(9), qed_fw_rss_eng(9), qed_llh_get_num_ppfid(9), qed_llh_set_ppfid_affinity(9), qed_llh_set_roce_affinity(9), qed_llh_add_mac_filter(9), qed_llh_remove_mac_filter(9), qed_llh_add_protocol_filter(9), qed_llh_remove_protocol_filter(9), qed_final_cleanup(9), qed_get_queue_coalesce(9), qed_set_queue_coalesce(9), qed_pglueb_set_pfid_enable(9), qed_db_recovery_add(9), qed_db_recovery_del(9)
and that's the whole page, bestie!! π§π this little gem lives over in ./drivers/net/ethernet/qlogic/qed, dated October 2026, and it goes out to qed_dmae_host2host(9). go copy some data, slay, and remember: dwords are real and they matter. ππ
π¦ 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