i40e_virtchnl_link_speed(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

okay so bestie, welcome to the kernel API manual for i40e_virtchnl_link_speed πŸ’… this one lives in section 9 and it's genuinely such a small little guy but it does a real job, so let's get into it 🫢


🌸 NAME 🌸

i40e_virtchnl_link_speed β€” the glow-up translator that converts an AdminQ link_speed into its virtchnl definition πŸ¦‹


πŸ’– SYNOPSIS πŸ’–

enum virtchnl_link_speed i40e_virtchnl_link_speed (enum
i40e_aq_link_speed link_speed );

like, that's the whole signature, she's cute, she's compact, she takes exactly one thing and hands you back an enum πŸ‘‘


πŸŽ€ ARGUMENTS πŸŽ€

  • link_speed β€” the speed to convert ✨ literally just the speed you want translated, that's it, no secret extra params, no surprises, we love a low-drama argument πŸ“

πŸ”₯ DESCRIPTION πŸ”₯

So here's the tea β˜• this function returns the link_speed in terms of the virtchnl interface. Basically it's the go-between: it takes link_speed as reported by the AdminQ and converts it into the format that's used for talking to virtchnl devices. iykyk β€” two different worlds, one tiny function holding them together πŸ’€

And listen, because this part matters: if we can't represent the link speed properly, it reports LINK_SPEED_UNKNOWN. no cap. So if you ever get that back, that's your vibe check telling you the speed didn't fit the virtchnl definition and there was nothing honest to say except "unknown" πŸ™ˆ


πŸ‘€ SEE ALSO πŸ‘€

all the sibling functions, the whole friend group, go read them too πŸ“šπŸ’œ


and that's the whole page, bestie!! πŸ§šβ€β™€οΈβœ¨ this cutie came from ./drivers/net/ethernet/intel/i40e and the version date on it is October 2026 β€” so yeah, she's dated, she's documented, she's iconic, periodt πŸ’…πŸŽ€πŸ’–

πŸ“¦ where this page comes from