![]() |
![]() |
This file contains the structure definitions common to the host and MAC ports. More...
#include "cpsw_types.h"
Data Structures | |
struct | CpswPort_VlanConfig_s |
VLAN configuration parameters. More... | |
struct | CpswPort_TrafficShapingRates_s |
Traffic shaping parameters (committed and excess rates) More... | |
struct | CpswPort_TrafficShapingConfig_s |
Traffic shaping configuration for all priorities. More... | |
struct | CpswPort_TxPriority_s |
TX priority (header packet priority to switch priority) More... | |
struct | CpswPort_RxPriority_s |
RX priority (packet priority to header packet priority) More... | |
struct | CpswPort_DscpPriority_s |
DSCP priority. More... | |
Macros | |
#define | CPSW_PACKET_PRIORITY_NUM (8U) |
CPSW packet priority. | |
Typedefs | |
typedef enum CpswPort_HeaderPacketPriority_e | CpswPort_HeaderPacketPriority |
Header Packet Priority. | |
typedef enum CpswPort_SwitchPriority_e | CpswPort_SwitchPriority |
Switch Priority. | |
typedef struct CpswPort_VlanConfig_s | CpswPort_VlanConfig |
VLAN configuration parameters. | |
typedef enum CpswPort_TxPriorityType_e | CpswPort_TxPriorityType |
Port priority type. | |
typedef struct CpswPort_TrafficShapingRates_s | CpswPort_TrafficShapingRates |
Traffic shaping parameters (committed and excess rates) | |
typedef struct CpswPort_TrafficShapingConfig_s | CpswPort_TrafficShapingConfig |
Traffic shaping configuration for all priorities. | |
typedef struct CpswPort_TxPriority_s | CpswPort_TxPriority |
TX priority (header packet priority to switch priority) | |
typedef struct CpswPort_RxPriority_s | CpswPort_RxPriority |
RX priority (packet priority to header packet priority) | |
typedef struct CpswPort_DscpPriority_s | CpswPort_DscpPriority |
DSCP priority. | |
Enumerations | |
enum | CpswPort_HeaderPacketPriority_e { CPSW_HEADER_PACKET_PRIORITY_0 = 0U, CPSW_HEADER_PACKET_PRIORITY_1 = 1U, CPSW_HEADER_PACKET_PRIORITY_2 = 2U, CPSW_HEADER_PACKET_PRIORITY_3 = 3U, CPSW_HEADER_PACKET_PRIORITY_4 = 4U, CPSW_HEADER_PACKET_PRIORITY_5 = 5U, CPSW_HEADER_PACKET_PRIORITY_6 = 6U, CPSW_HEADER_PACKET_PRIORITY_7 = 7U, CPSW_HEADER_PACKET_PRIORITY_NUM = 8U } |
Header Packet Priority. More... | |
enum | CpswPort_SwitchPriority_e { CPSW_SWITCH_PRIORITY_0 = 0U, CPSW_SWITCH_PRIORITY_1 = 1U, CPSW_SWITCH_PRIORITY_2 = 2U, CPSW_SWITCH_PRIORITY_3 = 3U, CPSW_SWITCH_PRIORITY_4 = 4U, CPSW_SWITCH_PRIORITY_5 = 5U, CPSW_SWITCH_PRIORITY_6 = 6U, CPSW_SWITCH_PRIORITY_7 = 7U, CPSW_SWITCH_PRIORITY_NUM = 8U } |
Switch Priority. | |
enum | CpswPort_TxPriorityType_e { CPSW_TX_PRIORITY_TYPE_FIXED = 0U, CPSW_TX_PRIORITY_TYPE_ESCALATE = 1U } |
Port priority type. More... | |
This file contains the structure definitions common to the host and MAC ports.