STRUCT NFP_ABM_LINK(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

okay bestie, welcome to the Kernel API Manual β€” yes it's a real manual-page situation and yes we're gonna make it cute πŸ’… this one's all about struct nfp_abm_link, which is literally the port tuple of a ABM NIC. iconic little container, no cap πŸŽ€

✨ NAME ✨

struct nfp_abm_link β€” port tuple of a ABM NIC πŸ¦‹

✨ SYNOPSIS ✨

struct nfp_abm_link {
    struct nfp_abm *abm;
    struct nfp_net *vnic;
    unsigned int id;
    unsigned int queue_base;
    unsigned int total_queues;
    u64 last_stats_update;
    u32 *prio_map;
    bool has_prio;
    u8 def_band;
    struct list_head dscp_map;
    struct nfp_qdisc *root_qdisc;
    struct radix_tree_root qdiscs;
 };

✨ Members ✨

the way this struct has so many members… main character energy fr fr πŸ‘‘

  • abm β€” back pointer to nfp_abm. it's giving "find your way home" 🏠
  • vnic β€” the data vNIC. hi bestie πŸ‘‹
  • id β€” id of the data vNIC. short, simple, slays ✨
  • queue_base β€” id of base to host queue within PCIe (not QC idx). and yes, not QC idx β€” clock that, it matters πŸ’€
  • total_queues β€” number of PF queues. counting them all, obsessed πŸ”’
  • last_stats_update β€” ktime of last stats update. literally a timestamp glow-up πŸ•
  • prio_map β€” current map of priorities. current being the key word πŸ—ΊοΈ
  • has_prio β€” prio_map is valid. it's the vibe check for the map above 😌
  • def_band β€” default band to use. the default! the fallback! the understudy that ate 🌈
  • dscp_map β€” list of DSCP to band mappings. mapping era πŸ’–
  • root_qdisc β€” pointer to the current root of the Qdisc hierarchy. root of the tree, queen of the hill πŸ‘‘
  • qdiscs β€” all qdiscs recorded by major part of the handle. every single one, no crumbs left πŸ“

✨ SEE ALSO ✨

go read these next, i'm begging 🫢

  • Kernel file ./drivers/net/ethernet/netronome/nfp/abm/main.h
  • struct nfp_abm(9)
  • struct nfp_alink_stats(9)
  • struct nfp_alink_xstats(9)
  • struct nfp_qdisc(9)

and that's the whole page, bestie πŸ’œ it comes to you from ./drivers/net/ethernet/netrono... and it's dated October 2026 β€” so like, future-coded ✨ keep it in your bookmarks, mwah πŸ’…πŸŽ€

πŸ“¦ where this page comes from