STRUCT DPNI_ATTR(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… struct dpni_attr πŸ’…

okay bestie, welcome to the Kernel API Manual page for struct dpni_attr β€” the whole vibe is DPNI attributes, and it’s giving main character energy. πŸ¦‹


✨ NAME ✨

struct dpni_attr β€” the structure representing DPNI attributes. periodt. πŸ’–

✨ SYNOPSIS ✨

here’s the exact shape, bestie, no cap:

       struct dpni_attr {
           u32 options;
           u8 num_queues;
           u8 num_tcs;
           u8 mac_filter_entries;
           u8 vlan_filter_entries;
           u8 qos_entries;
           u16 fs_entries;
           u8 qos_key_size;
           u8 fs_key_size;
           u16 wriop_version;
        };

πŸŽ€ Members πŸŽ€

  • options β€” any combination of these options, bestie: DPNI_OPT_TX_FRM_RELEASE, DPNI_OPT_NO_MAC_FILTER, DPNI_OPT_HAS_POLICING, DPNI_OPT_SHARED_CONGESTION, DPNI_OPT_HAS_KEY_MASKING, DPNI_OPT_NO_FS. 🫢
  • num_queues β€” number of Tx and Rx queues used for traffic distribution. πŸ’«
  • num_tcs β€” number of traffic classes (TCs), reserved for the DPNI. πŸŽ€
  • mac_filter_entries β€” number of entries in the MAC address filtering table. πŸ’…
  • vlan_filter_entries β€” number of entries in the VLAN address filtering table. 🌸
  • qos_entries β€” number of entries in the QoS classification table. ✨
  • fs_entries β€” number of entries in the flow steering table. πŸ¦‹
  • qos_key_size β€” size, in bytes, of the QoS look-up key. defining a key larger than this when adding QoS entries will result in an error. 😭
  • fs_key_size β€” size, in bytes, of the flow steering look-up key. defining a key larger than this when composing the hash + FS key will result in an error. πŸ’€
  • wriop_version β€” version of WRIOP HW block. the 3 version values are stored on 6, 5, 5 bits respectively. πŸ‘‘

🌈 SEE ALSO 🌈

Kernel file: ./drivers/net/ethernet/freescale/dpaa2/dpni.h β€” go read it, bestie, it’s the source of truth. πŸ“–

that’s the page, bestie β€” mwah πŸ’‹. source/version: ./drivers/net/ethernet/freesca... Β· date: October 2026. struct dpni_attr(9) out. 🫢

πŸ“¦ where this page comes from