ixgbe_get_fdirtcpm_82599(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… ixgbe_get_fdirtcpm_82599(9) β€” from the Kernel API Manual, bestie ✨

okay so this is a page out of the Kernel API Manual, and honestly? It's a little niche but it's lowkey iconic once you get it. We're talking ixgbe_get_fdirtcpm_82599 β€” the function whose whole entire personality is flipping bits so your TCP ports come out right. Stay with me, it's gonna slay πŸŽ€


✨ NAME ✨

ixgbe_get_fdirtcpm_82599 β€” generate a tcp port from atr_input_masks 🐝


🌸 SYNOPSIS 🌸

u32 ixgbe_get_fdirtcpm_82599 (union ixgbe_atr_input *input_mask );

πŸ¦‹ ARGUMENTS πŸ¦‹

  • input_mask β€” the mask that's getting bit swapped. That's it, that's the whole argument, she's got one job πŸ’…

πŸ”₯ DESCRIPTION πŸ”₯

So here's the vibe: the source and destination port masks for flow director are bit swapped. And not in a cute way β€” we mean like, bit 15 effects bit 0, 14 effects 1, 13 effects 2, etc. 🫠 It's giving upside-down.

So if you want a value that's actually swapped correctly, you gotta bit swap the mask first β€” and that's literally exactly what this function does. No cap, that's the whole function. She bit swaps the mask and we love her for it πŸ’–


πŸ‘‘ SEE ALSO πŸ‘‘

Kernel file ./drivers/net/ethernet/intel/ixgbe/ixgbe_82599.c β€” and honestly the whole 82599 friend group, they all show up:


and that's the page, bestie 🌈 Sourced from ./drivers/net/ethernet/intel/i... (the path got a lil truncated, we don't gatekeep, it's in the ixgbe driver folder), dated October 2026, and the whole thing is filed under ixgbe_get_fdirtcpm_82599(9) β€” go forth and bit swap responsibly πŸ§šπŸ’œ

πŸ“¦ where this page comes from