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 schema:

{
    "properties": {
        "max_speed_mbps": 100000,
        "max_speed_reduction_ppm": 1000,
        "interframe_gap_bytes": {
            "min": 16,
            "max": 63
        },
        "max_preamble_bytes": 12,
        "max_streams": 256,
        "max_percent": 200,
        "max_pps": 390625000,
        "max_mbps": 200000,
        "max_seed": 1000000000,
        "max_tx_packet_limit": 2147483647,
        "max_burst_size_bytes": 2000000000,
        "packet_length_bytes": {
            "min": 48,
            "max": 12288
        },
        "max_header_length_bytes": 2048,
        "max_protocol_segments": 30,
        "max_pattern_length_bytes": 18,
        "modifier": {
            "max_count": 8,
            "max_bytes": 2,
            "max_repeat": 4096,
            "max_32bit_count": 4
        },
        "max_tpid": 2015,
        "max_manual_packets": 10,
        "filter": {
            "max_match_terms": 6,
            "max_length_terms": 6,
            "max_match_term_pos": 2032,
            "max_ors": 4,
            "max_nots": 2,
            "max_filters": 6
        },
        "max_captured_packets": 4096,
        "max_tpld_stats": 2015,
        "histogram": {
            "max_counts": 2,
            "length_step_min": 1,
            "length_step_max": 2048,
            "latency_step_min": 16,
            "latency_step_max": 2097152
        },
        "can_autoneg": false,
        "can_tcp_checksum": true,
        "can_udp_checksum": true,
        "can_eee": false,
        "can_hw_reg_access": true,
        "can_tcvr_mii_reg_access": false,
        "can_adv_phy_man": true,
        "can_micro_tpld": false,
        "can_mdi_mdix": false,
        "payload": {
            "can_payload_mode": true,
            "can_custom_data_fields": true,
            "can_ext_payload": true
        },
        "can_dynamic_traffic": true,
        "can_sync_traffic_start": true,
        "can_pfc": true,
        "can_pcs_pma": true,
        "fec": {
            "schemes_supported_bitmask": [],
            "stats_supported_bitmask": [],
            "max_correctable_symbols": 0
        },
        "can_rx_retune": true,
        "prbs": {
            "lane_based": {
                "is_supported": true,
                "inversion_supported": false,
                "polys": [
                    {
                        "name": "PRBS31",
                        "bxmp_enum": 32
                    }
                ]
            },
            "phy_based": {
                "is_supported": false,
                "inversion_supported": false,
                "polys": []
            }
        },
        "serdes_count": 1,
        "lane_count": 1,
        "tx_eq": {
            "is_supported": true,
            "tap_count": 3,
            "taps": [
                {
                    "name": "pre1",
                    "min": -31,
                    "max": 31
                },
                {
                    "name": "main",
                    "min": 0,
                    "max": 31
                },
                {
                    "name": "post",
                    "min": -31,
                    "max": 31
                }
            ]
        },
        "max_xmit_one_packet_length_bytes": 2048,
        "runt": {
            "tx_packet_min_length_bytes": 0,
            "rx_packet_min_length_bytes": 0
        },
        "can_manipulate_preamble": false,
        "can_link_train": false,
        "can_link_flap": false,
        "can_auto_neg_base_r": false,
        "pma_error_type_bitmask": [],
        "is_chimera": false,
        "port2port_loop": {
            "has_partner": true,
            "partner_idx": 1
        },
        "traffic_engine": 1,
        "reconc_sublayer": {
            "supported_bitmask": []
        },
        "stream_option_supported_bitmask": [],
        "rxeq_ext": {
            "capabilities": []
        },
        "tcvr_i2c_speed": {
            "min_speed_khz": 100,
            "max_speed_khz": 100
        },
        "eyescan": {
            "can_sampled_eyescan": true
        },
    }
}

Example#

# get
input:  0/1 P_CAPABILITIES_EXT ?