STRUCT DEVLINK_DPIPE_TABLE(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

okay so bestie, we're in the Kernel API Manual today and the main character is struct devlink_dpipe_table β€” literally the table object itself. no cap, that's the whole NAME. let's get into it ✨


✨ SYNOPSIS ✨

here's the struct in all its glory, bestie β€” copy it exact, don't @ me:

struct devlink_dpipe_table {
    void *priv;
    const char *name;
    bool counters_enabled;
    bool counter_control_extern;
    bool resource_valid;
    u64 resource_id;
    u64 resource_units;
    const struct devlink_dpipe_table_ops *table_ops;
    struct rcu_head rcu;
 };

πŸŽ€ Members πŸŽ€

k so every field, one by one, we are NOT skipping any πŸ’–

  • priv β€” the private one 🫢 literally just private.
  • name β€” the table name, duh. it's giving identity. πŸ‘‘
  • counters_enabled β€” tells you if the counters are active. like, are they awake or nah 😴
  • counter_control_extern β€” tells you whether counter control lives in dpipe or in an external tool. iykyk πŸ”₯
  • resource_valid β€” indicates that the resource id is valid βœ… (yes that's the whole vibe)
  • resource_id β€” the relative resource this table is related to. it's the table's ✨situationship✨
  • resource_units β€” the number of the resource's unit consumed per the table's entry. math girlies rise 🧚
  • table_ops β€” the table operations. the plungins. the ops, fr fr πŸ’…
  • rcu β€” rcu. that's it. that's the description. πŸ’€

πŸ¦‹ SEE ALSO πŸ¦‹

bestie there is a WHOLE friend group here, and they all live in the kernel file ./include/net/devlink.h β€” go say hi 🌸

  • 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_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_policer(9)
  • struct devlink_trap_group(9)
  • struct devlink_trap(9)
  • struct devlink_port_ops(9)

ok that's the whole page, no gatekeeping 🫢 now go read the source, it's literally in ./include/net, and this lil drop is dated October 2026. mwah πŸ’‹ periodt 🌈
πŸ“¦ where this page comes from