![]() |
![]() |
Data Structures | |
struct | CpswHostPort_FifoStats_s |
FIFO related statistics of the host port. More... | |
struct | CpswHostPort_Config_s |
Host port submodule configuration. More... | |
Macros | |
#define | CPSW_HOSTPORT_PUBLIC_IOCTL(x) (CPSW_IOCTL_HOSTPORT_BASE | CPSW_IOCTL_MIN(x)) |
Helper macro to create IOCTL commands for host port submodule. | |
Typedefs | |
typedef enum CpswHostPort_RxPriorityType_e | CpswHostPort_RxPriorityType |
Port priority type. | |
typedef struct CpswHostPort_FifoStats_s | CpswHostPort_FifoStats |
FIFO related statistics of the host port. | |
typedef struct CpswHostPort_Config_s | CpswHostPort_Config |
Host port submodule configuration. | |
typedef struct CpswHostPort_Obj_s * | CpswHostPort_Handle |
Host port submodule handle. More... | |
typedef struct CpswHostPort_Obj_s* CpswHostPort_Handle |
Host port submodule handle.
Host port submodule opaque handle used to call any host port related APIs.
enum CpswHostPort_Ioctl_e |
Host port IOCTL commands.
Enumerator | |
---|---|
CPSW_HOSTPORT_IOCTL_ENABLE |
Enable host port. IOCTL parameters:
|
CPSW_HOSTPORT_IOCTL_DISABLE |
Disable host port. IOCTL parameters:
|
CPSW_HOSTPORT_IOCTL_GET_FIFO_STATS |
Get host port's FIFO statistics. IOCTL parameters:
|
CPSW_HOSTPORT_IOCTL_SET_TX_PRIORITY |
Set TX priority map (Header Packet Priority to Switch Priority) IOCTL parameters:
|
CPSW_HOSTPORT_IOCTL_GET_TX_PRIORITY |
Get TX priority map (Header Packet Priority to Switch Priority) IOCTL parameters:
|
CPSW_HOSTPORT_IOCTL_SET_RX_PRIORITY |
Set RX priority map (Packet Priority to Header Packet Priority) IOCTL parameters:
|
CPSW_HOSTPORT_IOCTL_GET_RX_PRIORITY |
Get RX priority map (Packet Priority to Header Packet Priority) IOCTL parameters:
|
CPSW_HOSTPORT_IOCTL_SET_RX_DSCP_PRIORITY |
Set RX DSCP priority (TOS) map. IOCTL parameters:
|
CPSW_HOSTPORT_IOCTL_GET_RX_DSCP_PRIORITY |
Get RX DSCP priority (TOS) map. IOCTL parameters:
|
CPSW_HOSTPORT_IOCTL_SET_TRAFFIC_SHAPING |
Set traffic shapping configuration. IOCTL parameters:
|
CPSW_HOSTPORT_IOCTL_GET_TRAFFIC_SHAPING |
Get traffic shapping configuration. IOCTL parameters:
|
CPSW_HOSTPORT_IOCTL_PRINT_REGS |
Print host port registers. IOCTL parameters:
|
CPSW_HOSTPORT_IOCTL_GET_RX_MTU |
Get host port Rx MTU. IOCTL parameters:
|
CPSW_HOSTPORT_GET_FLOW_ID_OFFSET |
Get host port Flow Id offset. IOCTL parameters:
|
CPSW_HOSTPORT_IS_CSUM_OFFLOAD_ENABLE |
Returns true if checksum offload is enabled else false. IOCTL parameters:
|