P_CAPABILITIES_EXT

code: 423

# get
<module-index>/<port-index> P_CAPABILITIES_EXT ?

Description

Returns a JSON string specifying various internal limits of a port.

Actions

get

Parameters

json: string, JSON string specifying various internal limits of a port.

The JSON output example (keys are sorted):

{
    "properties": {
        "can_adv_phy_man": true,
        "can_auto_neg_base_r": false,
        "can_autoneg": false,
        "can_dynamic_traffic": false,
        "can_eee": false,
        "can_hw_reg_access": true,
        "can_link_flap": true,
        "can_link_train": false,
        "can_manipulate_preamble": false,
        "can_mdi_mdix": false,
        "can_micro_tpld": true,
        "can_pcs_pma": true,
        "can_pfc": true,
        "can_rx_retune": false,
        "can_sync_traffic_start": true,
        "can_tcp_checksum": true,
        "can_tcvr_mii_reg_access": false,
        "can_udp_checksum": true,
        "eyescan": {
            "can_sampled_eyescan": false,
            "can_statistical_eyescan": false
        },
        "fec": {
            "max_correctable_symbols": 15,
            "schemes_supported_bitmask": [
                {
                    "bxmp_enum": 5,
                    "name": "RS_FEC_KP"
                },
                {
                    "bxmp_enum": 6,
                    "name": "RS_FEC_INT"
                },
                {
                    "name": "MANDATORY"
                }
            ],
            "stats_supported_bitmask": [
                {
                    "name": "SYMBOL_ERROR_DISTRIBUTION"
                }
            ]
        },
        "filter": {
            "max_filters": 6,
            "max_length_terms": 6,
            "max_match_term_pos": 2032,
            "max_match_terms": 6,
            "max_nots": 2,
            "max_ors": 4
        },
        "histogram": {
            "latency_step_max": 1073741823,
            "latency_step_min": 1,
            "length_step_max": 2048,
            "length_step_min": 1,
            "max_counts": 2
        },
        "interframe_gap_bytes": {
            "max": 63,
            "min": 16
        },
        "is_chimera": false,
        "lane_count": 4,
        "layer1_option_supported_bitmask": [
            {
                "bxmp_enum": 1,
                "name": "IEEE_PCS"
            },
            {
                "name": "RX_LANE_MAP"
            },
            {
                "name": "TX_FEC_ERROR_INJECT"
            }
        ],
        "max_burst_size_bytes": 2000000000,
        "max_captured_packets": 4096,
        "max_header_length_bytes": 2048,
        "max_manual_packets": 10,
        "max_mbps": 1600000,
        "max_pattern_length_bytes": 18,
        "max_percent": 200,
        "max_pps": 2777777777,
        "max_preamble_bytes": 12,
        "max_protocol_segments": 30,
        "max_seed": 1000000000,
        "max_speed_mbps": 800000,
        "max_speed_reduction_ppm": 1000,
        "max_streams": 256,
        "max_tpid": 2015,
        "max_tpld_stats": 2015,
        "max_tx_packet_limit": 2147483647,
        "max_xmit_one_packet_length_bytes": 2048,
        "modifier": {
            "max_32bit_count": 0,
            "max_bytes": 3,
            "max_count": 8,
            "max_repeat": 4096
        },
        "packet_length_bytes": {
            "max": 16000,
            "min": 56
        },
        "payload": {
            "can_custom_data_fields": true,
            "can_ext_payload": true,
            "can_payload_mode": true
        },
        "pma_error_type_bitmask": [
            {
                "name": "constant"
            },
            {
                "name": "pulsed"
            }
        ],
        "port2port_loop": {
            "has_partner": false,
            "partner_idx": 1
        },
        "prbs": {
            "lane_based": {
                "inversion_supported": false,
                "is_supported": false,
                "polys": []
            },
            "phy_based": {
                "inversion_supported": true,
                "is_supported": true,
                "polys": [
                    {
                        "bxmp_enum": 32,
                        "name": "PRBS31"
                    },
                    {
                        "bxmp_enum": 1024,
                        "name": "PRBS13"
                    },
                    {
                        "bxmp_enum": 16777216,
                        "name": "SSPRQ"
                    },
                    {
                        "bxmp_enum": 33554432,
                        "name": "SQUAREWAVE"
                    }
                ]
            }
        },
        "reconc_sublayer": {
            "supported_bitmask": []
        },
        "runt": {
            "rx_packet_min_length_bytes": 0,
            "tx_packet_min_length_bytes": 0
        },
        "rxeq_ext": {
            "capabilities": [
                {
                    "max": 31,
                    "min": 0,
                    "name": "ctle_low"
                },
                {
                    "max": 62,
                    "min": 0,
                    "name": "ctle_high"
                },
                {
                    "max": 62,
                    "min": 0,
                    "name": "agc"
                },
                {
                    "max": 127,
                    "min": 0,
                    "name": "oc"
                },
                {
                    "max": 255,
                    "min": -256,
                    "name": "ffe_pre_1"
                },
                {
                    "max": 127,
                    "min": -128,
                    "name": "ffe_pre_2"
                },
                {
                    "max": 63,
                    "min": -64,
                    "name": "ffe_pre_3"
                },
                {
                    "max": 31,
                    "min": -32,
                    "name": "ffe_pre_4"
                },
                {
                    "max": 31,
                    "min": -32,
                    "name": "ffe_pre_5"
                },
                {
                    "max": 31,
                    "min": -32,
                    "name": "ffe_pre_6"
                },
                {
                    "max": 15,
                    "min": -16,
                    "name": "ffe_pre_7"
                },
                {
                    "max": 7,
                    "min": -8,
                    "name": "ffe_pre_8"
                },
                {
                    "max": 255,
                    "min": -256,
                    "name": "ffe_post_1"
                },
                {
                    "max": 127,
                    "min": -128,
                    "name": "ffe_post_2"
                },
                {
                    "max": 127,
                    "min": -128,
                    "name": "ffe_post_3"
                },
                {
                    "max": 63,
                    "min": -64,
                    "name": "ffe_post_4"
                },
                {
                    "max": 63,
                    "min": -64,
                    "name": "ffe_post_5"
                },
                {
                    "max": 31,
                    "min": -32,
                    "name": "ffe_post_6"
                },
                {
                    "max": 31,
                    "min": -32,
                    "name": "ffe_post_7"
                },
                {
                    "max": 31,
                    "min": -32,
                    "name": "ffe_post_8"
                },
                {
                    "max": 31,
                    "min": -32,
                    "name": "ffe_post_9"
                },
                {
                    "max": 31,
                    "min": -32,
                    "name": "ffe_post_10"
                },
                {
                    "max": 31,
                    "min": -32,
                    "name": "ffe_post_11"
                },
                {
                    "max": 31,
                    "min": -32,
                    "name": "ffe_post_12"
                },
                {
                    "max": 31,
                    "min": -32,
                    "name": "ffe_post_13"
                },
                {
                    "max": 31,
                    "min": -32,
                    "name": "ffe_post_14"
                },
                {
                    "max": 31,
                    "min": -32,
                    "name": "ffe_post_15"
                },
                {
                    "max": 15,
                    "min": -16,
                    "name": "ffe_post_16"
                },
                {
                    "max": 15,
                    "min": -16,
                    "name": "ffe_post_17"
                },
                {
                    "max": 15,
                    "min": -16,
                    "name": "ffe_post_18"
                },
                {
                    "max": 15,
                    "min": -16,
                    "name": "ffe_post_19"
                },
                {
                    "max": 7,
                    "min": -8,
                    "name": "ffe_post_20"
                },
                {
                    "max": 7,
                    "min": -8,
                    "name": "ffe_post_21"
                },
                {
                    "max": 7,
                    "min": -8,
                    "name": "ffe_post_22"
                },
                {
                    "max": 7,
                    "min": -8,
                    "name": "ffe_post_23"
                }
            ]
        },
        "serdes_count": 1,
        "stream_option_supported_bitmask": [
            {
                "name": "INC16_DEC16"
            },
            {
                "name": "INCPLDFROM0"
            }
        ],
        "tcvr_i2c_speed": {
            "max_speed_khz": 400,
            "min_speed_khz": 100
        },
        "traffic_engine": 1,
        "tx_eq": {
            "is_supported": true,
            "tap_count": 5,
            "taps": [
                {
                    "max": 38,
                    "min": 0,
                    "name": "pre1"
                },
                {
                    "max": 86,
                    "min": 42,
                    "name": "main"
                },
                {
                    "max": 38,
                    "min": 0,
                    "name": "post"
                },
                {
                    "max": 24,
                    "min": 0,
                    "name": "pre2"
                },
                {
                    "max": 24,
                    "min": 0,
                    "name": "pre3"
                }
            ]
        }
    }
}

Example

# get
input:  0/1 P_CAPABILITIES_EXT ?