STRUCT DEVLINK_TRAP_POLICER(9)
π NAME π
okay so bestie, welcome to the struct devlink_trap_policer(9) page from the Kernel API Manual π
no cap, this one is all about immutable packet trap policer attributes. Like, that's literally the whole NAME vibe:
struct devlink_trap_policer β Immutable packet trap policer attributes.
β¨ SYNOPSIS β¨
the struct is giving:
struct devlink_trap_policer {
u32 id;
u64 init_rate;
u64 init_burst;
u64 max_rate;
u64 min_rate;
u64 max_burst;
u64 min_burst;
};
π Members π
okay, member-by-member, no skips, fr fr:
idβ Policer identifier.init_rateβ Initial rate in packets / sec.init_burstβ Initial burst size in packets.max_rateβ Maximum rate.min_rateβ Minimum rate.max_burstβ Maximum burst size.min_burstβ Minimum burst size.
πΈ Description πΈ
bestie, this struct describes immutable attributes of packet trap policers that drivers register with devlink. That's the description, periodt β immutable attributes, drivers, devlink, all of it π
π SEE ALSO π
omg the link-up section is huge and iconic, so here's every single one:
- Kernel file
./include/net/devlink.h struct devlink_port_pci_pf_attrs(9)struct devlink_port_pci_vf_attrs(9)struct devlink_port_pci_sf_attrs(9)struct devlink_port_attrs(9)struct devlink_linecard_ops(9)struct devlink_dpipe_field(9)struct devlink_dpipe_header(9)struct devlink_dpipe_match(9)struct devlink_dpipe_action(9)struct devlink_dpipe_value(9)struct devlink_dpipe_entry(9)struct devlink_dpipe_dump_ctx(9)struct devlink_dpipe_table(9)struct devlink_dpipe_table_ops(9)struct devlink_dpipe_headers(9)struct devlink_resource_size_params(9)struct devlink_flash_notify(9)struct devlink_param(9)struct devlink_flash_update_params(9)struct devlink_region_ops(9)struct devlink_port_region_ops(9)struct devlink_health_reporter_ops(9)struct devlink_trap_metadata(9)struct devlink_trap_group(9)struct devlink_trap(9)struct devlink_port_ops(9)
xoxo bestie π source/version vibes: ./include/net, dated October 2026 β and yes, this is still the struct devlink_trap_policer(9) page. slay π
π¦ 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