DPAA2UM, Rev 36, 10/2020
-vi NXP Semiconductors
Contents
Paragraph
Number Title
Page
Number
7.3 DPNI command reference ............................................................................................. 7-11
7.3.1 DPNI_CREATE ......................................................................................................... 7-11
7.3.2 DPNI_DESTROY...................................................................................................... 7-15
7.3.3 DPNI_OPEN.............................................................................................................. 7-16
7.3.4 DPNI_CLOSE ........................................................................................................... 7-17
7.3.5 DPNI_ENABLE ........................................................................................................ 7-18
7.3.6 DPNI_DISABLE ....................................................................................................... 7-19
7.3.7 DPNI_IS_ENABLED................................................................................................ 7-20
7.3.8 DPNI_RESET............................................................................................................ 7-22
7.3.9 DPNI_SET_IRQ_ENABLE ...................................................................................... 7-23
7.3.10 DPNI_GET_IRQ_ENABLE...................................................................................... 7-24
7.3.11 DPNI_SET_IRQ_MASK........................................................................................... 7-26
7.3.12 DPNI_GET_IRQ_MASK.......................................................................................... 7-27
7.3.13 DPNI_GET_IRQ_STATUS ....................................................................................... 7-29
7.3.14 DPNI_CLEAR_IRQ_STATUS.................................................................................. 7-31
7.3.15 DPNI_GET_ATTRIBUTES ...................................................................................... 7-32
7.3.16 DPNI_SET_POOLS .................................................................................................. 7-36
7.3.17 DPNI_SET_ERRORS_BEHAVIOR ......................................................................... 7-39
7.3.18 DPNI_SET_BUFFER_LAYOUT.............................................................................. 7-41
7.3.19 DPNI_GET_BUFFER_LAYOUT ............................................................................. 7-44
7.3.20 DPNI_SET_OFFLOAD............................................................................................. 7-46
7.3.21 DPNI_GET_OFFLOAD............................................................................................ 7-47
7.3.22 DPNI_GET_QDID .................................................................................................... 7-49
7.3.23 DPNI_GET_SP_INFO............................................................................................... 7-52
7.3.24 DPNI_GET_TX_DATA_OFFSET ............................................................................ 7-54
7.3.25 DPNI_GET_STATISTICS......................................................................................... 7-56
7.3.26 DPNI_RESET_STATISTICS .................................................................................... 7-59
7.3.27 DPNI_SET_LINK_CFG............................................................................................ 7-60
7.3.28 DPNI_GET_LINK_CFG ........................................................................................... 7-62
7.3.29 DPNI_SET_SINGLE_STEP_CFG............................................................................ 7-64
7.3.30 DPNI_GET_SINGLE_STEP_CGF ........................................................................... 7-65
7.3.31 DPNI_SET_PORT_CFG ........................................................................................... 7-67
7.3.32 DPNI_GET_PORT_CGF........................................................................................... 7-68
7.3.33 DPNI_GET_LINK_STATE ....................................................................................... 7-70
7.3.34 DPNI_SET_TX_SHAPING ...................................................................................... 7-72
7.3.35 DPNI_SET_MAX_FRAME_LENGTH.................................................................... 7-74
7.3.36 DPNI_GET_MAX_FRAME_LENGTH ................................................................... 7-75
7.3.37 DPNI_SET_MULTICAST_PROMISC..................................................................... 7-77
7.3.38 DPNI_GET_MULTICAST_PROMISC .................................................................... 7-78
7.3.39 DPNI_SET_UNICAST_PROMISC .......................................................................... 7-80
7.3.40 DPNI_GET_UNICAST_PROMISC ......................................................................... 7-81