![]() |
PDK Documentation
|
Data Structures | |
struct | CpswMacPort_Interface |
MAC port interface. More... | |
struct | CpswMacPort_Config |
MAC port configuration. More... | |
struct | CpswMacPort_GenericInArgs |
Generic input args. More... | |
struct | CpswMacPort_PortStatus |
Port status. More... | |
struct | CpswMacPort_FifoStats |
FIFO related statistics of a MAC port. More... | |
struct | CpswMacPort_LinkConfig |
Link speed and duplexity configuration. More... | |
struct | CpswMacPort_SetTxPriorityInArgs |
Input args for CPSW_MACPORT_IOCTL_SET_TX_PRIORITY command. More... | |
struct | CpswMacPort_SetRxPriorityInArgs |
Input args for CPSW_MACPORT_IOCTL_SET_RX_PRIORITY command. More... | |
struct | CpswMacPort_SetRxDscpPriorityInArgs |
Input args for CPSW_MACPORT_IOCTL_SET_RX_DSCP_PRIORITY command. More... | |
struct | CpswMacPort_SetTrafficShapingInArgs |
Input args for CPSW_MACPORT_IOCTL_SET_TRAFFIC_SHAPING command. More... | |
struct | CpswMacPort_SetTxBlocksRemInArgs |
Input args for CPSW_MACPORT_IOCTL_SET_TX_BLOCKS_REM command. More... | |
struct | CpswMacPort_InterVlanRoutingParams |
Holds the Port intervlan configuration info. More... | |
struct | CpswMacPort_TxShortGapConfig |
Configuration of transmit short inter packet gap feature. More... | |
struct | CpswMacPort_PortTxShortGapConfig |
Set transmit short inter packet gap feature input Args. More... | |
struct | CpswPort_VlanConfig |
VLAN configuration parameters. More... | |
struct | CpswPort_TrafficShapingRates |
Traffic shaping parameters (committed and excess rates) More... | |
struct | CpswPort_TrafficShapingConfig |
Traffic shaping configuration for all priorities. More... | |
struct | CpswPort_TxPriority |
TX priority (header packet priority to switch priority) More... | |
struct | CpswPort_RxPriority |
RX priority (packet priority to header packet priority) More... | |
struct | CpswPort_DscpPriority |
DSCP priority. More... | |
Typedefs | |
typedef struct CpswMacPort_Obj_s * | CpswMacPort_Handle |
MAC port submodule handle. More... | |
Macros | |
#define | CPSW_MACPORT_PUBLIC_IOCTL(x) |
#define | CPSW_PACKET_PRIORITY_NUM (8U) |
CPSW packet priority. More... | |
#define CPSW_MACPORT_PUBLIC_IOCTL | ( | x | ) |
#define CPSW_PACKET_PRIORITY_NUM (8U) |
CPSW packet priority.
typedef struct CpswMacPort_Obj_s* CpswMacPort_Handle |
MAC port submodule handle.
MAC port submodule opaque handle used to call any port related APIs on that given MAC port.
enum CpswMacPort_Ioctls_e |
MAC port IOCTL commands.
Enumerator | |
---|---|
CPSW_MACPORT_IOCTL_GET_STATUS | Get MAC port status. IOCTL parameters: inArgs: CpswMacPort_GenericInArgs outArgs: CpswMacPort_PortStatus |
CPSW_MACPORT_IOCTL_GET_FIFO_STATS | Get MAC port FIFO statistics. IOCTL parameters: inArgs: CpswMacPort_GenericInArgs outArgs: CpswMacPort_FifoStats |
CPSW_MACPORT_IOCTL_GET_LINK_CONFIG | Get MAC link configuration (speed, duplexity) IOCTL parameters: inArgs: CpswMacPort_GenericInArgs outArgs: CpswMacPort_LinkConfig |
CPSW_MACPORT_IOCTL_IS_INBAND | Check if MAC port is in in-band mode. IOCTL parameters: inArgs: CpswMacPort_GenericInArgs outArgs: bool |
CPSW_MACPORT_IOCTL_SET_TX_PRIORITY | Set TX priority map (Header Packet Priority to Switch Priority) IOCTL parameters: inArgs: CpswMacPort_SetTxPriorityInArgs outArgs: None |
CPSW_MACPORT_IOCTL_GET_TX_PRIORITY | Get TX priority map (Header Packet Priority to Switch Priority) IOCTL parameters: inArgs: CpswMacPort_GenericInArgs outArgs: CpswPort_TxPriority |
CPSW_MACPORT_IOCTL_SET_RX_PRIORITY | Set Rx priority map (Packet Priority to Header Packet Priority) IOCTL parameters: inArgs: CpswMacPort_SetRxPriorityInArgs outArgs: None |
CPSW_MACPORT_IOCTL_GET_RX_PRIORITY | Get Rx priority map (Packet Priority to Header Packet Priority) IOCTL parameters: inArgs: CpswMacPort_GenericInArgs outArgs: CpswPort_RxPriority |
CPSW_MACPORT_IOCTL_SET_RX_DSCP_PRIORITY | Set RX DSCP priority (TOS) map. IOCTL parameters: inArgs: CpswMacPort_SetRxDscpPriorityInArgs outArgs: None |
CPSW_MACPORT_IOCTL_GET_RX_DSCP_PRIORITY | Get RX DSCP priority (TOS) map. IOCTL parameters: inArgs: CpswMacPort_GenericInArgs outArgs: CpswPort_DscpPriority |
CPSW_MACPORT_IOCTL_SET_TRAFFIC_SHAPING | Set traffic shaping configuration. IOCTL parameters: inArgs: CpswMacPort_SetTrafficShapingInArgs outArgs: None |
CPSW_MACPORT_IOCTL_GET_TRAFFIC_SHAPING | Set traffic shaping configuration. IOCTL parameters: inArgs: CpswMacPort_GenericInArgs outArgs: CpswPort_TrafficShapingConfig |
CPSW_MACPORT_IOCTL_SET_TX_BLOCKS_REM | Set the number of unused blocks remaining in TX FIFOs for rate limiting. Sets the number of blocks in each of the MAC port TX FIFOs that must be unused for bulk traffic to be enabled. This IOCTL should be used along with CPSW_HOSTPORT_IOCTL_SET_TRAFFIC_SHAPING for host port receive rate limiting. IOCTL parameters: inArgs: CpswMacPort_SetTxBlocksRemInArgs outArgs: None |
CPSW_MACPORT_IOCTL_GET_TX_BLOCKS_REM | Get the number of unused blocks remaining in TX FIFOs for rate limiting. Gets the number of blocks in each of the MAC port TX FIFOs that must be unused for bulk traffic to be enabled. IOCTL parameters: inArgs: CpswMacPort_GenericInArgs outArgs: uint32_t |
CPSW_MACPORT_IOCTL_PRINT_REGS | Print MAC port registers. IOCTL parameters: inArgs: CpswMacPort_GenericInArgs outArgs: None |
CPSW_MACPORT_IOCTL_GET_RX_MTU | Get Rx MTU. IOCTL parameters: inArgs: CpswMacPort_GenericInArgs outArgs: uint32_t |
enum CpswMac_LayerType |
enum CpswMac_SublayerType |
enum CpswMac_VariantType |
Header Packet Priority.