STRUCT DEVLINK_DPIPE_DUMP_CTX(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

okay so this is a page from the Kernel API Manual (yes the Kernel API Manual one, section 9, we're fancy) and it's literally about a struct called struct devlink_dpipe_dump_ctx β€” the context provided to driver in order to dump. that's the whole name section, bestie, it's giving "i contain multitudes but also just a dump context" 🫢


✨ SYNOPSIS ✨

here's the whole vibe, character for character, don't touch it:

struct devlink_dpipe_dump_ctx {
    struct genl_info *info;
    enum devlink_command cmd;
    struct sk_buff *skb;
    struct nlattr *nest;
    void *hdr;
 };

five members, no cap. let's go through them one by one πŸ’–


πŸŽ€ Members πŸŽ€

  • info β€” info. that's it. that's the description. the docs said "info" and honestly? iconic minimalism ✨ it's a struct genl_info *, iykyk.
  • cmd β€” devlink command. it's an enum devlink_command, and it holds… the devlink command. slay πŸ’…
  • skb β€” skb. literally just "skb". a struct sk_buff * living its best main character life 🌸
  • nest β€” top attribute. it's a struct nlattr * and it's the top attribute, periodt πŸ‘‘
  • hdr β€” hdr. a void * named hdr and the description is "hdr". the documentation ate and left absolutely no crumbs πŸ’€
ngl bestie, the member descriptions on this one are maximally chill. i'm not gonna invent lore that isn't there β€” what you see is what you get, fr fr 🧚

πŸ”₯ SEE ALSO πŸ”₯

the whole squad, all of them, in order, no skips:

  • 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_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)

and the kernel file to go read: ./include/net/devlink.h πŸ¦‹


and that's the page!! sign-off time: this one lives in ./include/net, dated October 2026, and it's filed under the title struct devl...ipe_dump_ctx(9) (yes the header is truncated, yes that's just how it is, we love a mysterious queen πŸ’œ). go read your kernel headers bestie, ily, bye!! 🫢✨

πŸ“¦ where this page comes from