AM263Px MCU+ SDK  10.01.00

Introduction

Sub Modules

 CPSW host port
 

Enumerations

enum  EnetHostPort_Ioctl {
  ENET_HOSTPORT_IOCTL_GET_VERSION = ENET_HOSTPORT_PUBLIC_IOCTL(0U), ENET_HOSTPORT_IOCTL_PRINT_REGS = ENET_HOSTPORT_PUBLIC_IOCTL(1U), ENET_HOSTPORT_IOCTL_ENABLE = ENET_HOSTPORT_PUBLIC_IOCTL(2U), ENET_HOSTPORT_IOCTL_DISABLE = ENET_HOSTPORT_PUBLIC_IOCTL(3U),
  ENET_HOSTPORT_IOCTL_SET_INGRESS_DSCP_PRI_MAP = ENET_HOSTPORT_PUBLIC_IOCTL(4U), ENET_HOSTPORT_IOCTL_GET_INGRESS_DSCP_PRI_MAP = ENET_HOSTPORT_PUBLIC_IOCTL(5U), ENET_HOSTPORT_IOCTL_SET_PRI_REGEN_MAP = ENET_HOSTPORT_PUBLIC_IOCTL(6U), ENET_HOSTPORT_IOCTL_GET_PRI_REGEN_MAP = ENET_HOSTPORT_PUBLIC_IOCTL(7U),
  ENET_HOSTPORT_IOCTL_SET_EGRESS_QOS_PRI_MAP = ENET_HOSTPORT_PUBLIC_IOCTL(8U), ENET_HOSTPORT_IOCTL_GET_EGRESS_QOS_PRI_MAP = ENET_HOSTPORT_PUBLIC_IOCTL(9U), ENET_HOSTPORT_IOCTL_ENABLE_INGRESS_TRAFFIC_SHAPING = ENET_HOSTPORT_PUBLIC_IOCTL(10U), ENET_HOSTPORT_IOCTL_DISABLE_INGRESS_TRAFFIC_SHAPING = ENET_HOSTPORT_PUBLIC_IOCTL(11U),
  ENET_HOSTPORT_IOCTL_GET_INGRESS_TRAFFIC_SHAPING = ENET_HOSTPORT_PUBLIC_IOCTL(12U), ENET_HOSTPORT_IOCTL_GET_MAXLEN = ENET_HOSTPORT_PUBLIC_IOCTL(13U), ENET_HOSTPORT_IS_CSUM_OFFLOAD_ENABLED = ENET_HOSTPORT_PUBLIC_IOCTL(14U), ENET_HOSTPORT_IOCTL_SET_CREDIT_BASED_SHAPING = ENET_HOSTPORT_PUBLIC_IOCTL(15U),
  ENET_HOSTPORT_IOCTL_GET_CREDIT_BASED_SHAPING = ENET_HOSTPORT_PUBLIC_IOCTL(16U)
}
 Host port IOCTL commands. More...
 
enum  EnetHostPort_IngressPriorityType { ENET_INGRESS_PRI_TYPE_FIXED = 0U, ENET_INGRESS_PRI_TYPE_RR }
 Port priority type. More...
 

Macros

#define ENET_HOSTPORT_PUBLIC_IOCTL(x)
 Helper macro to create IOCTL commands for host port module. More...
 

Macro Definition Documentation

◆ ENET_HOSTPORT_PUBLIC_IOCTL

#define ENET_HOSTPORT_PUBLIC_IOCTL (   x)
Value:
ENET_IOCTL_HOSTPORT_BASE | \
ENET_IOCTL_MIN(x))

Helper macro to create IOCTL commands for host port module.

Enumeration Type Documentation

◆ EnetHostPort_Ioctl

Host port IOCTL commands.

Enumerator
ENET_HOSTPORT_IOCTL_GET_VERSION 

Get the hardware version of the host port module.

IOCTL parameters:

ENET_HOSTPORT_IOCTL_PRINT_REGS 

Print host port registers.

IOCTL parameters:

  • inArgs: None
  • outArgs: None
ENET_HOSTPORT_IOCTL_ENABLE 

Enable host port.

IOCTL parameters:

  • inArgs: None
  • outArgs: None
ENET_HOSTPORT_IOCTL_DISABLE 

Disable host port.

IOCTL parameters:

  • inArgs: None
  • outArgs: None
ENET_HOSTPORT_IOCTL_SET_INGRESS_DSCP_PRI_MAP 

Set ingress DSCP priority (TOS) map.

IOCTL parameters:

ENET_HOSTPORT_IOCTL_GET_INGRESS_DSCP_PRI_MAP 

Get ingress DSCP priority (TOS) map.

IOCTL parameters:

ENET_HOSTPORT_IOCTL_SET_PRI_REGEN_MAP 

Set VLAN priority regeneration map.

IOCTL parameters:

ENET_HOSTPORT_IOCTL_GET_PRI_REGEN_MAP 

Get VLAN priority regeneration map.

IOCTL parameters:

ENET_HOSTPORT_IOCTL_SET_EGRESS_QOS_PRI_MAP 

Set QoS egress priority map.

IOCTL parameters:

ENET_HOSTPORT_IOCTL_GET_EGRESS_QOS_PRI_MAP 

Get QoS egress priority map.

IOCTL parameters:

ENET_HOSTPORT_IOCTL_ENABLE_INGRESS_TRAFFIC_SHAPING 

Enable ingress traffic shaping configuration.

IOCTL parameters:

ENET_HOSTPORT_IOCTL_DISABLE_INGRESS_TRAFFIC_SHAPING 

Disable ingress traffic shaping configuration.

IOCTL parameters:

  • inArgs: None
  • outArgs: None
ENET_HOSTPORT_IOCTL_GET_INGRESS_TRAFFIC_SHAPING 

Get ingress traffic shaping configuration.

IOCTL parameters:

ENET_HOSTPORT_IOCTL_GET_MAXLEN 

Get MRU and MTU.

IOCTL parameters:

ENET_HOSTPORT_IS_CSUM_OFFLOAD_ENABLED 

Check if checksum offload is enabled.

IOCTL parameters:

  • inArgs: None
  • outArgs: bool
ENET_HOSTPORT_IOCTL_SET_CREDIT_BASED_SHAPING 

Set Idleslope for Credit Based Shaper on Host Port.

IOCTL parameters:

ENET_HOSTPORT_IOCTL_GET_CREDIT_BASED_SHAPING 

Get Idleslope of Credit Based Shaper on Host Port queue.

IOCTL parameters:

  • inArgs: uint32_t
  • outArgs: uint64_t

◆ EnetHostPort_IngressPriorityType

Port priority type.

Enumerator
ENET_INGRESS_PRI_TYPE_FIXED 

Fixed priority

ENET_INGRESS_PRI_TYPE_RR 

Round-robin priority

ENET_IOCTL_TYPE_PUBLIC
@ ENET_IOCTL_TYPE_PUBLIC
Definition: enet_ioctl.h:216