lpfc: Add Link Integrity FPIN registration and logging
v2 cover lpfc: Add Link Integrity FPIN registration and logging
This patch adds the RDF ELS to the driver to register to receive Link Integrity FPINs from the fabric. The driver also adds logging of the elements contained in the FPIN before delivering it to the scsi fc transport.
As part of the patch, the uapi/scsi/fc/fc_els.h header is updated with the FC standards definitions for the RDF and FPIN ELS and their components.
This patch was cut against 5.7/scsi-queue
v2:
minor mods to patch 2: indentiation change; and slight structure
reference change.
James Smart (2):
fc: Update Descriptor definition and add RDF and Link Integrity FPINs
lpfc: add RDF registration and Link Integrity FPIN logging
drivers/scsi/lpfc/lpfc.h | 29 ++++ drivers/scsi/lpfc/lpfc_crtn.h | 3 +- drivers/scsi/lpfc/lpfc_els.c | 324 ++++++++++++++++++++++++++++++++++++--- drivers/scsi/lpfc/lpfc_hbadisc.c | 4 +- drivers/scsi/lpfc/lpfc_hw.h | 4 +- drivers/scsi/lpfc/lpfc_hw4.h | 19 +++ drivers/scsi/lpfc/lpfc_sli.c | 1 + include/uapi/scsi/fc/fc_els.h | 211 +++++++++++++++++++++++-- 8 files changed, 557 insertions(+), 38 deletions(-)
Signature · 1 line
2.13.7
PATCH v2 1/2 fc: Update Descriptor definition and add RDF and Link Integrity FPINs
Update the fc headers for the RDF ELS and populate out the FPIN ELS and the Link integrity FPIN payload.
RDF is used to register for diagnostic events. FPIN is how the fabric reports a diagnostic event.
Specifically, this patch:
- Adds the formal definition of TLV descriptors that are now used in a lot of the FC spec. The simplistic fc_fn_desc structure, basically no more than the tlv definition, is removed.
- Small tlv helper functions are added as defines.
- The list of known Descriptor tags (identifying the TLV) is expanded and a name initializer introduced.
- The LSRI descriptor, returned in many new ELS response payloads is added.
- The RDF ELS code is added, and the RDF request response structures added.
- The FPIN els definition is corrected.
- A full definition of a Link Integrity Notification descriptor is added,
--- include/uapi/scsi/fc/fc_els.h | 211 +++++++++++++++++++++++++++++++++++++++--- 1 file changed, 196 insertions(+), 15 deletions(-)
include/uapi/scsi/fc/fc_els.h +196 -15
@@ -9,6 +9,7 @@#define _FC_ELS_H_#include <linux/types.h> +#include <asm/byteorder.h> /* * Fibre Channel Switch - Enhanced Link Services definitions.
@@ -40,6 +41,7 @@ enum fc_els_cmd {ELS_REC =0x13 ,/* read exchange concise */ ELS_SRR =0x14 ,/* sequence retransmission request */ ELS_FPIN =0x16 ,/* Fabric Performance Impact Notification */ +ELS_RDF =0x19 ,/* Register Diagnostic Functions */ ELS_PRLI =0x20 ,/* process login */ ELS_PRLO =0x21 ,/* process logout */ ELS_SCN = 0x22, /* state change notification */
@@ -108,6 +110,7 @@ enum fc_els_cmd { [ELS_REC] = "REC", \ [ELS_SRR] = "SRR", \ [ELS_FPIN] = "FPIN", \ + [ELS_RDF] = "RDF", \ [ELS_PRLI] = "PRLI", \ [ELS_PRLO] = "PRLO", \ [ELS_SCN] = "SCN", \
@@ -208,6 +211,99 @@ enum fc_els_rjt_explan { };/* +* Link Service TLV Descriptor Tag Values +*/ +enum fc_ls_tlv_dtag { +ELS_DTAG_LS_REQ_INFO =0x00000001 , +/* Link Service Request Information Descriptor */ +ELS_DTAG_LNK_INTEGRITY =0x00020001 , +/* Link Integrity Notification Descriptor */ +ELS_DTAG_DELIVERY =0x00020002 , +/* Delivery Notification Descriptor */ +ELS_DTAG_PEER_CONGEST =0x00020003 , +/* Peer Congestion Notification Descriptor */ +ELS_DTAG_CONGESTION =0x00020004 , +/* Congestion Notification Descriptor */ +ELS_DTAG_FPIN_REGISTER =0x00030001 , +/* FPIN Registration Descriptor */ +}; + +/* +* Initializer useful for decoding table. +* Please keep this in sync with the above definitions. +*/ +#define FC_LS_TLV_DTAG_INIT { \ + { ELS_DTAG_LS_REQ_INFO, "Link Service Request Information" }, \ + { ELS_DTAG_LNK_INTEGRITY, "Link Integrity Notification" }, \ + { ELS_DTAG_DELIVERY, "Delivery Notification Present" }, \ + { ELS_DTAG_PEER_CONGEST, "Peer Congestion Notification" }, \ + { ELS_DTAG_CONGESTION, "Congestion Notification" }, \ + { ELS_DTAG_FPIN_REGISTER, "FPIN Registration" }, \ +} + + +/* +* Generic Link Service TLV Descriptor format +* +* This structure, as it defines no payload, will also be referred to +* as the "tlv header" - which contains the tag and len fields. +*/ +struct fc_tlv_desc { +__be32 desc_tag;/* Notification Descriptor Tag */ +__be32 desc_len;/* Length of Descriptor (in bytes). +* Size of descriptor excluding +* desc_tag and desc_len fields. +*/ +__u8 desc_value[0 ];/* Descriptor Value */ +}; + +/* Descriptor tag and len fields are considered the mandatory header +* for a descriptor +*/ +#define FC_TLV_DESC_HDR_SZ sizeof(struct fc_tlv_desc) + +/* +* Macro, used when initializing payloads, to return the descriptor length. +* Length is size of descriptor minus the tag and len fields. +*/ +#define FC_TLV_DESC_LENGTH_FROM_SZ (desc) \ + (sizeof(desc) - FC_TLV_DESC_HDR_SZ) + +/* Macro, used on received payloads, to return the descriptor length */ +#define FC_TLV_DESC_SZ_FROM_LENGTH (tlv) \ + (be32_to_cpu((tlv)->desc_len) + FC_TLV_DESC_HDR_SZ) + +/* +* This helper is used to walk descriptors in a descriptor list. +* Given the address of the current descriptor, which minimally contains a +* tag and len field, calculate the address of the next descriptor based +* on the len field. +*/ +static inline void *fc_tlv_next_desc (void *desc) +{ +struct fc_tlv_desc *tlv = desc; + +return (desc +FC_TLV_DESC_SZ_FROM_LENGTH (tlv)); +} + + +/* +* Link Service Request Information Descriptor +*/ +struct fc_els_lsri_desc { +__be32 desc_tag;/* descriptor tag (0x0000 0001) */ +__be32 desc_len;/* Length of Descriptor (in bytes) (4). +* Size of descriptor excluding +* desc_tag and desc_len fields. +*/ +struct { +__u8 cmd;/* ELS cmd byte */ +__u8 bytes[3 ];/* bytes 1..3 */ + } rqst_w0;/* Request word 0 */ +}; + + +/* * Common service parameters (N ports). */ struct fc_els_csp {
@@ -819,24 +915,61 @@ enum fc_els_clid_ic { }; +enum fc_fpin_li_event_types { +FPIN_LI_UNKNOWN =0x0 , +FPIN_LI_LINK_FAILURE =0x1 , +FPIN_LI_LOSS_OF_SYNC =0x2 , +FPIN_LI_LOSS_OF_SIG =0x3 , +FPIN_LI_PRIM_SEQ_ERR =0x4 , +FPIN_LI_INVALID_TX_WD =0x5 , +FPIN_LI_INVALID_CRC =0x6 , +FPIN_LI_DEVICE_SPEC =0xF , +}; +/* -* Fabric Notification Descriptor Tag values +* Initializer useful for decoding table. +* Please keep this in sync with the above definitions. */ -enum fc_fn_dtag { -ELS_FN_DTAG_LNK_INTEGRITY =0x00020001 ,/* Link Integrity */ -ELS_FN_DTAG_PEER_CONGEST =0x00020003 ,/* Peer Congestion */ -ELS_FN_DTAG_CONGESTION =0x00020004 ,/* Congestion */ -}; +#define FC_FPIN_LI_EVT_TYPES_INIT { \ + { FPIN_LI_UNKNOWN, "Unknown" }, \ + { FPIN_LI_LINK_FAILURE, "Link Failure" }, \ + { FPIN_LI_LOSS_OF_SYNC, "Loss of Synchronization" }, \ + { FPIN_LI_LOSS_OF_SIG, "Loss of Signal" }, \ + { FPIN_LI_PRIM_SEQ_ERR, "Primitive Sequence Protocol Error" }, \ + { FPIN_LI_INVALID_TX_WD, "Invalid Transmission Word" }, \ + { FPIN_LI_INVALID_CRC, "Invalid CRC" }, \ + { FPIN_LI_DEVICE_SPEC, "Device Specific" }, \ +} +/* -* Fabric Notification Descriptor +* Link Integrity Notification Descriptor */ -struct fc_fn_desc { -__be32 fn_desc_tag;/* Notification Descriptor Tag */ -__be32 fn_desc_value_len;/* Length of Descriptor Value field -* (in bytes) -*/ -__u8 fn_desc_value[0 ];/* Descriptor Value */ +struct fc_fn_li_desc { +__be32 desc_tag;/* Descriptor Tag (0x00020001) */ +__be32 desc_len;/* Length of Descriptor (in bytes). +* Size of descriptor excluding +* desc_tag and desc_len fields. +*/ +__be64 detecting_wwpn;/* Port Name that detected event */ +__be64 attached_wwpn;/* Port Name of device attached to +* detecting Port Name +*/ +__be16 event_type;/* see enum fc_fpin_li_event_types */ +__be16 event_modifier;/* Implementation specific value +* describing the event type +*/ +__be32 event_threshold;/* duration in ms of the link +* integrity detection cycle +*/ +__be32 event_count;/* minimum number of event +* occurrences during the event +* threshold to caause the LI event +*/ +__be32 pname_count;/* number of portname_list elements */ +__be64 pname_list[0 ];/* list of N_Port_Names accessible +* through the attached port +*/ };/*
@@ -845,8 +978,56 @@ struct fc_fn_desc {struct fc_els_fpin {__u8 fpin_cmd;/* command (0x16) */ __u8 fpin_zero[3 ];/* specified as zero - part of cmd */ -__be32 fpin_desc_cnt;/* count of descriptors */ -struct fc_fn_desc fpin_desc[0 ];/* Descriptor list */ +__be32 desc_len;/* Length of Descriptor List (in bytes). +* Size of ELS excluding fpin_cmd, +* fpin_zero and desc_len fields. +*/ +struct fc_tlv_desc fpin_desc[0 ];/* Descriptor list */ +}; + +/* Diagnostic Function Descriptor - FPIN Registration */ +struct fc_df_desc_fpin_reg { +__be32 desc_tag;/* FPIN Registration (0x00030001) */ +__be32 desc_len;/* Length of Descriptor (in bytes). +* Size of descriptor excluding +* desc_tag and desc_len fields. +*/ +__be32 count;/* Number of desc_tags elements */ +__be32 desc_tags[0 ];/* Array of Descriptor Tags. +* Each tag indicates a function +* supported by the N_Port (request) +* or by the N_Port and Fabric +* Controller (reply; may be a subset +* of the request). +* See ELS_FN_DTAG_xxx for tag values. +*/ }; +/* +* ELS_RDF - Register Diagnostic Functions +*/ +struct fc_els_rdf { +__u8 fpin_cmd;/* command (0x19) */ +__u8 fpin_zero[3 ];/* specified as zero - part of cmd */ +__be32 desc_len;/* Length of Descriptor List (in bytes). +* Size of ELS excluding fpin_cmd, +* fpin_zero and desc_len fields. +*/ +struct fc_tlv_desc desc[0 ];/* Descriptor list */ +}; + +/* +* ELS RDF LS_ACC Response. +*/ +struct fc_els_rdf_resp { +struct fc_els_ls_acc acc_hdr; +__be32 desc_list_len;/* Length of response (in +* bytes). Excludes acc_hdr +* and desc_list_len fields. +*/ +struct fc_els_lsri_desc lsri; +struct fc_tlv_desc desc[0 ];/* Supported Descriptor list */ +}; + +#endif /* _FC_ELS_H_ */
Signature · 1 line
2.13.7
kbuild test robot
build botRe: [PATCH v2 1/2] fc: Update Descriptor definition and add RDF and Link Integrity FPINs
I love your patch! Yet something to improve:
Hi James,
I love your patch! Yet something to improve:
[auto build test ERROR on scsi/for-next]
[also build test ERROR on mkp-scsi/for-next linus/master v5.6-rc1 next-20200213] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system. BTW, we also suggest to use '--base' option to specify the base tree in git format-patch, please see https://stackoverflow.com/a/37406982]
url: https://github.com/0day-ci/linux/commits/James-Smart/lpfc-Add-Link-Integrity-FPIN-registration-and-logging/20200213-051448 base: https://git.kernel.org/pub/scm/linux/kernel/git/jejb/scsi.git for-next config: i386-randconfig-g002-20200213 (attached as .config) compiler: gcc-7 (Debian 7.5.0-4) 7.5.0 reproduce: # save the attached .config to linux build tree make ARCH=i386
If you fix the issue, kindly add following tag
All error/warnings (new ones prefixed by >>):
In file included from <command-line>:32:0:
./usr/include/scsi/fc/fc_els.h: In function 'fc_tlv_next_desc':
>> ./usr/include/scsi/fc/fc_els.h:274:4: error: implicit declaration of function 'be32_to_cpu'; did you mean '__be32_to_cpu'? [-Werror=implicit-function-declaration]
(be32_to_cpu((tlv)->desc_len) + FC_TLV_DESC_HDR_SZ)
^
>> ./usr/include/scsi/fc/fc_els.h:286:17: note: in expansion of macro 'FC_TLV_DESC_SZ_FROM_LENGTH'
return (desc + FC_TLV_DESC_SZ_FROM_LENGTH(tlv));
^~~~~~~~~~~~~~~~~~~~~~~~~~cc1: some warnings being treated as errors
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all(a)lists.01.org
Re: [PATCH v2 1/2] fc: Update Descriptor definition and add RDF and Link Integrity FPINs
Quoted 28 lines · kbuild test robot
Hi James,
I love your patch! Yet something to improve:
[auto build test ERROR on scsi/for-next]
[also build test ERROR on mkp-scsi/for-next linus/master v5.6-rc1 next-20200213] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system. BTW, we also suggest to use '--base' option to specify the base tree in git format-patch, please see https://stackoverflow.com/a/37406982]url: https://github.com/0day-ci/linux/commits/James-Smart/lpfc-Add-Link-Integrity-FPIN-registration-and-logging/20200213-051448 base: https://git.kernel.org/pub/scm/linux/kernel/git/jejb/scsi.git for-next config: i386-randconfig-g002-20200213 (attached as .config) compiler: gcc-7 (Debian 7.5.0-4) 7.5.0 reproduce: # save the attached .config to linux build tree make ARCH=i386If you fix the issue, kindly add following tag
Reported-by kbuild test robot <[email protected]>All error/warnings (new ones prefixed by >>):
In file included from <command-line>:32:0:
./usr/include/scsi/fc/fc_els.h: In function 'fc_tlv_next_desc':Quoted 1 line
Quoted 1 line
./usr/include/scsi/fc/fc_els.h:274:4: error: implicit declaration of function 'be32_to_cpu'; did you mean '__be32_to_cpu'? [-Werror=implicit-function-declaration](be32_to_cpu((tlv)->desc_len) + FC_TLV_DESC_HDR_SZ) ^
Quoted 9 lines
Quoted 1 line
Quoted 1 line
./usr/include/scsi/fc/fc_els.h:286:17: note: in expansion of macro 'FC_TLV_DESC_SZ_FROM_LENGTH'return (desc + FC_TLV_DESC_SZ_FROM_LENGTH(tlv)); ^~~~~~~~~~~~~~~~~~~~~~~~~~ cc1: some warnings being treated as errors---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/[email protected]
Can you tell me what it was that was built that failed.
This should have been addressed by the "#include <asm/byteorder.h>" at the top of the header.
I'm suspecting it's a non-kernel entity, so the header didn't resolve as it should (perhaps the suggestion should be used instead).
-- james
PATCH v2 2/2 lpfc: add RDF registration and Link Integrity FPIN logging
In reply to James SmartThis patch modifies lpfc to register for Link Integrity events via the use of an RDF ELS and to perform Link Integrity FPIN logging.
Specifically, the driver was modified to:
- Format and issue the RDF ELS immediately following SCR registration. This registers the ability of the driver to receive FPIN ELS.
- Adds decoding of the FPIN els into the received descriptors, with logging of the Link Integrity event information. After decoding, the ELS is delivered to the scsi fc transport to be delivered to any user-space applications.
- To aid in logging, simple helpers were added to create enum to name string lookup functions that utilize the initialization helpers from the fc_els.h header.
- Note: base header definitions for the ELS's don't populate the descriptor payloads. As such, lpfc creates it's own version of the structures, using the base definitions (mostly headers) and additionally declaring the descriptors that will complete the population of the ELS.
---
v2:
Slight spacing mod
Reference reg_d1.desc_tags rather than reg_d1.reg_desc.desc_tags. The
latter is an empty array, and the former is the backing for that array. Should be better for code checkers that are comparing against array bounds
--- drivers/scsi/lpfc/lpfc.h | 29 ++++ drivers/scsi/lpfc/lpfc_crtn.h | 3 +- drivers/scsi/lpfc/lpfc_els.c | 324 ++++++++++++++++++++++++++++++++++++--- drivers/scsi/lpfc/lpfc_hbadisc.c | 4 +- drivers/scsi/lpfc/lpfc_hw.h | 4 +- drivers/scsi/lpfc/lpfc_hw4.h | 19 +++ drivers/scsi/lpfc/lpfc_sli.c | 1 + 7 files changed, 361 insertions(+), 23 deletions(-)
drivers/scsi/lpfc/lpfc.h +29 -0
@@ -1353,3 +1353,32 @@ lpfc_sli4_mod_hba_eq_delay(struct lpfc_hba *phba, struct lpfc_queue *eq,writel (reg_data.word0, phba->sli4_hba.u.if_type2.EQDregaddr); eq->q_mode = delay; } + + +/* +* Macro that declares tables and a routine to perform enum type to +* ascii string lookup. +* +* Defines a <key,value> table for an enum. Uses xxx_INIT defines for +* the enum to populate the table. Macro defines a routine (named +* by caller) that will search all elements of the table for the key +* and return the name string if found or "Unrecognized" if not found. +*/ +#define DECLARE_ENUM2STR_LOOKUP (routine, enum_name, enum_init) \ +static struct { \ + enum enum_name value; \ + char *name; \ +} fc_##enum_name##_e2str_names[] = enum_init; \ +static const char *routine(enum enum_name table_key) \ +{ \ + int i; \ + char *name = "Unrecognized"; \ + \ + for (i = 0; i < ARRAY_SIZE(fc_##enum_name##_e2str_names); i++) {\ + if (fc_##enum_name##_e2str_names[i].value == table_key) {\ + name = fc_##enum_name##_e2str_names[i].name; \ + break; \ + } \ + } \ + return name; \ +}
drivers/scsi/lpfc/lpfc_crtn.h +2 -1
@@ -140,9 +140,10 @@ int lpfc_issue_els_prli(struct lpfc_vport *, struct lpfc_nodelist *, uint8_t);int lpfc_issue_els_adisc (struct lpfc_vport *,struct lpfc_nodelist *,uint8_t );int lpfc_issue_els_logo (struct lpfc_vport *,struct lpfc_nodelist *,uint8_t );int lpfc_issue_els_npiv_logo (struct lpfc_vport *,struct lpfc_nodelist *); -int lpfc_issue_els_scr (struct lpfc_vport *,uint32_t ,uint8_t ); +int lpfc_issue_els_scr (struct lpfc_vport *vport,uint8_t retry);int lpfc_issue_els_rscn (struct lpfc_vport *vport,uint8_t retry);int lpfc_issue_fabric_reglogin (struct lpfc_vport *); +int lpfc_issue_els_rdf (struct lpfc_vport *vport,uint8_t retry);int lpfc_els_free_iocb (struct lpfc_hba *,struct lpfc_iocbq *);int lpfc_ct_free_iocb (struct lpfc_hba *,struct lpfc_iocbq *); int lpfc_els_rsp_acc(struct lpfc_vport *, uint32_t, struct lpfc_iocbq *,
drivers/scsi/lpfc/lpfc_els.c +304 -20
399 lines not on this page · raw message
drivers/scsi/lpfc/lpfc_hbadisc.c +3 -1
@@ -4089,7 +4089,9 @@ lpfc_mbx_cmpl_ns_reg_login(struct lpfc_hba *phba, LPFC_MBOXQ_t *pmb) FC_TYPE_NVME);/* Issue SCR just before NameServer GID_FT Query */ -lpfc_issue_els_scr (vport,SCR_DID ,0 ); +lpfc_issue_els_scr (vport,0 ); + +lpfc_issue_els_rdf (vport,0 ); } vport->fc_ns_retry =0 ;
drivers/scsi/lpfc/lpfc_hw.h +3 -1
@@ -22,7 +22,7 @@#define FDMI_DID 0xfffffaU#define NameServer_DID 0xfffffcU -#define SCR_DID 0xfffffdU +#define Fabric_Cntl_DID 0xfffffdU#define Fabric_DID 0xfffffeU#define Bcast_DID 0xffffffU#define Mask_DID 0xffffffU
@@ -588,6 +588,7 @@ struct fc_vft_header {#define ELS_CMD_RRQ 0x12000000#define ELS_CMD_REC 0x13000000#define ELS_CMD_RDP 0x18000000 +#define ELS_CMD_RDF 0x19000000#define ELS_CMD_PRLI 0x20100014#define ELS_CMD_NVMEPRLI 0x20140018#define ELS_CMD_PRLO 0x21100014
@@ -629,6 +630,7 @@ struct fc_vft_header {#define ELS_CMD_RRQ 0x12#define ELS_CMD_REC 0x13#define ELS_CMD_RDP 0x18 +#define ELS_CMD_RDF 0x19#define ELS_CMD_PRLI 0x14001020#define ELS_CMD_NVMEPRLI 0x18001420#define ELS_CMD_PRLO 0x14001021
drivers/scsi/lpfc/lpfc_hw4.h +19 -0
@@ -20,6 +20,8 @@* included with this package. * *******************************************************************/ +#include <uapi/scsi/fc/fc_els.h> +/* Macros to deal with bit fields. Each bit field must have 3 #defines * associated with it (_SHIFT, _MASK, and _WORD). * EG. For a bit field that is in the 7th bit of the "field4" field of a
@@ -4795,6 +4797,23 @@ struct send_frame_wqe {uint32_t fc_hdr_wd5;/* word 15 */ }; +#define ELS_RDF_REG_TAG_CNT 1 +struct lpfc_els_rdf_reg_desc { +struct fc_df_desc_fpin_reg reg_desc;/* descriptor header */ +__be32 desc_tags[ELS_RDF_REG_TAG_CNT ]; +/* tags in reg_desc */ +}; + +struct lpfc_els_rdf_req { +struct fc_els_rdf rdf;/* hdr up to descriptors */ +struct lpfc_els_rdf_reg_desc reg_d1;/* 1st descriptor */ +}; + +struct lpfc_els_rdf_rsp { +struct fc_els_rdf_resp rdf_resp;/* hdr up to descriptors */ +struct lpfc_els_rdf_reg_desc reg_d1;/* 1st descriptor */ +}; +union lpfc_wqe {uint32_t words[16 ];struct lpfc_wqe_generic generic;
drivers/scsi/lpfc/lpfc_sli.c +1 -0
@@ -9459,6 +9459,7 @@ lpfc_sli4_iocb2wqe(struct lpfc_hba *phba, struct lpfc_iocbq *iocbq,if (if_type >=LPFC_SLI_INTF_IF_TYPE_2 ) { if (pcmd && (*pcmd == ELS_CMD_FLOGI || *pcmd == ELS_CMD_SCR || + *pcmd == ELS_CMD_RDF || *pcmd == ELS_CMD_RSCN_XMT || *pcmd == ELS_CMD_FDISC || *pcmd == ELS_CMD_LOGO ||
Signature · 1 line
2.13.7
James,
Quoted 8 lines
This patch adds the RDF ELS to the driver to register to receive Link Integrity FPINs from the fabric. The driver also adds logging of the elements contained in the FPIN before delivering it to the scsi fc transport.
As part of the patch, the
uapi/scsi/fc/fc_els.hheader is updated with the FC standards definitions for the RDF and FPIN ELS and their components.
Applied to 5.7/scsi-queue with kbuild fixed rolled in. Thanks!
Signature · 1 line
Martin K. Petersen Oracle Linux Engineering