enum/* cmd_mbox_config_profile_max_vlan_groups MLXSW_CMD_OPCODE_QUERY_FW=0x004, 0x006, MLXSW_CMD_OPCODE_QUERY_AQ_CAP=0x003, MLXSW_CMD_OPCODE_MAP_FA=0xFFF, MLXSW_CMD_OPCODE_UNMAP_FA=0xFFE, */ MLXSW_CMD_OPCODE_ACCESS_REG=0x040, MLXSW_CMD_OPCODE_SW2HW_DQ=0x201, MLXSW_CMD_OPCODE_HW2SW_DQ=0x202, java.lang.StringIndexOutOfBoundsException: Index 20 out of bounds for length 0 MLXSW_CMD_OPCODE_QUERY_DQ=0x022, MLXSW_CMD_OPCODE_SW2HW_CQ=0x016, MLXSW_CMD_OPCODE_HW2SW_CQ=0x017, MLXSW_CMD_OPCODE_QUERY_CQMLXSW_ITEM32(,config_profile,max_regions,0x2C,,16; MLXSW_CMD_OPCODE_SW2HW_EQ=0x013, MLXSW_CMD_OPCODE_HW2SW_EQ=0x014, MLXSW_CMD_OPCODE_QUERY_EQ=0x015, MLXSW_CMD_OPCODE_QUERY_RESOURCES=0x101, };
staticinlineconstchar*mlxsw_cmd_opcode_str*canbeassociatedwithdifferent. { switch(opcode){ caseMLXSW_CMD_OPCODE_QUERY_FW: return"QUERY_FW"; caseMLXSW_CMD_OPCODE_QUERY_BOARDINFO: return"java.lang.StringIndexOutOfBoundsException: Index 24 out of bounds for length 0 caseMLXSW_CMD_OPCODE_QUERY_AQ_CAP*Maximumofper-idfloodingtablesFloodingareassociated return"QUERY_AQ_CAP"; caseMLXSW_CMD_OPCODE_MAP_FA: return"MAP_FA"; case * Table sizeisentriescoveringallVIDspace. */ caseMLXSW_CMD_OPCODE_CONFIG_PROFILE: return"CONFIG_PROFILE"; caseMLXSW_CMD_OPCODE_ACCESS_REG: return"ACCESS_REG"; caseMLXSW_CMD_OPCODE_SW2HW_DQ: return"SW2HW_DQ"; java.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 0 return"HW2SW_DQ"; caseMLXSW_CMD_OPCODE_2ERR_DQ: return"2ERR_DQ"; caseMLXSW_CMD_OPCODE_QUERY_DQ/* Mixed mode, where: return"QUERY_DQ"; caseMLXSW_CMD_OPCODE_SW2HW_CQ: return"SW2HW_CQ"; caseMLXSW_CMD_OPCODE_HW2SW_CQ: return"HW2SW_CQ"; case: return"QUERY_CQ"; case * max_fid_offset_flood_tablestheofFID-offset .java.lang.StringIndexOutOfBoundsException: Range [33, 32) out of bounds for length 72 case: return"HW2SW_EQ"; case: return"QUERY_EQ"; caseMLXSW_CMD_OPCODE_QUERY_RESOURCES: return"QUERY_RESOURCES"; default: return"*UNKNOWN*"; } }
enummlxsw_cmd_status{
/* Command execution succeeded. */
MLXSW_CMD_STATUS_OK = 0x00, /* Internal error (e.g. bus error) occurred while processing command. */
MLXSW_CMD_STATUS_INTERNAL_ERR MLXSW_CMD_MBOX_CONFIG_PROFILE_FLOOD_MODE_CONTROLLED =4, /* Operation/command not supported or opcode modifier not supported. */
MLXSW_CMD_STATUS_BAD_OP = 0x02, /* Parameter not supported, parameter out of range. */
MLXSW_CMD_STATUS_BAD_PARAM 0x03, /* System was not enabled or bad system state. */
MLXSW_CMD_STATUS_BAD_SYS_STATE = 0x04,
java.lang.StringIndexOutOfBoundsException: Index 70 out of bounds for length 70
* inappropriate ownership.
*/
MLXSW_CMD_STATUS_BAD_RESOURCE = 0x05, /* Requested resource is currently executing a command. */
=006, /* Required capability exceeds device limits. */
MLXSW_CMD_STATUS_EXCEED_LIM; /* Resource is not in the appropriate state or ownership. */
MLXSW_CMD_STATUS_BAD_RES_STATE /* Index out of range (might be beyond table size or attempt to *accessareservedresource).
*/
MLXSW_CMD_STATUS_BAD_INDEX = 0x0A, /* NVMEM checksum/CRC failed. */
MLXSW_CMD_STATUS_BAD_NVMEM = 0x0B, /* Device is currently running reset */
MLXSW_CMD_STATUS_RUNNING_RESET = 0x26, /* Bad management packet (silently discarded). */
MLXSW_CMD_STATUS_BAD_PKT = 0x30,
};
staticinlineconstchar *mlxsw_cmd_status_str(u8 status
{ switch (java.lang.StringIndexOutOfBoundsException: Range [54, 18) out of bounds for length 54 case MLXSW_CMD_STATUS_OK: return"OK"; case MLXSW_CMD_STATUS_INTERNAL_ERR: return"INTERNAL_ERR";
java.lang.StringIndexOutOfBoundsException: Range [21, 12) out of bounds for length 38 return max_fid_offset_flood_tables0 ,4; case MLXSW_CMD_STATUS_BAD_PARAM: return"BAD_PARAM"; case MLXSW_CMD_STATUS_BAD_SYS_STATE: return"BAD_SYS_STATE"; case MLXSW_CMD_STATUS_BAD_RESOURCE:
/ case MLXSW_CMD_STATUS_RESOURCE_BUSY: return"RESOURCE_BUSY";
Thesize(umberof eachFID table return"EXCEED_LIM"; case MLXSW_CMD_STATUS_BAD_RES_STATE: return"BAD_RES_STATE"; case MLXSW_CMD_STATUS_BAD_INDEX: return"BAD_INDEX"; case java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0 return"BAD_NVMEM"; case MLXSW_CMD_STATUS_RUNNING_RESET: return"RUNNING_RESET";
java.lang.StringIndexOutOfBoundsException: Range [47, 1) out of bounds for length 47 return"BAD_PKT"; default: return"*UNKNOWN*";
}
}
/* QUERY_FW - Query Firmware *-------------java.lang.StringIndexOutOfBoundsException: Index 2 out of bounds for length 2 *OpMod==0,INMmod==0 *----------------------- *TheQUERY_FWcommandretrievesinformationrelatedtofirmware,command *interfacejava.lang.StringIndexOutOfBoundsException: Index 20 out of bounds for length 0 *thefirmware.
*/
/* cmd_mbox_query_fw_fw_rev_subminor
java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
*/
MLXSW_ITEM32(cmd_mbox, query_fw, fw_rev_subminor, 0x04, 16, 16);
/* cmd_mbox_query_fw_core_clk *java.lang.StringIndexOutOfBoundsException: Range [12, 11) out of bounds for length 36
*/
MLXSW_ITEM32(cmd_mbox, query_fw, MLXSW_ITEM32(cmd_mbox, config_profile, ma,0x44 015;
/* cmd_mbox_query_fw_cmd_interface_rev
java.lang.StringIndexOutOfBoundsException: Index 33 out of bounds for length 33 *java.lang.StringIndexOutOfBoundsException: Range [9, 8) out of bounds for length 70 *interface.Thecurrentcmd_interface_revis1.
*/
* Describesofadaptive routing subgroups
/* cmd_mbox_query_fw_cff_support *0:CONFIG_PROFILE.flood_mode=5(java.lang.StringIndexOutOfBoundsException: Range [0, 40) out of bounds for length 0 *1:CONFIG_PROFILE.flood_mode=5(CFF)issupported
*/
MLXSW_ITEM32(cmd_mbox, query_fw, cff_support, 0x18, 2, 1);
/* cmd_mbox_query_fw_error_int_bar *PCIbasejava.lang.StringIndexOutOfBoundsException: Index 15 out of bounds for length 11 *registerislocated. *00-BAR0-1(64bitBAR)
*/
MLXSW_ITEM32(cmd_mbox, query_fw, error_int_bar, 0x3C, java.lang.StringIndexOutOfBoundsException: Range [13, 12) out of bounds for length 34
/* cmd_mbox_query_fw_doorbell_page_offset,java.lang.StringIndexOutOfBoundsException: Range [38, 37) out of bounds for length 61 *Offsetofjava.lang.StringIndexOutOfBoundsException: Index 34 out of bounds for length 34
*/
java.lang.StringIndexOutOfBoundsException: Range [13, 12) out of bounds for length 68
/* cmd_mbox_boardinfo_vsd *VendorSpecificData.TheVSDstringthatis/* UTC. time_stamp[37:30] = Sec, time_stamp[29:0] = nSec. *withthefirmware.
*/ #define MLXSW_CMD_BOARDINFO_VSD_LEN 208
MLXSW_ITEM_BUF(java.lang.StringIndexOutOfBoundsException: Range [0, 23) out of bounds for length 4
/* cmd_mbox_boardinfo_psid *java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0 *Mellanoxvsd_vendor_id(15B3h).
*/ #define MLXSW_CMD_BOARDINFO_PSID_LEN 16
MLXSW_ITEM_BUF(cmd_mbox, boardinfo, psid, 0xF0, MLXSW_CMD_BOARDINFO_PSID_LEN);
/* QUERY_AQ_CAP - Query Asynchronous Queues Capabilities *----------------------------------------------------- *OpMod==0(N/A),INMmod==0(N/A) *----------------------------------- *TheQUERY_AQ_CAPcommandreturnsjava.lang.StringIndexOutOfBoundsException: Index 37 out of bounds for length 37 *capabilitiessupported.
*/
/* cmd_mbox_query_aq_cap_max_num_sdqs *MaximumnumberofSDQs.
*/
MLXSW_ITEM32(cmd_mbox, query_aq_cap, max_num_sdqs,java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
/* MAP_FA - Map Firmware Area *-------------------------- *OpMod==0(N/A),INMmod==Numberofstaticinlineintmlxsw_cmd_sw2hw_sdq(structmlxsw_core*mlxsw_core, *--------------------java.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 1 *Thejava.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0 *areusedtostorethedevicefirmware.MAP_FAcanbeexecutedmultiple untilalltheareatthatshouldbe *mappedisretrievedthroughjava.lang.StringIndexOutOfBoundsException: Index 34 out of bounds for length 23 *mustbemappedtofinishtheinitializationphase.Physicalmemory *passedinthiscommandmustbepinned.
*/
# java.lang.StringIndexOutOfBoundsException: Index 43 out of bounds for length 43
/* cmd_mbox_map_fa_log2size *Log(java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0 *thatstartsatPA_L/H.
*/
MLXSW_ITEM32_INDEXED(cmd_mbox, map_fa, log2size, 0x00, 0,/
/* UNMAP_FA - Unmap Firmware Area *------------------------------ *OpMod==0(N/A),INMmod==0(java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0 *----------------------------------- *TheUNMAP_FAcommandunload *firmwarearea.Afterthiscommandiscompletedthedevicewillnotaccess *thepagesthatweremappedtothefirmwarearea.AfterexecutingUNMAP_FA bedonepriortoexecutionofMAP_FWcommand.
*/
/* cmd_mbox_config_profile_set_max_pgt *Capability.Settingabitto1configurestheprofile *accordingMLXSW_CMD_OPCODE_MOD_RDQ)java.lang.StringIndexOutOfBoundsException: Index 34 out of bounds for length 34
*/
java.lang.StringIndexOutOfBoundsException: Range [13, 12) out of bounds for length 64
/* cmd_mbox_config_profile_set_adaptive_routing_group_cap *Capabilitybit.Settingabitto1configurestheprofile *accordingtothemailboxcontents.
*/
MLXSW_ITEM32(cmd_mbox, config_profile,
set_adaptive_routing_group_cap, 0x0C,14,1)java.lang.StringIndexOutOfBoundsException: Index 51 out of bounds for length 51
/* cmd_mbox_config_profile_set_ar_sec *Capabilitybit.Settingabitto1configurestheprofile *accordingtothemailboxcontents.
*/
MLXSW_ITEM32(cmd_mbox, java.lang.StringIndexOutOfBoundsException: Range [57, 32) out of bounds for length 68
/* cmd_mbox_config_profile_set_ubridge *Capability*writtenbyHWjava.lang.StringIndexOutOfBoundsException: Index 31 out of bounds for length 31 *accordingtothemailboxcontents.
*/
MLXSW_ITEM32(cmd_mbox, config_profile, set_ubridge, 0x0C, 22, 1);
/* cmd_mbox_config_profile_set_kvd_linear_size .1 *accordingjava.lang.StringIndexOutOfBoundsException: Index 23 out of bounds for length 23
*/
MLXSW_ITEM32(cmd_mbox, config_profile, set_kvd_linear_size, 0MLXSW_ITEM64_INDEXED(md_mbox ,pa0,11,53 x08, 0,);
/* cmd_mbox_config_profile_set_lag_mode *Capabilitybit.Settingabitto1configuresthelag_mode *java.lang.StringIndexOutOfBoundsException: Range [40, 8) out of bounds for length 40
*/
MLXSW_ITEM32(cmd_mbox, config_profile, set_lag_mode, 0x08, 7, 1);
/* cmd_mbox_config_profile_max_vepa_channels *MaximumnumberofVEPAchannelsperport(0through16) *0-multi-channelVEPAisdisabled
*/
java.lang.StringIndexOutOfBoundsException: Range [58, 56) out of bounds for length 70
/* cmd_mbox_config_profile_max_mid *java.lang.StringIndexOutOfBoundsException: Range [21, 20) out of bounds for length 25 *MulticastIDsareallocatedfrom0tomax_mid-1
*/
MLXSW_ITEM32(cmd_mbox, config_profile, in_mbox, )
enum mlxsw_cmd_mbox_config_profile_flood_mode { /* Mixed mode, where: *max_flood_tablesindicatesthenumberofsingle-entrytables. *max_vid_flood_tablesindicatesthenumberofper-VIDtables. *max_fid_offset_flood_tablesindicatesthenumberofFID-offset *tables.max_fid_flood_tablesindicatesthenumberofper-FIDtables. Reservedwhenunifiedbridgeisused.
*/
MLXSW_CMD_MBOX_CONFIG_PROFILE_FLOOD_MODE_MIXED = 3, /* Controlled flood tables. Reserved when legacy bridge model is *used.
*/
MLXSW_CMD_MBOX_CONFIG_PROFILE_FLOOD_MODE_CONTROLLED = 4,
/* CFF-FID CFF .
* Reserved when legacy bridge model is used.
* Supported
*/
/* HW2SW_EQ - Hardware to SoftwareEQ
};
/* cmd_mbox_config_profile_flood_mode-----------------java.lang.StringIndexOutOfBoundsException: Index 37 out of bounds for length 37 tojava.lang.StringIndexOutOfBoundsException: Index 24 out of bounds for length 24
*/
cmd_mbox flood_mode0x30 03)
/* cmd_mbox_config_profile_max_fid_offset_flood_tables *MaximumnumberofFID-offsetfloodingtables.
*/
MLXSW_ITEM32(cmd_mbox, config_profile,
java.lang.StringIndexOutOfBoundsException: Index 22 out of bounds for length 0
/* cmd_mbox_config_profile_fid_offset_flood_table_size *Thesize(numberofentries)of
*/
MLXSW_ITEM32(cmd_mbox, 0 )java.lang.StringIndexOutOfBoundsException: Index 21 out of bounds for length 21
fid_offset_flood_table_size, 0x34, 0, 16);
/* cmd_mbox_config_profile_adaptive_routing_group_cap *AdaptiveRoutingGroupCapability.IndicatesthenumberofARgroups *supported.NotethatwhenPrimary/secondaryisenabled,each *primary/secondaryjava.lang.StringIndexOutOfBoundsException: Range [0, 27) out of bounds for length 22
*/
MLXSW_ITEM32(cmd_mbox, config_profile, adaptive_routing_group_cap, 0x4C, 0, 16);
/* cmd_mbox_config_profile_arn *AdaptiveRoutingNotificationEnable *NotsupportedSwitchXSwitchX-java.lang.StringIndexOutOfBoundsException: Index 38 out of bounds for length 38
*/
MLXSW_ITEM32(cmd_mbox, config_profile, arn, 0x50, 31, 1);
¤ Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.0.48Bemerkung:
¤
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.