• Jing Huang's avatar
    [SCSI] bfa: fix link state structure · db954c04
    Jing Huang authored
    When the FCoE Linkup event is sent to the host, the link_state
    (struct bfa_pport_link_s) structure is copied to the RME buf to be sent to
    the host. But the size of this structure(164 bytes) is larger than the
    reserved RME buffer size(128 byes). The following changes reduce the size
    of the structure to be less than RME buffer size(128 bytes):
    - Remove the trunk and loop info from link_state structure, because both trunk
      and loop are not supported.
    - Combine qos_vc_attr and fcf into an union.
    Signed-off-by: default avatarJing Huang <huangj@brocade.com>
    Signed-off-by: default avatarJames Bottomley <James.Bottomley@suse.de>
    db954c04
bfa_fcport.c 45.7 KB