Lines Matching refs:conn_id
28 static void bnx2fc_free_conn_id(struct bnx2fc_hba *hba, u32 conn_id);
57 * port will be logged off, and conn_id, session
375 BNX2FC_TGT_DBG(tgt, "init_tgt - conn_id = 0x%x\n", tgt->fcoe_conn_id);
618 u32 conn_id, next;
630 conn_id = hba->next_conn_id++;
634 while (hba->tgt_ofld_list[conn_id] != NULL) {
635 conn_id++;
636 if (conn_id == BNX2FC_NUM_MAX_SESS)
637 conn_id = 0;
639 if (conn_id == next) {
645 hba->tgt_ofld_list[conn_id] = tgt;
646 tgt->fcoe_conn_id = conn_id;
648 return conn_id;
651 static void bnx2fc_free_conn_id(struct bnx2fc_hba *hba, u32 conn_id)
655 hba->tgt_ofld_list[conn_id] = NULL;