ice_get_pi_from_dev_rate(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– ice_get_pi_from_dev_rate(9) πŸ’–

okay bestie, welcome to this page from the Kernel API Manual β€” it’s short, it’s iconic, and it’s literally a tiny helper that gets a port_info struct from a devlink_rate struct 🌸. let’s get into it.

🌸 NAME 🌸

ice_get_pi_from_dev_rate β€” get port info from devlink_rate. slay, that’s the whole name vibe πŸŽ€

✨ SYNOPSIS ✨

       struct ice_port_info * ice_get_pi_from_dev_rate (struct devlink_rate
       *rate_node );

πŸ’… ARGUMENTS πŸ’…

  • rate_node β€” a devlink struct instance. that’s the one and only argument, bestie 🫢

πŸ¦‹ DESCRIPTION πŸ¦‹

This function returns the corresponding port_info struct of devlink_rate. That’s it. No cap, that’s the whole vibe β€” you hand it a devlink_rate, and it gives you back the matching port_info struct ✨. lowkey elegant, honestly.

πŸ‘‘ SEE ALSO πŸ‘‘


xoxo, that’s the whole page πŸ’œ β€” brought to you by the Kernel API Manual, with source/version footer vibes from ./drivers/net/ethernet/intel/i... and the date October 2026, signed ice_get_pi_from_dev_rate(9) πŸŽ€

πŸ“¦ where this page comes from