STRUCT DEVLINK_DPIPE_VALUE(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– NAME πŸ’–

struct devlink_dpipe_value β€” represents value of match/action. That's the name tea, bestie, straight from the Kernel API Manual. Iconic little kernel-struct behavior. πŸŽ€

✨ SYNOPSIS ✨

       struct devlink_dpipe_value {
           union {
             struct devlink_dpipe_action *action;
             struct devlink_dpipe_match *match;
           };
           unsigned int mapping_value;
           bool mapping_valid;
           unsigned int value_size;
           void *value;
           void *mask;
        };

🫢 Members 🫢

  • {unnamed_union} β€” anonymous. No name, no problem, just the anonymous union doing its thing. πŸ«₯
  • action β€” action. πŸ’…
  • match β€” match. πŸ’…
  • mapping_value β€” in case the field has some mapping, this value specifies the mapping value. πŸ—ΊοΈ
  • mapping_valid β€” specifies if the mapping value is valid. βœ…
  • value_size β€” value size. πŸ“
  • value β€” value. πŸ’–
  • mask β€” bit mask. 🎭

πŸ”₯ SEE ALSO πŸ”₯

Kernel file: ./include/net/devlink.h β€” that's the source flavor. The rest of the struct besties are:

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

Cute sign-off: struct devlink_dpipe_value(9) is from the Kernel API Manual, source ./include/net, dated October 2026. Bye bestie, go read the header. πŸ’‹πŸ¦‹

πŸ“¦ where this page comes from