# dbg_debug_info_tag Struct Reference
[DEBUG]

Debug information forwarded to host when an error occurs. More...

`#include <dbg.h>`

Collaboration diagram for dbg_debug_info_tag:
[legend]

## Data Fields
uint32_t | error_type
| Type of error (0: recoverable, 1: fatal).
uint32_t | rhd
| Pointer to the first RX Header Descriptor chained to the MAC HW.
uint32_t | rhd_len
| Size of the RX header descriptor buffer.
uint32_t | rbd
| Pointer to the first RX Buffer Descriptor chained to the MAC HW.
uint32_t | rbd_len
| Size of the RX buffer descriptor buffer.
uint32_t | thd [NX_TXQ_CNT]
| Pointer to the first TX Header Descriptors chained to the MAC HW.
uint32_t | thd_len [NX_TXQ_CNT]
| Size of the TX header descriptor buffer.
uint32_t | hw_diag
| MAC HW diag configuration.
uint32_t | error [DBG_ERROR_TRACE_SIZE/4]
| Error message.
uint32_t | sw_diag_len
| SW diag configuration length.
uint32_t | sw_diag [DBG_SW_DIAG_MAX_LEN/4]
| SW diag configuration.
struct phy_channel_info | chan_info
| PHY channel information.
struct la_conf_tag | la_conf
| Embedded LA configuration.
uint16_t | diags_mac [DBG_DIAGS_MAC_MAX]
| MAC diagnostic port state.
uint16_t | diags_phy [DBG_DIAGS_PHY_MAX]
| PHY diagnostic port state.
uint32_t | rhd_hw_ptr
| MAC HW RX Header descriptor pointer.
uint32_t | rbd_hw_ptr
| MAC HW RX Buffer descriptor pointer.

## Detailed Description

Debug information forwarded to host when an error occurs.

Definition at line 1269 of file dbg.h.

The documentation for this struct was generated from the following file:

- /space/home/slher/rel/Beken/v6_4_5/macsw/modules/dbg/src/dbg.h