i40e_virtchnl_link_speed(9)
β¨ i40e_virtchnl_link_speed β¨
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 π
- Kernel file
./drivers/net/ethernet/intel/i40e/i40e_prototype.h i40e_is_aq_api_ver_ge(9)i40e_is_aq_api_ver_lt(9)i40e_is_fw_ver_ge(9)i40e_is_fw_ver_lt(9)i40e_is_fw_ver_eq(9)
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
- 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