STRUCT DEVLINK_DPIPE_TABLE(9)
π struct devlink_dpipe_table(9) β the Kernel API Manual glow-up
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
- 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