fm10k_crc_16b(9)
π 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 π«Ά
fm10k_fifo_init(9)fm10k_fifo_used(9)fm10k_fifo_unused(9)fm10k_fifo_empty(9)fm10k_fifo_head_offset(9)fm10k_fifo_tail_offset(9)fm10k_fifo_head_len(9)fm10k_fifo_head_drop(9)fm10k_fifo_drop_all(9)fm10k_mbx_index_len(9)fm10k_mbx_tail_add(9)fm10k_mbx_tail_sub(9)fm10k_mbx_head_add(9)fm10k_mbx_head_sub(9)fm10k_mbx_pushed_tail_len(9)fm10k_fifo_write_copy(9)fm10k_fifo_enqueue(9)fm10k_mbx_validate_msg_size(9)fm10k_mbx_write_copy(9)fm10k_mbx_pull_head(9)fm10k_mbx_read_copy(9)fm10k_mbx_push_tail(9)fm10k_fifo_crc(9)fm10k_mbx_update_local_crc(9)fm10k_mbx_verify_remote_crc(9)fm10k_mbx_rx_ready(9)fm10k_mbx_tx_ready(9)fm10k_mbx_tx_complete(9)fm10k_mbx_dequeue_rx(9)fm10k_mbx_enqueue_tx(9)fm10k_mbx_read(9)fm10k_mbx_write(9)fm10k_mbx_create_connect_hdr(9)fm10k_mbx_create_data_hdr(9)fm10k_mbx_create_disconnect_hdr(9)fm10k_mbx_create_fake_disconnect_hdr(9)fm10k_mbx_create_error_msg(9)fm10k_mbx_validate_msg_hdr(9)fm10k_mbx_create_reply(9)fm10k_mbx_reset_work(9)fm10k_mbx_update_max_size(9)fm10k_mbx_connect_reset(9)fm10k_mbx_process_connect(9)fm10k_mbx_process_data(9)fm10k_mbx_process_disconnect(9)fm10k_mbx_process_error(9)fm10k_mbx_process(9)fm10k_mbx_disconnect(9)fm10k_mbx_connect(9)fm10k_mbx_validate_handlers(9)fm10k_mbx_register_handlers(9)fm10k_pfvf_mbx_init(9)fm10k_sm_mbx_create_data_hdr(9)fm10k_sm_mbx_create_connect_hdr(9)fm10k_sm_mbx_connect_reset(9)fm10k_sm_mbx_connect(9)fm10k_sm_mbx_disconnect(9)fm10k_sm_mbx_validate_fifo_hdr(9)fm10k_sm_mbx_process_error(9)fm10k_sm_mbx_create_error_msg(9)fm10k_sm_mbx_receive(9)fm10k_sm_mbx_transmit(9)fm10k_sm_mbx_create_reply(9)fm10k_sm_mbx_process_reset(9)fm10k_sm_mbx_process_version_1(9)fm10k_sm_mbx_process(9)fm10k_sm_mbx_init(9)
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
- 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