axienet_coalesce_params(9)
β¨ axienet_coalesce_params β¨
okay so this is a page straight out of the Kernel API Manual (the axienet_coalesce_params(9) one, bestie, section 9 is where all the kernel-internal gossip lives π
) and honestly it's a tiny little function but it's doing real work β it's the one that extracts the coalesce parameters from the CR. Let's get into it π«Ά
πΈ NAME πΈ
axienet_coalesce_params β literally "extract coalesce parameters from the CR", that's the whole job, that's the assignment, she ate π
π SYNOPSIS π
void axienet_coalesce_params (struct axienet_local *lp , u32 cr , u32
*count , u32 *usec );
so she's a void, meaning she doesn't hand anything back with a return β she just does the thing and fills in your pointers, no cap β¨
π¦ ARGUMENTS π¦
lpβ the device private data π like, the whole personality of the device lives in here.crβ the control register to parse π this is the raw material, the thing she's digging through.countβ number of packets before an interrupt π so like, how many packets pile up before she's like "okay bestie, interrupt time."usecβ idle time (in usec) before an interrupt π the "how long are we just sitting here quietly before we yell" number, in microseconds, noted very specifically, don't forget the unit fr fr.
lowkey love thatcountandusecare both pointers β she's writing into them, not returning them. main character energy, she comes to you π
π SEE ALSO π
okay this list is long and honestly kind of iconic β here's every single one, no skipping, I would never π
The kernel file this all lives in: ./drivers/net/ethernet/xilinx/xilinx_axienet_main.c π¦
And the whole friend group: axienet_dma_in32(9), axienet_dma_bd_release(9), axienet_calc_cr(9), axienet_dma_start(9), axienet_dma_bd_init(9), axienet_set_mac_address(9), netdev_set_mac_address(9), axienet_set_multicast_list(9), axienet_setoptions(9), axienet_dma_stop(9), axienet_device_reset(9), axienet_free_tx_chain(9), axienet_check_tx_bd_space(9), axienet_dma_tx_cb(9), axienet_start_xmit_dmaengine(9), axienet_tx_poll(9), axienet_start_xmit(9), axienet_dma_rx_cb(9), axienet_rx_poll(9), axienet_tx_irq(9), axienet_rx_irq(9), axienet_eth_irq(9), axienet_rx_submit_desc(9), axienet_init_dmaengine(9), axienet_init_legacy_dma(9), axienet_open(9), axienet_stop(9), axienet_change_mtu(9), axienet_poll_controller(9), axienet_ethtools_get_drvinfo(9), axienet_ethtools_get_regs_len(9), axienet_ethtools_get_regs(9), axienet_ethtools_get_pauseparam(9), axienet_ethtools_set_pauseparam(9), axienet_update_coalesce_rx(9), axienet_dim_coalesce_count_rx(9), axienet_rx_dim_work(9), axienet_update_coalesce_tx(9), axienet_ethtools_get_coalesce(9), axienet_ethtools_set_coalesce(9), axienet_dma_err_handler(9), axienet_probe(9) π₯
like, that's the whole squad, iykyk π
β¨ cute lil sign-off β¨
this page came from the source path ./drivers/net/ethernet/xilinx and is dated October 2026, in the ol' Kernel API Manual β so like, future vibes but the same axienet_coalesce_params(9) energy forever ππΈπ¦
π¦ 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