Data Structures | Typedefs | Enumerations
enet_mod_port.h File Reference

This file contains the type definitions and helper macros that are common for host and MAC ports. More...

#include <stdint.h>
#include <ti/drv/enet/include/core/enet_types.h>
#include <ti/drv/enet/include/core/enet_mod.h>

Data Structures

struct  EnetPort_VlanCfg_s
 VLAN configuration parameters. More...
 
struct  EnetPort_TrafficShapingRates_s
 Traffic shaping parameters (committed and excess rates). More...
 
struct  EnetPort_TrafficShapingCfg_s
 Traffic shaping configuration for all priorities. More...
 
struct  EnetPort_PriorityMap_s
 Priority map. More...
 
struct  EnetPort_DscpPriorityMap_s
 DSCP priority map. More...
 
struct  EnetPort_MaxLen_s
 Maximum packet lengths for TX and RX. More...
 

Typedefs

typedef struct EnetPort_VlanCfg_s EnetPort_VlanCfg
 VLAN configuration parameters.
 
typedef enum
EnetPort_EgressPriorityType_e 
EnetPort_TxPriorityType
 Egress priority type.
 
typedef struct
EnetPort_TrafficShapingRates_s 
EnetPort_TrafficShapingRates
 Traffic shaping parameters (committed and excess rates).
 
typedef struct
EnetPort_TrafficShapingCfg_s 
EnetPort_TrafficShapingCfg
 Traffic shaping configuration for all priorities.
 
typedef struct
EnetPort_PriorityMap_s 
EnetPort_PriorityMap
 Priority map. More...
 
typedef struct
EnetPort_DscpPriorityMap_s 
EnetPort_DscpPriorityMap
 DSCP priority map.
 
typedef struct EnetPort_MaxLen_s EnetPort_MaxLen
 Maximum packet lengths for TX and RX.
 

Enumerations

enum  EnetPort_EgressPriorityType_e { ENET_EGRESS_PRIORITY_TYPE_FIXED = 0U, ENET_EGRESS_PRIORITY_TYPE_ESCALATE }
 Egress priority type. More...
 

Detailed Description

This file contains the type definitions and helper macros that are common for host and MAC ports.

Typedef Documentation

Priority map.

It can be used for priority regeneration as well as for QoS egress priority remapping.

Enumeration Type Documentation

Egress priority type.

Enumerator
ENET_EGRESS_PRIORITY_TYPE_FIXED 

Fixed priority

ENET_EGRESS_PRIORITY_TYPE_ESCALATE 

Escalate priority


Copyright 2020, Texas Instruments Incorporated