STRUCT DEVLINK_DPIPE_FIELD(9)
π struct devlink_dpipe_field(9) π
okay so this is the Kernel API Manual page for struct devlink_dpipe_field, and bestie, we're gonna get you so caught up on the dpipe field object rn π«Άβ¨
β¨ NAME β¨
struct devlink_dpipe_field β it's literally the dpipe field object. that's the whole vibe π
πΈ SYNOPSIS πΈ
struct devlink_dpipe_field {
const char *name;
unsigned int id;
unsigned int bitwidth;
enum devlink_dpipe_field_mapping_type mapping_type;
};
like, that's the shape of it, no cap π
π Members π
nameβ the field's name, bestie. it's aconst char *, so like, it knows who it is πidβ the index inside the headers field array. iykyk, it's giving "where do i sit at the lunch table" πbitwidthβ the bitwidth. literally just the bitwidth, that's it, that's the whole thing π¦mapping_typeβ the mapping type (it's anenum devlink_dpipe_field_mapping_type). iconic little enum moment β
π SEE ALSO π
the kernel file lives at ./include/net/devlink.h and honestly? the whole squad shows up here, so let's do the roll call π₯
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_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_policer(9)struct devlink_trap_group(9)struct devlink_trap(9)struct devlink_port_ops(9)
like, the entire friend group, fr fr π
ngl there's no danger zone on this page β no deprecated nonsense, no "don't touch this", just a chill little struct. still, read the members before you go poking at them, okay? π
and that's the page!! sign-off time: this one comes from ./include/net and it's dated October 2026, page struct devlink_dpipe_field(9). mwah, go forth and slay your dpipe fields bestie πβ¨πππΈ
π¦ 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