Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755433Ab1DKSha (ORCPT ); Mon, 11 Apr 2011 14:37:30 -0400 Received: from moutng.kundenserver.de ([212.227.126.186]:56201 "EHLO moutng.kundenserver.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755260Ab1DKSh3 (ORCPT ); Mon, 11 Apr 2011 14:37:29 -0400 Message-ID: <4DA34A52.6020409@vlnb.net> Date: Mon, 11 Apr 2011 22:37:06 +0400 From: Vladislav Bolkhovitin User-Agent: Mozilla/5.0 (X11; U; Linux i686 (x86_64); en-US; rv:1.9.2.13) Gecko/20101208 Mnenhy/0.8.3 Thunderbird/3.1.7 MIME-Version: 1.0 To: "Nicholas A. Bellinger" CC: linux-scsi , linux-kernel , James Bottomley , Christoph Hellwig , Hannes Reinecke , Mike Christie , Madhu Iyengar , Andrew Vasquez , Ruediger Oertel , Andy Grover Subject: Re: [RFC-v3 2/3] qla2xxx: Enable 2xxx series LLD target mode support References: <1301980307-14778-1-git-send-email-nab@linux-iscsi.org> <1301980307-14778-3-git-send-email-nab@linux-iscsi.org> In-Reply-To: <1301980307-14778-3-git-send-email-nab@linux-iscsi.org> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Provags-ID: V02:K0:L+vTuai18vo1G+FcN/7NLazqQQOUCqMMrQSOo3ejuKr vhi1UGFyrM2iFKkH0Vz+bTC0baEEERcynYAqJdM9xLQxlLYPXm VlJVDfcT6NMyePRcDx5InNi1gPR37NSi6nG/ZNv6sSSlUBJWSc 2KmGgoFCp3zypIW010ddZiPdkR+nCLpy6EqIb+Fl8pfT2FQZ+8 gzbLd7p2olGj4YufT8UnQ== Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1843 Lines: 44 Nicholas A. Bellinger, on 04/05/2011 09:11 AM wrote: > From: Nicholas Bellinger > > This patch enables target mode support with the qla2xxx SCSI LLD using > qla_target.c logic introduced in commit f86d9fc734. This includes: > > *) Addition of target mode specific members to existing data > structures in qla_def.h and struct qla_hw_data->qla2x_tmpl using > qla_target.h:struct qla_target_template. > > *) Addition of struct qla_target_template and direct calls into > qla_target.c logic w/ qla_tgt_* prefixed functions. > > *) Addition of qla_iocb:qla2x00_req_pkt() for ring processing, and > qla2x00_issue_marker() for handling request/response queue processing > for target mode operation > > *) Addition of various qla_tgt_mode_enabled() logic checks in > qla24xx_nvram_config(), qla2x00_initialize_adapter(), qla2x00_rff_id(), > qla2x00_abort_isp(), qla24xx_modify_vp_config(), and qla2x00_vp_abort_isp(). > > For the specific checks for qla_hw_data->qla2x_tmpl this includes: > > *) control plane: > > qla_init.c:qla2x00_rport_del() -> qla_tgt_fc_port_deleted() > qla_init.c:qla2x00_reg_remote_port() -> qla_tgt_fc_port_added() > qla_init.c:qla2x00_device_resync() -> qla2x00_mark_device_lost() > > *) I/O path: > > qla_isr.c:qla2x00_async_event() -> qla_tgt_async_event() > qla_isr.c:qla2x00_process_response_queue() -> qla_tgt_response_pkt_all_vps() > qla_isr.c:qla24xx_process_response_queue() -> qla_tgt_response_pkt_all_vps() Most of this code was written by me and other SCST developers. How about to give proper credits to the original authors? Vlad -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/