STRUCT DEVLINK_TRAP_POLICER(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– 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