ice_conv_li..._to_virtchnl(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– ice_conv_li..._to_virtchnl(9) πŸ’–

okay bestie, you're in the Kernel API Manual and this whole page is about ice_conv_link_speed_to_virtchnl. it's giving kernel networking, no cap. ✨

πŸŽ€ NAME πŸŽ€

  • ice_conv_link_speed_to_virtchnl - β€” bestie, that's the NAME line, and the part after the dash is empty in the original, so no invented summary. πŸ’…

✨ SYNOPSIS ✨

the signature, verbatim bestie:

u32 ice_conv_link_speed_to_virtchnl (bool adv_link_support , u16
       link_speed );

πŸ¦‹ ARGUMENTS πŸ¦‹

  • adv_link_support β€” determines the format of the returned link speed. πŸ’…
  • link_speed β€” variable containing the link_speed to be converted. πŸŽ€

🌸 DESCRIPTION 🌸

okay so ice_conv_link_speed_to_virtchnl converts link speed supported by HW to link speed supported by virtchnl. literally its whole job. ✨

if adv_link_support is true, then return link speed in Mbps. if it's false, return link speed as a VIRTCHNL_LINK_SPEED_* casted to a u32. πŸ‘‘

caveat bestie: when adv_link_support is false, the caller needs to cast back to an enum virtchnl_link_speed. when adv_link_support is true, the caller can expect the speed in Mbps. no guessing, that's the contract. πŸ’–

🌈 SEE ALSO 🌈

Kernel file:

  • ./drivers/net/ethernet/intel/ice/ice_vf_mbx.c 🧚

bestie function refs, all of them, in order:


mwah πŸ’‹ β€” from the Kernel API Manual, source ./drivers/net/ethernet/intel/ice, dated October 2026, footer title ice_conv_li..._to_virtchnl(9). periodt. 🫢

πŸ“¦ where this page comes from