fm10k_crc_16b(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– fm10k_crc_16b(9) β€” Kernel API Manual, but make it make sense πŸ’–

okay so welcome to the fm10k_crc_16b(9) page bestie 🌸 this is the Kernel API Manual entry for one (1) tiny little CRC machine and honestly it's giving "small but mighty" ✨


✨ NAME ✨

fm10k_crc_16b β€” Generate a 16 bit CRC for a region of 16 bit data πŸŽ€


🌈 SYNOPSIS 🌈

u16 fm10k_crc_16b (const u32 *data , u16 seed , u16 len );

like... that's the whole vibe, she takes three things and hands you back a u16, periodt πŸ’…


πŸ¦‹ ARGUMENTS πŸ¦‹

  • data β€” pointer to data to process. that's your little pile of bytes, she's gonna chew on it πŸ“
  • seed β€” seed value for CRC. yes it matters, do not skip her πŸ™ˆ
  • len β€” length measured in 16 bits words. note the unit bestie, 16 bit words, not bytes, not vibes πŸ‘‘

πŸ”₯ DESCRIPTION πŸ”₯

so this function will generate a CRC based on the polynomial 0xAC9A and whatever value is stored in the seed variable 🧚

⚠️ okay important note, no cap: this value inverts the local seed and the result in order to capture all leading and trailing zeros. so the inversion is literally the whole point, it's not a bug, it's the plot πŸ™ˆ

that's it, that's the function, she's iconic and she does exactly one thing πŸ’œ


πŸ’€ SEE ALSO πŸ’€

the kernel file on deck: ./drivers/net/ethernet/intel/fm10k/fm10k_mbx.c πŸ“

and here's the whole extended friend group, all 66 of them, no gatekeeping 🫢

like yeah, that's a whole group chat in there, but they're all invited πŸŽ€


πŸ’… and that's the page!! source-of-truth vibes: this came from ./drivers/net/ethernet/intel/f... (that's the truncated source the footer showed, iykyk 😭) and the version stamp is October 2026. mwah, go write some CRCs bestie πŸ’–βœ¨πŸ¦‹

πŸ“¦ where this page comes from