STRUCT DPNI_ATTR(9)
π 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. π
DPNI_MAX_TC(9),DPNI_MAX_DPBP(9),DPNI_ALL_TCS(9),DPNI_ALL_TC_FLOWS(9)DPNI_NEW_FLOW_ID(9),DPNI_OPT_TX_FRM_RELEASE(9),DPNI_OPT_NO_MAC_FILTER(9),DPNI_OPT_HAS_POLICING(9)DPNI_OPT_SHARED_CONGESTION(9),DPNI_OPT_HAS_KEY_MASKING(9),DPNI_OPT_NO_FS(9),DPNI_OPT_SHARED_FS(9)struct dpni_pools_cfg(9),DPNI_ERROR_EOFHE(9),DPNI_ERROR_FLE(9),DPNI_ERROR_FPE(9)DPNI_ERROR_PHE(9),DPNI_ERROR_L3CE(9),DPNI_ERROR_L4CE(9),enum dpni_error_action(9)struct dpni_error_cfg(9),DPNI_BUF_LAYOUT_OPT_TIMESTAMP(9),DPNI_BUF_LAYOUT_OPT_PARSER_RESULT(9),DPNI_BUF_LAYOUT_OPT_FRAME_STATUS(9)DPNI_BUF_LAYOUT_OPT_PRIVATE_DATA_SIZE(9),DPNI_BUF_LAYOUT_OPT_DATA_ALIGN(9),DPNI_BUF_LAYOUT_OPT_DATA_HEAD_ROOM(9),DPNI_BUF_LAYOUT_OPT_DATA_TAIL_ROOM(9)struct dpni_buffer_layout(9),enum dpni_queue_type(9),enum dpni_offload(9),union dpni_statistics(9)struct dpni_link_cfg(9),struct dpni_link_state(9),enum dpni_dist_mode(9),enum dpni_fs_miss_action(9)struct dpni_fs_tbl_cfg(9),struct dpni_rx_tc_dist_cfg(9),DPNI_FS_MISS_DROP(9),struct dpni_rx_dist_cfg(9)struct dpni_qos_tbl_cfg(9),enum dpni_dest(9),struct dpni_queue(9),struct dpni_queue_id(9)enum dpni_congestion_unit(9),enum dpni_congestion_point(9),struct dpni_dest_cfg(9),DPNI_CONG_OPT_FLOW_CONTROL(9)struct dpni_congestion_notification_cfg(9),struct dpni_taildrop(9),struct dpni_rule_cfg(9),DPNI_FS_OPT_DISCARD(9)DPNI_FS_OPT_SET_FLC(9),DPNI_FS_OPT_SET_STASH_CONTROL(9),struct dpni_fs_action_cfg(9),struct dpni_tx_shaping_cfg(9)struct dpni_single_step_cfg(9)
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
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms