Sub Modules | |
CPSW MAC Port | |
Functions | |
static bool | EnetMacPort_isMii (const EnetMacPort_Interface *mii) |
Check if interface is MII. More... | |
static bool | EnetMacPort_isRmii (const EnetMacPort_Interface *mii) |
Check if interface is RMII. More... | |
static bool | EnetMacPort_isGmii (const EnetMacPort_Interface *mii) |
Check if interface is GMII. More... | |
static bool | EnetMacPort_isRgmii (const EnetMacPort_Interface *mii) |
Check if interface is RGMII. More... | |
static bool | EnetMacPort_isSgmii (const EnetMacPort_Interface *mii) |
Check if interface is SGMII. More... | |
static bool | EnetMacPort_isQsgmii (const EnetMacPort_Interface *mii) |
Check if interface is QSGMII. More... | |
static bool | EnetMacPort_isXfi (const EnetMacPort_Interface *mii) |
Check if interface is XFI. More... | |
Macros | |
#define | ENET_MACPORT_PUBLIC_IOCTL(x) |
Helper macro to create IOCTL commands for MAC port module. More... | |
#define | ENET_MACPORT_PRIVATE_IOCTL(x) |
Helper macro to create private IOCTL commands for MAC Port module. More... | |
#define ENET_MACPORT_PUBLIC_IOCTL | ( | x | ) |
Helper macro to create IOCTL commands for MAC port module.
#define ENET_MACPORT_PRIVATE_IOCTL | ( | x | ) |
Helper macro to create private IOCTL commands for MAC Port module.
enum EnetMacPort_Ioctl |
MAC port IOCTL commands.
Enumerator | |
---|---|
ENET_MACPORT_IOCTL_GET_VERSION | Get the hardware version of the MAC port module. IOCTL parameters:
|
ENET_MACPORT_IOCTL_PRINT_REGS | Print MAC port registers. IOCTL parameters:
|
ENET_MACPORT_IOCTL_SET_INGRESS_DSCP_PRI_MAP | Set ingress DSCP priority (TOS) map. NOTE:
IOCTL parameters:
|
ENET_MACPORT_IOCTL_GET_INGRESS_DSCP_PRI_MAP | Get ingress DSCP priority (TOS) map. IOCTL parameters:
|
ENET_MACPORT_IOCTL_SET_PRI_REGEN_MAP | Set VLAN priority regeneration map. IOCTL parameters:
|
ENET_MACPORT_IOCTL_GET_PRI_REGEN_MAP | Get VLAN priority regeneration map. IOCTL parameters:
|
ENET_MACPORT_IOCTL_SET_EGRESS_QOS_PRI_MAP | Set QoS egress priority map. IOCTL parameters:
|
ENET_MACPORT_IOCTL_GET_EGRESS_QOS_PRI_MAP | Get QoS egress priority map. IOCTL parameters:
|
ENET_MACPORT_IOCTL_ENABLE_EGRESS_TRAFFIC_SHAPING | Enable egress traffic shaping configuration. IOCTL parameters:
|
ENET_MACPORT_IOCTL_DISABLE_EGRESS_TRAFFIC_SHAPING | Disable egress traffic shaping configuration. IOCTL parameters:
|
ENET_MACPORT_IOCTL_GET_EGRESS_TRAFFIC_SHAPING | Get egress traffic shaping configuration. IOCTL parameters:
|
ENET_MACPORT_IOCTL_GET_MAXLEN | Get MRU and MTU. IOCTL parameters:
|
ENET_MACPORT_IOCTL_GET_LINK_CFG | Get MAC port's speed and duplexity. IOCTL parameters:
|
ENET_MACPORT_IOCTL_SET_CREDIT_BASED_SHAPING | Set Idleslope for Credit Based Shaper on MAC Port. IOCTL parameters:
|
ENET_MACPORT_IOCTL_GET_CREDIT_BASED_SHAPING | Get Idleslope of Credit Based Shaper on MAC Port queue. IOCTL parameters:
|
ENET_MACPORT_IOCTL_IET_RELEASE_PREEMPT_TRAFFIC | IET release preemptible traffic. IOCTL parameters:
|
ENET_MACPORT_IOCTL_IET_HOLD_PREEMPT_TRAFFIC | IET hold preemptible traffic. IOCTL parameters:
|
ENET_MACPORT_IOCTL_GET_QUEUE_PREEMPT_STATUS | Get macport queue preemption status. IOCTL parameters:
|
ENET_MACPORT_IOCTL_SET_PREEMPT_QUEUE | Set macport queue preemption mode. IOCTL parameters:
|
ENET_MACPORT_IOCTL_GET_PREEMPT_MIN_FRAG_SIZE | Get minimum fragment size. IOCTL parameters:
|
ENET_MACPORT_IOCTL_SET_PREEMPT_MIN_FRAG_SIZE | Set minimum fragment size. IOCTL parameters:
|
ENET_MACPORT_IOCTL_GET_PREEMPT_VERIFY_STATUS | Get IET verification status. IOCTL parameters:
|
ENET_MACPORT_IOCTL_DISABLE_PREEMPT_VERIFICATION | Disable IET verification. IOCTL parameters:
|
ENET_MACPORT_IOCTL_ENABLE_PREEMPT_VERIFICATION | Enable IET verification. IOCTL parameters:
|
ENET_MACPORT_IOCTL_GET_PREEMPTION_ACTIVE_STATUS | Get preemption active status. IOCTL parameters:
|
ENET_MACPORT_IOCTL_GET_PREEMPTION_ENABLE_STATUS | Get preemption enable status. IOCTL parameters:
|
ENET_MACPORT_IOCTL_DISABLE_PREEMPTION | Disable frame preemption. IOCTL parameters:
|
ENET_MACPORT_IOCTL_ENABLE_PREEMPTION | Enable IET frame preemption. IOCTL parameters:
|
enum EnetMac_LayerType |
enum EnetMac_SublayerType |
MAC interface sublayer type.
enum EnetMac_VariantType |
enum EnetMac_SgmiiMode |
SGMII mode.
enum EnetMacPort_VlanType |
MacPort IET Verification status.
|
inlinestatic |
Check if interface is MII.
mii | MAC port interface |
|
inlinestatic |
Check if interface is RMII.
mii | MAC port interface |
|
inlinestatic |
Check if interface is GMII.
mii | MAC port interface |
|
inlinestatic |
Check if interface is RGMII.
mii | MAC port interface |
|
inlinestatic |
Check if interface is SGMII.
mii | MAC port interface |
|
inlinestatic |
Check if interface is QSGMII.
mii | MAC port interface |
|
inlinestatic |
Check if interface is XFI.
mii | MAC port interface |