ice_cpi_get_dest_dev(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… 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:


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