Re: [PATCH 11/12] lpfc: add Trunking support

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 10/23/18 10:41 PM, James Smart wrote:
Add trunking support to the driver. Trunking is found on more recent
asics. In general, trunking appears as a single "port" to the driver
and overall behavior doesn't differ. Link speed is reported as an
aggregate value, while link speed control is done on a per-physical
link basis with all links in the trunk symmetrical. Some commands
returning port information are updated to additionally provide
trunking information. And new ACQEs are generated to report physical
link events relative to the trunk.

This patch contains the following modifications:
Added link speed settings of 128GB and 256GB.
Added handling of trunk-related ACQEs, mainly logging and trapping
   of physical link statuses.
Added additional bsg interface to query trunk state by applications.
Augment link_state sysfs attribtute to display trunk link status

Signed-off-by: Dick Kennedy <dick.kennedy@xxxxxxxxxxxx>
Signed-off-by: James Smart <jsmart2021@xxxxxxxxx>
---
  drivers/scsi/lpfc/lpfc.h         |  13 ++++
  drivers/scsi/lpfc/lpfc_attr.c    | 101 ++++++++++++++++++++++++++
  drivers/scsi/lpfc/lpfc_bsg.c     |  74 ++++++++++++++++++++
  drivers/scsi/lpfc/lpfc_bsg.h     |  38 ++++++++++
  drivers/scsi/lpfc/lpfc_ct.c      |   5 ++
  drivers/scsi/lpfc/lpfc_els.c     |   2 +
  drivers/scsi/lpfc/lpfc_hbadisc.c |   1 +
  drivers/scsi/lpfc/lpfc_hw4.h     |  64 +++++++++++++++++
  drivers/scsi/lpfc/lpfc_init.c    | 148 +++++++++++++++++++++++++++++++++++++++
  drivers/scsi/lpfc/lpfc_scsi.h    |   4 ++
  drivers/scsi/lpfc/lpfc_sli.c     |  11 +++
  drivers/scsi/lpfc/lpfc_sli4.h    |  13 ++++
  12 files changed, 474 insertions(+)
Reviewed-by: Hannes Reinecke <hare@xxxxxxxx>

Cheers,

Hannes
--
Dr. Hannes Reinecke		   Teamlead Storage & Networking
hare@xxxxxxx			               +49 911 74053 688
SUSE LINUX GmbH, Maxfeldstr. 5, 90409 Nürnberg
GF: F. Imendörffer, J. Smithard, J. Guild, D. Upmanyu, G. Norton
HRB 21284 (AG Nürnberg)



[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [SCSI Target Devel]     [Linux SCSI Target Infrastructure]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Linux IIO]     [Samba]     [Device Mapper]

  Powered by Linux