Print this page
NEX-8705 Drivers for ATTO Celerity FC-162E Gen 5 and Celerity FC-162P Gen 6 16GB FC cards support
Reviewed by: Dan Fields <dan.fields@nexenta.com>
Reviewed by: Rick McNeal <rick.mcneal@nexenta.com>
NEX-5602 cpqary3: add support for more hp gen9 smart array controllers
Reviewed by: Alek Pinchuk <alek.pinchuk@nexenta.com>
Reviewed by: Marcel Telka <marcel.telka@nexenta.com>
NEX-1533 fcinfo hba-port doesn't get correct supported speeds and connection speed for 16Gb target ports
Reviewed by: Hans Rosenfeld <hans.rosenfeld@nexenta.com>
Reviewed by: Steve Peng <steve.peng@nexenta.com>
Reviewed by: Rob Gittins <rob.gittins@nexenta.com>


 320 #define PORT_TOPOLOGY_UNKNOWN           0
 321 #define PORT_TOPOLOGY_PT_TO_PT          1
 322 #define PORT_TOPOLOGY_PRIVATE_LOOP      2
 323 #define PORT_TOPOLOGY_PUBLIC_LOOP       6
 324 #define PORT_TOPOLOGY_FABRIC_PT_TO_PT   5
 325 #define PORT_TOPOLOGY_FABRIC_BIT        4
 326 
 327 #define PORT_FLOGI_DONE(li)     (((li)->port_fca_flogi_done) || \
 328                                         ((li)->port_fct_flogi_done))
 329 
 330 /*
 331  * port speed
 332  */
 333 #define PORT_SPEED_UNKNOWN              0
 334 #define PORT_SPEED_1G                   1
 335 #define PORT_SPEED_2G                   2
 336 #define PORT_SPEED_4G                   4
 337 #define PORT_SPEED_8G                   8
 338 #define PORT_SPEED_10G                  16
 339 #define PORT_SPEED_16G                  32

 340 
 341 /*
 342  * Abort commands
 343  */
 344 #define FCT_TERMINATE_CMD               1
 345 
 346 /*
 347  * FCT port states.
 348  */
 349 #define FCT_STATE_OFFLINE       0
 350 #define FCT_STATE_ONLINING      1
 351 #define FCT_STATE_ONLINE        2
 352 #define FCT_STATE_OFFLINING     3
 353 
 354 /*
 355  * fct ctl commands. These should not conflict with stmf ctl commands
 356  */
 357 #define FCT_CMD_PORT_ONLINE             (STMF_LPORT_CTL_CMDS | 0x01)
 358 #define FCT_CMD_PORT_ONLINE_COMPLETE    (STMF_LPORT_CTL_CMDS | 0x02)
 359 #define FCT_CMD_PORT_OFFLINE            (STMF_LPORT_CTL_CMDS | 0x03)




 320 #define PORT_TOPOLOGY_UNKNOWN           0
 321 #define PORT_TOPOLOGY_PT_TO_PT          1
 322 #define PORT_TOPOLOGY_PRIVATE_LOOP      2
 323 #define PORT_TOPOLOGY_PUBLIC_LOOP       6
 324 #define PORT_TOPOLOGY_FABRIC_PT_TO_PT   5
 325 #define PORT_TOPOLOGY_FABRIC_BIT        4
 326 
 327 #define PORT_FLOGI_DONE(li)     (((li)->port_fca_flogi_done) || \
 328                                         ((li)->port_fct_flogi_done))
 329 
 330 /*
 331  * port speed
 332  */
 333 #define PORT_SPEED_UNKNOWN              0
 334 #define PORT_SPEED_1G                   1
 335 #define PORT_SPEED_2G                   2
 336 #define PORT_SPEED_4G                   4
 337 #define PORT_SPEED_8G                   8
 338 #define PORT_SPEED_10G                  16
 339 #define PORT_SPEED_16G                  32
 340 #define PORT_SPEED_32G                  64
 341 
 342 /*
 343  * Abort commands
 344  */
 345 #define FCT_TERMINATE_CMD               1
 346 
 347 /*
 348  * FCT port states.
 349  */
 350 #define FCT_STATE_OFFLINE       0
 351 #define FCT_STATE_ONLINING      1
 352 #define FCT_STATE_ONLINE        2
 353 #define FCT_STATE_OFFLINING     3
 354 
 355 /*
 356  * fct ctl commands. These should not conflict with stmf ctl commands
 357  */
 358 #define FCT_CMD_PORT_ONLINE             (STMF_LPORT_CTL_CMDS | 0x01)
 359 #define FCT_CMD_PORT_ONLINE_COMPLETE    (STMF_LPORT_CTL_CMDS | 0x02)
 360 #define FCT_CMD_PORT_OFFLINE            (STMF_LPORT_CTL_CMDS | 0x03)