iavf_add_cls_u32(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ¦‹ NAME πŸ¦‹

okay bestie, welcome to the Kernel API Manual, section 9 β€” this is iavf_add_cls_u32, and she's here to add U32 classifier offloads πŸ’…

Like, that's literally the whole vibe: iavf_add_cls_u32 β€” Add U32 classifier offloads. No cap.


✨ SYNOPSIS ✨

int iavf_add_cls_u32 (struct iavf_adapter *adapter , struct tc_cls_u32_offload *cls_u32 );

so she takes two pointers and gives you back an int. that's it, that's the girl πŸŽ€


🌸 ARGUMENTS 🌸

  • adapter β€” pointer to iavf_adapter structure. yep, the whole adapter, she needs the context, main character energy only 🫢
  • cls_u32 β€” pointer to tc_cls_u32_offload struct with flow info. this one's carrying the actual flow details, so like… don't leave it empty, i'm begging 😭

⭐ RETURN ⭐

0 on success, or a negative errno on failure. so if you get 0, slay β€” you ate. if it's negative, that's your villain origin story, go read the errno πŸ’€


πŸ’– SEE ALSO πŸ’–

okay this is the part where I introduce you to the entire friend group, and there are so many of them β€” but they're all iconic, I promise 🌈

first up, the actual source file, the mothership:

  • Kernel file ./drivers/net/ethernet/intel/iavf/iavf_main.c

and now the squad, in order, no skipping, every single one 🧚

like… that's a whole friend group, and iavf_add_cls_u32 is the one holding the aux cord πŸ”₯ iykyk


ok and before you go β€” this beauty is brought to you by the fine people over in ./drivers/net/ethernet/intel/iavf, dated October 2026, and it's living its best life as iavf_add_cls_u32(9). bye bestie, go off πŸ’œπŸ¦‹βœ¨
πŸ“¦ where this page comes from