Lines Matching defs:ndlp
74 #define LPFC_SLI4_MAX_XRI 1024 /* Used to make the ndlp's xri_bitmap */
119 uint16_t nlp_usg_map; /* ndlp management usage bitmap */
120 #define NLP_USG_NODE_ACT_BIT 0x1 /* Indicate ndlp is actively used */
121 #define NLP_USG_IACT_REQ_BIT 0x2 /* Request to inactivate ndlp */
122 #define NLP_USG_FREE_REQ_BIT 0x4 /* Request to invoke ndlp memory free */
123 #define NLP_USG_FREE_ACK_BIT 0x8 /* Indicate ndlp memory free invoked */
154 struct lpfc_nodelist *ndlp;
158 #define lpfc_ndlp_check_qdepth(phba, ndlp) \
159 (ndlp->cmd_qdepth < phba->sli4_hba.max_cfg_param.max_xri)
175 #define NLP_DEFER_RM 0x00010000 /* Remove this ndlp if no longer used */
195 /* ndlp usage management macros */
196 #define NLP_CHK_NODE_ACT(ndlp) (((ndlp)->nlp_usg_map \
199 !((ndlp)->nlp_usg_map \
201 #define NLP_SET_NODE_ACT(ndlp) ((ndlp)->nlp_usg_map \
203 #define NLP_INT_NODE_ACT(ndlp) ((ndlp)->nlp_usg_map \
205 #define NLP_CLR_NODE_ACT(ndlp) ((ndlp)->nlp_usg_map \
207 #define NLP_CHK_IACT_REQ(ndlp) ((ndlp)->nlp_usg_map \
209 #define NLP_SET_IACT_REQ(ndlp) ((ndlp)->nlp_usg_map \
211 #define NLP_CHK_FREE_REQ(ndlp) ((ndlp)->nlp_usg_map \
213 #define NLP_SET_FREE_REQ(ndlp) ((ndlp)->nlp_usg_map \
215 #define NLP_CHK_FREE_ACK(ndlp) ((ndlp)->nlp_usg_map \
217 #define NLP_SET_FREE_ACK(ndlp) ((ndlp)->nlp_usg_map \