libibnetdisc: Add grouping for Voltaire's ISR4700 switch
The ISR4700 features 3 kind of boards:
- sLB-4018 line board with a single 36 port asic
- sFB-4700 fabric board with a single 36 port asic
- sFB-4700X2 double density fabric board with 2 36 port asics
The double density fabric board (sFB-4700X2) features external 12X
connectors that are only an aggregation of 3 4X ports, therefore ext_portnum is set to match the number printed on the faceplate.
infiniband-diags/libibnetdisc/include/infiniband/ibnetdisc.h +1 -1
@@ -121,7 +121,7 @@ typedef struct ibnd_chassis {ibnd_node_t *nodes;/* specific to voltaire type nodes */ -#define SPINES_MAX_NUM 12 +#define SPINES_MAX_NUM 18#define LINES_MAX_NUM 36ibnd_node_t *spinenode[SPINES_MAX_NUM +1 ];ibnd_node_t *linenode[LINES_MAX_NUM +1 ];
infiniband-diags/libibnetdisc/src/chassis.c +228 -39
438 lines not on this page · raw message
infiniband-diags/libibnetdisc/src/chassis.h +5 -1
@@ -70,6 +70,9 @@#define VTR_DEVID_SFB2004 0x5a40#define VTR_DEVID_ISR2004 0x5a41#define VTR_DEVID_SRB2004 0x5a42 +#define VTR_DEVID_SLB4018 0x5a5b +#define VTR_DEVID_SFB4700 0x5a5c +#define VTR_DEVID_SFB4700X2 0x5a5d/* Vendor IDs (for chassis based systems) */ #define VTR_VENDOR_ID 0x8f1/* Voltaire */
@@ -78,7 +81,8 @@#define XS_VENDOR_ID 0x1397/* Xsigo */ enum ibnd_chassis_type { -UNRESOLVED_CT ,ISR9288_CT ,ISR9096_CT ,ISR2012_CT ,ISR2004_CT +UNRESOLVED_CT ,ISR9288_CT ,ISR9096_CT ,ISR2012_CT ,ISR2004_CT , +ISR4700_CT };enum ibnd_chassis_slot_type {UNRESOLVED_CS ,LINE_CS ,SPINE_CS ,SRBD_CS };
Sasha Khapyorsky
AppliedQuoted 7 lines · sebastien dugue
The ISR4700 features 3 kind of boards:
- sLB-4018 line board with a single 36 port asic
- sFB-4700 fabric board with a single 36 port asic
- sFB-4700X2 double density fabric board with 2 36 port asics
Quoted 5 lines
The double density fabric board (sFB-4700X2) features external 12X
connectors that are only an aggregation of 3 4X ports, thereforeext_portnumis set to match the number printed on the faceplate.
Applied. Thanks.
Sasha
--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html