idpf_get_ringparam(9)
π idpf_get_ringparam β a Kernel API Manual moment (section 9, bestie)
okay so you found yourself in the Kernel API Manual, specifically the idpf_get_ringparam(9) page, and honestly? slay. it's giving "i'm reading kernel docs for fun" main character energy. let's get into it π
β¨ NAME β¨
idpf_get_ringparam β literally just Get ring parameters. that's the whole vibe. nothing more, nothing less π¦
πΈ SYNOPSIS πΈ
void idpf_get_ringparam (struct net_device *netdev , struct
ethtool_ringparam *ring , struct kernel_ethtool_ringparam *kring ,
struct netlink_ext_ack *ext_ack );
so it returns void (no return value, she just does her thing and leaves π
) and takes four arguments. write it exactly like that, no cap, don't be out here renaming stuff π
π«Ά ARGUMENTS π«Ά
netdevβ the network interface device structure. this is THE device, the moment, the icon πringβ theethtool_ringparamstructure. the ring params live here, that's where the tea gets reported πkringβ unused. she's there, she's listed, she's not doing anything. we love a chill spectator πext_ackβ also unused. same energy. just vibing in the parameter list β¨
π DESCRIPTION π
so what does it actually do? it returns current ring parameters. that's it, that's the function π«Ά
here's the important bit though, bestie, don't miss this: TX and RX rings are reported separately, but the number of rings is not reported. so like, the individual TX and RX info shows up, but the count? not invited to the party π no ring count for you. periodt.
π₯ SEE ALSO π₯
the kernel file that's the whole source of truth here is:
./drivers/net/ethernet/intel/idpf/idpf_ethtool.c
and because the kernel loves a group chat, here's the entire friend group β every single one, no skipping, i said what i said π :
idpf_get_rx_ring_count(9)idpf_get_rxnfc(9)idpf_add_flow_steer(9)idpf_del_flow_steer(9)idpf_get_rxfh_key_size(9)idpf_get_rxfh_indir_size(9)idpf_get_rxfh(9)idpf_set_rxfh(9)idpf_get_channels(9)idpf_set_channels(9)idpf_set_ringparam(9)struct idpf_stats(9)__idpf_add_qstat_strings(9)idpf_add_qstat_strings(9)idpf_add_stat_strings(9)idpf_get_stat_strings(9)idpf_get_strings(9)idpf_get_sset_count(9)idpf_add_one_ethtool_stat(9)idpf_add_queue_stats(9)idpf_add_empty_queue_stats(9)idpf_add_port_stats(9)idpf_collect_queue_stats(9)idpf_get_ethtool_stats(9)idpf_find_rxq_vec(9)idpf_find_txq_vec(9)__idpf_get_q_coalesce(9)idpf_get_q_coalesce(9)idpf_get_coalesce(9)idpf_get_per_q_coalesce(9)__idpf_set_q_coalesce(9)idpf_set_q_coalesce(9)idpf_set_coalesce(9)idpf_set_per_q_coalesce(9)idpf_get_msglevel(9)idpf_set_msglevel(9)idpf_get_link_ksettings(9)idpf_get_timestamp_filters(9)idpf_get_ts_info(9)idpf_get_ts_stats(9)idpf_set_ethtool_ops(9)
like, that's the whole squad. iykyk π§
and that's the page, bestie π this little slice of the Kernel API Manual came to you from ./drivers/net/ethernet/intel/idpf, dated October 2026, filed under idpf_get_ringparam(9) β go forth and read ring params responsibly, mwah πΈπ
π¦ 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