#ifndef _COMMON_UIF_H
#define _COMMON_UIF_H
/*
I M P O R T A N T
BEFORE YOU MODIFY THESE STRUCTS:
please make sure that DIAG was updated accordingly.
windiag\ediag should be checked to compile and run correctly
modification is in file: tcl_driver.c, function: driver_init_stats_object, macros: REGISTER_STAT_FIELD
*/
/*******************************************************************************
* Hardware statistics structure for B10_IOC_GET_L2_CHIP_STATISTICS
******************************************************************************/
typedef struct _b10_l2_chip_statistics_t
{
//u64_t Reserved0 ;
//u64_t Reserved1 ;
//u64_t Reserved2 ;
//u64_t Reserved3 ;
// Nig statistics
typedef struct _b10_l2_chip_statistics_v2_t
{
struct _v2
{
u64_t Tx_lpi_count; // This counter counts the number of timers the debounced version of EEE link idle is asserted�
} v2;
typedef struct _b10_l2_chip_statistics_v3_t
{
struct _v3
{
} v3;
/*******************************************************************************
* Hardware statistics structure for B10_IOC_GET_L4_CHIP_STATISTICS
******************************************************************************/
typedef struct _b10_l4_chip_statistics_t
{
//u64_t Reserved0 ;
//u64_t Reserved1 ;
//u64_t Reserved2 ;
//u64_t Reserved3 ;
/*******************************************************************************
* Driver statistics structure for B10_IOC_GET_L2_DRIVER_STATISTICS
******************************************************************************/
typedef struct _b10_l2_driver_statistics_t
{
//u64_t Reserved0 ;
//u64_t Reserved1 ;
//u64_t Reserved2 ;
//u64_t Reserved3 ;
/*******************************************************************************
* Driver statistics structure for B10_IOC_GET_L4_DRIVER_STATISTICS
******************************************************************************/
typedef struct _b10_l4_driver_statistics_t
{
//u64_t Reserved0 ;
//u64_t Reserved1 ;
//u64_t Reserved2 ;
//u64_t Reserved3 ;
/*******************************************************************************
* Driver statistics structure for B10_IOC_GET_DRIVER_STATISTICS.
******************************************************************************/
typedef struct _b10_driver_statistics_t
{
//u64_t Reserved0 ;
//u64_t Reserved1 ;
//u64_t Reserved2 ;
//u64_t Reserved3 ;
enum
{
};
/*******************************************************************************
* LLDP protocol registry configuration parameters.
******************************************************************************/
typedef struct _config_lldp_params_t
{
/*******************************************************************************
* LLDP structure for B10_IOC_GET_LLDP_PARAMS.
******************************************************************************/
typedef struct _b10_lldp_params_get_t
{
// The reserved field should follow in case the struct above will increase
/*******************************************************************************
* DCBX protocol registry configuration parameters.
******************************************************************************/
typedef struct _admin_priority_app_table_t
{
#define TRAFFIC_TYPE_ETH 0
typedef struct _config_dcbx_params_t
{
// "admin_dcbx_enable" and "dcb_enable" are stand alone registry keys(if present
// will always be valid and not ignored), for all other DCBX registry set only
// if the entire DCBX registry set is present and differ from 0xFFFFFFFF (invalid
// value) the DCBX registry parameters are taken, otherwise the registry key set
// is ignored.)(Expect "admin_dcbx_enable" and "dcb_enable")
#define ADMIN_DCBX_VERSION_CEE 0
/*******************************************************************************
* DCBX structure for B10_IOC_GET_DCBX_PARAMS.
******************************************************************************/
typedef struct _b10_dcbx_params_get_t
{
// The reserved field should follow in case the struct above will increase
/*******************************************************************************
* Transceiver Data B10_IOC_GET_TRANSCEIVER_DATA
******************************************************************************/
typedef struct _b10_transceiver_data_t
{
// NOTE: All these strings are ASCII buffers without trailing NULL '\0'
#endif // _COMMON_UIF_H