Project

General

Profile

Bug #5495

fcinfo can't display emulex at target mode 16G speed

Added by John Huang over 5 years ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
driver - device drivers
Start date:
2014-12-30
Due date:
% Done:

0%

Estimated time:
Difficulty:
Medium
Tags:
needs-triage
Gerrit CR:

Description

"fcinfo hba-port" can't display target mode FC coonection speed, need modify file uts/common/io/comstar/port/fct/fct.c

function fct_get_adapter_port_attr() add

#define PORT_SPEED_16G 32

/* add supported speed */

if (attr->supported_speed & PORT_SPEED_16G)
port_attr->PortSupportedSpeed |= FC_HBA_PORTSPEED_16GBIT;

/* add current speed */

case PORT_SPEED_16G:
port_attr->PortSpeed = FC_HBA_PORTSPEED_16GBIT;
break;

Also available in: Atom PDF