fm10k_fifo_init(9)
π fm10k_fifo_init π
okay so this is a page from the Kernel API Manual, bestie β fm10k_fifo_init(9) β and it's literally the moment your message FIFO gets its whole life together β¨
πΈ NAME πΈ
fm10k_fifo_init β Initialize a message FIFO π
like, it sets the whole thing up. the origin story. the glow-up. periodt.
π¦ SYNOPSIS π¦
void fm10k_fifo_init (struct fm10k_mbx_fifo *fifo , u32 *buffer , u16
size );
no cap, that's the whole signature β go off, void π
β¨ ARGUMENTS β¨
fifoβ pointer to FIFO π«Ά this is the lil struct you're bringing to life.bufferβ pointer to memory to be used to store FIFO πΎ that's the actual space where the messages live, so give it somewhere nice to stay.sizeβ maximum message size to store in FIFO, must be 2^n - 1 π₯ and yes that "must" is doing a LOT of work, so respect the power-of-two-minus-one rule or it's giving bug energy.
β οΈ real talk:sizehas to be2^n - 1. not vibes-based. not negotiable. it's in the spec, iykyk.
π SEE ALSO π
first up, the home base:
- Kernel file
./drivers/net/ethernet/intel/fm10k/fm10k_mbx.cπ
and now the whole friend group β literally every single one, no gatekeeping π«Ά:
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_crc_16b(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β¦ that's the entire contact list, bestie. every single one, exactly as it should be ππ
π sign-off π
source: ./drivers/net/ethernet/intel/f... β yeah it's chopped like that, don't come for me π β and the date on this beauty is October 2026. so futuristic. so iconic. go init that FIFO, queen ππ
β¨
π¦ 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