OpenNSL API Guide and Reference Manual
|
Go to the source code of this file.
Data Structures | |
struct | _shr_port_ability_s |
Macros | |
#define | _SHR_PA_ABILITY_ALL (0xffffffff) |
#define | _SHR_PA_ABILITY_NONE (0) |
#define | _SHR_PA_AUTONEG (1 << 0) /* Auto-negotiation */ |
#define | _SHR_PA_CHANNEL_LONG (1 << 0) /* Channel is long */ |
#define | _SHR_PA_CHANNEL_SHORT (1 << 1) /* Channel is short */ |
#define | _SHR_PA_COMBO |
#define | _SHR_PA_EEE_100MB_BASETX (1 << 0) /* EEE for 100M-BaseTX */ |
#define | _SHR_PA_EEE_10GB_BASET (1 << 2) /* EEE for 10G-BaseT */ |
#define | _SHR_PA_EEE_10GB_KR (1 << 5) /* EEE for 10G-KR */ |
#define | _SHR_PA_EEE_10GB_KX (1 << 3) /* EEE for 10G-KX */ |
#define | _SHR_PA_EEE_10GB_KX4 (1 << 4) /* EEE for 10G-KX4 */ |
#define | _SHR_PA_EEE_1GB_BASET (1 << 1) /* EEE for 1G-BaseT */ |
#define | _SHR_PA_FEC_CL74 (1 << 1) /* FEC CL74 ability request */ |
#define | _SHR_PA_FEC_CL91 (1 << 2) /* FEC Cl91 ability request */ |
#define | _SHR_PA_FEC_NONE (1 << 0) /* FEC is not requested */ |
#define | _SHR_PA_INTF_CGMII (1 << 7) /* CGMII mode supported */ |
#define | _SHR_PA_INTF_GMII (1 << 2) /* GMII mode supported */ |
#define | _SHR_PA_INTF_MII (1 << 1) /* MII mode supported */ |
#define | _SHR_PA_INTF_QSGMII (1 << 6) /* QSGMII mode supported */ |
#define | _SHR_PA_INTF_RGMII (1 << 3) /* RGMII mode supported */ |
#define | _SHR_PA_INTF_SGMII (1 << 4) /* SGMII mode supported */ |
#define | _SHR_PA_INTF_TBI (1 << 0) /* TBI mode supported */ |
#define | _SHR_PA_INTF_XGMII (1 << 5) /* XGMII mode supported */ |
#define | _SHR_PA_LB_LINE (1 << 3) /* PHY lineside loopback */ |
#define | _SHR_PA_LB_MAC (1 << 1) /* MAC loopback supported */ |
#define | _SHR_PA_LB_NONE (1 << 0) /* Useful for automated test */ |
#define | _SHR_PA_LB_PHY (1 << 2) /* PHY loopback supported */ |
#define | _SHR_PA_MEDIUM_BACKPLANE (1 << 2) |
#define | _SHR_PA_MEDIUM_COPPER (1 << 0) |
#define | _SHR_PA_MEDIUM_FIBER (1 << 1) |
#define | _SHR_PA_PAUSE (_SHR_PA_PAUSE_TX | _SHR_PA_PAUSE_RX) |
#define | _SHR_PA_PAUSE_ASYMM (1 << 2) /* Asymm pause capable (R/O) */ |
#define | _SHR_PA_PAUSE_RX (1 << 1) /* RX pause capable */ |
#define | _SHR_PA_PAUSE_TX (1 << 0) /* TX pause capable */ |
#define | _SHR_PA_SPEED(s) |
#define | _SHR_PA_SPEED_1000MB (1 << 6) |
#define | _SHR_PA_SPEED_100GB (1 << 26) |
#define | _SHR_PA_SPEED_100MB (1 << 5) |
#define | _SHR_PA_SPEED_106GB (1 << 29) |
#define | _SHR_PA_SPEED_10GB (1 << 11) |
#define | _SHR_PA_SPEED_10MB (1 << 0) |
#define | _SHR_PA_SPEED_11GB (1 << 12) |
#define | _SHR_PA_SPEED_120GB (1 << 27) |
#define | _SHR_PA_SPEED_127GB (1 << 28) |
#define | _SHR_PA_SPEED_12GB (1 << 13) |
#define | _SHR_PA_SPEED_12P5GB (1 << 14) |
#define | _SHR_PA_SPEED_13GB (1 << 15) |
#define | _SHR_PA_SPEED_15GB (1 << 16) |
#define | _SHR_PA_SPEED_16GB (1 << 17) |
#define | _SHR_PA_SPEED_20GB (1 << 18) |
#define | _SHR_PA_SPEED_21GB (1 << 19) |
#define | _SHR_PA_SPEED_23GB (1 << 20) |
#define | _SHR_PA_SPEED_24GB (1 << 21) |
#define | _SHR_PA_SPEED_2500MB (1 << 7) |
#define | _SHR_PA_SPEED_25GB (1 << 22) |
#define | _SHR_PA_SPEED_27GB (1 << 2) |
#define | _SHR_PA_SPEED_3000MB (1 << 8) |
#define | _SHR_PA_SPEED_30GB (1 << 23) |
#define | _SHR_PA_SPEED_32GB (1 << 31) |
#define | _SHR_PA_SPEED_40GB (1 << 24) |
#define | _SHR_PA_SPEED_42GB (1 << 25) |
#define | _SHR_PA_SPEED_48GB (1 << 30) |
#define | _SHR_PA_SPEED_5000MB (1 << 9) |
#define | _SHR_PA_SPEED_50GB (1 << 3) |
#define | _SHR_PA_SPEED_53GB (1 << 4) |
#define | _SHR_PA_SPEED_6000MB (1 << 10) |
#define | _SHR_PA_SPEED_ALL |
#define | _SHR_PA_SPEED_EXTENDED (1 << 1) |
#define | _SHR_PA_SPEED_MAX(m) |
Typedefs | |
typedef unsigned int | _shr_pa_encap_t |
typedef struct _shr_port_ability_s | _shr_port_ability_t |
#define _SHR_PA_ABILITY_ALL (0xffffffff) |
Definition at line 46 of file port_ability.h.
#define _SHR_PA_ABILITY_NONE (0) |
Definition at line 47 of file port_ability.h.
#define _SHR_PA_AUTONEG (1 << 0) /* Auto-negotiation */ |
Definition at line 161 of file port_ability.h.
#define _SHR_PA_CHANNEL_LONG (1 << 0) /* Channel is long */ |
Definition at line 131 of file port_ability.h.
#define _SHR_PA_CHANNEL_SHORT (1 << 1) /* Channel is short */ |
Definition at line 132 of file port_ability.h.
#define _SHR_PA_COMBO |
Definition at line 162 of file port_ability.h.
#define _SHR_PA_EEE_100MB_BASETX (1 << 0) /* EEE for 100M-BaseTX */ |
Definition at line 267 of file port_ability.h.
#define _SHR_PA_EEE_10GB_BASET (1 << 2) /* EEE for 10G-BaseT */ |
Definition at line 269 of file port_ability.h.
#define _SHR_PA_EEE_10GB_KR (1 << 5) /* EEE for 10G-KR */ |
Definition at line 272 of file port_ability.h.
#define _SHR_PA_EEE_10GB_KX (1 << 3) /* EEE for 10G-KX */ |
Definition at line 270 of file port_ability.h.
#define _SHR_PA_EEE_10GB_KX4 (1 << 4) /* EEE for 10G-KX4 */ |
Definition at line 271 of file port_ability.h.
#define _SHR_PA_EEE_1GB_BASET (1 << 1) /* EEE for 1G-BaseT */ |
Definition at line 268 of file port_ability.h.
#define _SHR_PA_FEC_CL74 (1 << 1) /* FEC CL74 ability request */ |
Definition at line 106 of file port_ability.h.
#define _SHR_PA_FEC_CL91 (1 << 2) /* FEC Cl91 ability request */ |
Definition at line 107 of file port_ability.h.
#define _SHR_PA_FEC_NONE (1 << 0) /* FEC is not requested */ |
Definition at line 105 of file port_ability.h.
#define _SHR_PA_INTF_CGMII (1 << 7) /* CGMII mode supported */ |
Definition at line 122 of file port_ability.h.
#define _SHR_PA_INTF_GMII (1 << 2) /* GMII mode supported */ |
Definition at line 117 of file port_ability.h.
#define _SHR_PA_INTF_MII (1 << 1) /* MII mode supported */ |
Definition at line 116 of file port_ability.h.
#define _SHR_PA_INTF_QSGMII (1 << 6) /* QSGMII mode supported */ |
Definition at line 121 of file port_ability.h.
#define _SHR_PA_INTF_RGMII (1 << 3) /* RGMII mode supported */ |
Definition at line 118 of file port_ability.h.
#define _SHR_PA_INTF_SGMII (1 << 4) /* SGMII mode supported */ |
Definition at line 119 of file port_ability.h.
#define _SHR_PA_INTF_TBI (1 << 0) /* TBI mode supported */ |
Definition at line 115 of file port_ability.h.
#define _SHR_PA_INTF_XGMII (1 << 5) /* XGMII mode supported */ |
Definition at line 120 of file port_ability.h.
#define _SHR_PA_LB_LINE (1 << 3) /* PHY lineside loopback */ |
Definition at line 153 of file port_ability.h.
#define _SHR_PA_LB_MAC (1 << 1) /* MAC loopback supported */ |
Definition at line 151 of file port_ability.h.
#define _SHR_PA_LB_NONE (1 << 0) /* Useful for automated test */ |
Definition at line 150 of file port_ability.h.
#define _SHR_PA_LB_PHY (1 << 2) /* PHY loopback supported */ |
Definition at line 152 of file port_ability.h.
#define _SHR_PA_MEDIUM_BACKPLANE (1 << 2) |
Definition at line 142 of file port_ability.h.
#define _SHR_PA_MEDIUM_COPPER (1 << 0) |
Definition at line 140 of file port_ability.h.
#define _SHR_PA_MEDIUM_FIBER (1 << 1) |
Definition at line 141 of file port_ability.h.
#define _SHR_PA_PAUSE (_SHR_PA_PAUSE_TX | _SHR_PA_PAUSE_RX) |
Definition at line 163 of file port_ability.h.
#define _SHR_PA_PAUSE_ASYMM (1 << 2) /* Asymm pause capable (R/O) */ |
Definition at line 96 of file port_ability.h.
#define _SHR_PA_PAUSE_RX (1 << 1) /* RX pause capable */ |
Definition at line 95 of file port_ability.h.
#define _SHR_PA_PAUSE_TX (1 << 0) /* TX pause capable */ |
Definition at line 94 of file port_ability.h.
#define _SHR_PA_SPEED | ( | s | ) |
Definition at line 229 of file port_ability.h.
#define _SHR_PA_SPEED_1000MB (1 << 6) |
Definition at line 61 of file port_ability.h.
#define _SHR_PA_SPEED_100GB (1 << 26) |
Definition at line 81 of file port_ability.h.
#define _SHR_PA_SPEED_100MB (1 << 5) |
Definition at line 60 of file port_ability.h.
#define _SHR_PA_SPEED_106GB (1 << 29) |
Definition at line 84 of file port_ability.h.
#define _SHR_PA_SPEED_10GB (1 << 11) |
Definition at line 66 of file port_ability.h.
#define _SHR_PA_SPEED_10MB (1 << 0) |
Definition at line 55 of file port_ability.h.
#define _SHR_PA_SPEED_11GB (1 << 12) |
Definition at line 67 of file port_ability.h.
#define _SHR_PA_SPEED_120GB (1 << 27) |
Definition at line 82 of file port_ability.h.
#define _SHR_PA_SPEED_127GB (1 << 28) |
Definition at line 83 of file port_ability.h.
#define _SHR_PA_SPEED_12GB (1 << 13) |
Definition at line 68 of file port_ability.h.
#define _SHR_PA_SPEED_12P5GB (1 << 14) |
Definition at line 69 of file port_ability.h.
#define _SHR_PA_SPEED_13GB (1 << 15) |
Definition at line 70 of file port_ability.h.
#define _SHR_PA_SPEED_15GB (1 << 16) |
Definition at line 71 of file port_ability.h.
#define _SHR_PA_SPEED_16GB (1 << 17) |
Definition at line 72 of file port_ability.h.
#define _SHR_PA_SPEED_20GB (1 << 18) |
Definition at line 73 of file port_ability.h.
#define _SHR_PA_SPEED_21GB (1 << 19) |
Definition at line 74 of file port_ability.h.
#define _SHR_PA_SPEED_23GB (1 << 20) |
Definition at line 75 of file port_ability.h.
#define _SHR_PA_SPEED_24GB (1 << 21) |
Definition at line 76 of file port_ability.h.
#define _SHR_PA_SPEED_2500MB (1 << 7) |
Definition at line 62 of file port_ability.h.
#define _SHR_PA_SPEED_25GB (1 << 22) |
Definition at line 77 of file port_ability.h.
#define _SHR_PA_SPEED_27GB (1 << 2) |
Definition at line 57 of file port_ability.h.
#define _SHR_PA_SPEED_3000MB (1 << 8) |
Definition at line 63 of file port_ability.h.
#define _SHR_PA_SPEED_30GB (1 << 23) |
Definition at line 78 of file port_ability.h.
#define _SHR_PA_SPEED_32GB (1 << 31) |
Definition at line 86 of file port_ability.h.
#define _SHR_PA_SPEED_40GB (1 << 24) |
Definition at line 79 of file port_ability.h.
#define _SHR_PA_SPEED_42GB (1 << 25) |
Definition at line 80 of file port_ability.h.
#define _SHR_PA_SPEED_48GB (1 << 30) |
Definition at line 85 of file port_ability.h.
#define _SHR_PA_SPEED_5000MB (1 << 9) |
Definition at line 64 of file port_ability.h.
#define _SHR_PA_SPEED_50GB (1 << 3) |
Definition at line 58 of file port_ability.h.
#define _SHR_PA_SPEED_53GB (1 << 4) |
Definition at line 59 of file port_ability.h.
#define _SHR_PA_SPEED_6000MB (1 << 10) |
Definition at line 65 of file port_ability.h.
#define _SHR_PA_SPEED_ALL |
Definition at line 165 of file port_ability.h.
#define _SHR_PA_SPEED_EXTENDED (1 << 1) |
Definition at line 56 of file port_ability.h.
#define _SHR_PA_SPEED_MAX | ( | m | ) |
Definition at line 197 of file port_ability.h.
typedef unsigned int _shr_pa_encap_t |
Definition at line 28 of file port_ability.h.
typedef struct _shr_port_ability_s _shr_port_ability_t |