STRUCT DEVLINK_DPIPE_FIELD(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

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 a const 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 an enum 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