ice_cpi_get_dest_dev(9)
π ice_cpi_get_dest_dev(9)
okay so bestie, welcome to the Kernel API Manual β this is the ice_cpi_get_dest_dev page and it's genuinely so much shorter than it sounds, i promise π«Ά
β¨ NAME β¨
ice_cpi_get_dest_dev β get the destination PHY for a given phy index πΈ
like... that's literally the whole plot. it looks up which destination PHY you're headed to when someone hands you a phy index. slay.
π SYNOPSIS π
enum ice_sbq_dev_id ice_cpi_get_dest_dev (struct ice_hw *hw , u8 phy );
so it takes two things and it gives you back an enum ice_sbq_dev_id. no cap, that's it π₯
π¦ ARGUMENTS π¦
hwβ pointer to the HW struct. the whole hardware situation lives in here, iconic.phyβ the phy index of the port the CPI action is taken on. this is the "which port are we talking about" number π
π RETURN π
returns the sideband queue destination PHY device, as an enum ice_sbq_dev_id. that's the vibe check result β go forth and route your sideband queue stuff correctly β
π SEE ALSO π
the kernel file it all lives in:
./drivers/net/ethernet/intel/ice/ice_cpi.c
and its besties, the whole CPI crew:
ice_cpi_write_phy(9)ice_cpi_read_phy(9)ice_cpi_wait_req0_ack0(9)ice_cpi_wait_ack(9)ice_cpi_req0(9)ice_cpi_exec_cmd(9)ice_cpi_phy_lock(9)ice_cpi_exec(9)ice_cpi_set_cmd(9)ice_cpi_ena_dis_clk_ref(9)
ngl this page is short and sweet but every single one of those options and references above is doing its job, don't skip them π
and that's the whole page, bestie π this one came to you from ./drivers/net/ethernet/intel/ice, dated October 2026 β mwah, periodt πβ¨π¦
π¦ 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