axienet_coalesce_params(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ 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 that count and usec are 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