From: Mike Christie <michaelc@cs.wisc.edu>
To: Jayamohan Kalickal <jayamohank@serverengines.com>
Cc: linux-scsi@vger.kernel.org, James.Bottomley@suse.de
Subject: Re: [PATCH 4/4] be2iscsi: code reorganizing and minor changes
Date: Thu, 19 Nov 2009 16:38:11 -0600 [thread overview]
Message-ID: <4B05C8D3.6040404@cs.wisc.edu> (raw)
In-Reply-To: <20091119222324.d192ab2d@mailhost.serverengines.com>
[-- Attachment #1: Type: text/plain, Size: 2460 bytes --]
Jayamohan Kalickal wrote:
> No, I haven't tested it with libiscsi fixups.
>
> The whole packet including header is passed upwards ,so, I don't see a reason it won't work.
>
> Will I get your changes in the latest git tree?
The kernel code is in scsi-misc (it is also in linux-2.6-iscsi but that
might not have your newer be2iscsi changes). For the kernel stuff you
will need the attached patch for be2iscsi.
For userspace support get the offload branch of the open-iscsi.git tree.
>
> -Jay
>
> _____
> From: Mike Christie [mailto:michaelc@cs.wisc.edu]
> To: Jayamohan Kalickal [mailto:jayamohank@serverengines.com]
> Cc: linux-scsi@vger.kernel.org, James.Bottomley@suse.de
> Sent: Thu, 19 Nov 2009 13:55:13 -0800
> Subject: Re: [PATCH 4/4] be2iscsi: code reorganizing and minor changes
>
> Jayamohan Kallickal wrote:
>> This patch does a couple of very small, mostly
>> single line changes which I feel will be an overkill to put in
>> individual patches
>>
>> 1) moved pci_set_drvdata to inside beiscsi_hba_alloc
>> 2) Enabled handling of TEXT Response
>> 3) Added opcode for ISCSI_OP_LOGOUT_RSP, ISCSI_OP_SCSI_TMFUNC_RSP,
>> 4) Ask for ack based completion for NOOPOUT and TTT != RESERVERD
>>
>
> I think in the future you still might want to separate these.
>
>
>> diff --git a/drivers/scsi/be2iscsi/be_main.c b/drivers/scsi/be2iscsi/be_main.c
>> index ac76b14..109482f 100644
>> --- a/drivers/scsi/be2iscsi/be_main.c
>> +++ b/drivers/scsi/be2iscsi/be_main.c
>
>
>> @@ -564,6 +565,8 @@ beiscsi_process_async_pdu(struct beiscsi_conn *beiscsi_conn,
>> login_hdr = (struct iscsi_hdr *)ppdu;
>> login_hdr->itt = io_task->libiscsi_itt;
>> break;
>> + case ISCSI_OP_TEXT_RSP:
>> + break;
>
>
> Is this the only thing needed for TEXT pdu handling? Did you test with
> my userspace changes and the libiscsi fixups?
>
> ___________________________________________________________________________________
> This message, together with any attachment(s), contains confidential and proprietary information of
> ServerEngines Corporation and is intended only for the designated recipient(s) named above. Any unauthorized
> review, printing, retention, copying, disclosure or distribution is strictly prohibited. If you are not the
> intended recipient of this message, please immediately advise the sender by reply email message and
> delete all copies of this message and any attachment(s). Thank you.
>
[-- Attachment #2: set-text-bit.patch --]
[-- Type: text/x-patch, Size: 542 bytes --]
diff --git a/drivers/scsi/be2iscsi/be_main.c b/drivers/scsi/be2iscsi/be_main.c
index d1e7e93..aebaf25 100644
--- a/drivers/scsi/be2iscsi/be_main.c
+++ b/drivers/scsi/be2iscsi/be_main.c
@@ -3293,7 +3293,7 @@ disable_pci:
struct iscsi_transport beiscsi_iscsi_transport = {
.owner = THIS_MODULE,
.name = DRV_NAME,
- .caps = CAP_RECOVERY_L0 | CAP_HDRDGST |
+ .caps = CAP_RECOVERY_L0 | CAP_HDRDGST | CAP_TEXT_NEGO |
CAP_MULTI_R2T | CAP_DATADGST | CAP_DATA_PATH_OFFLOAD,
.param_mask = ISCSI_MAX_RECV_DLENGTH |
ISCSI_MAX_XMIT_DLENGTH |
next prev parent reply other threads:[~2009-11-19 22:38 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-11-19 22:23 [PATCH 4/4] be2iscsi: code reorganizing and minor changes Jayamohan Kalickal
2009-11-19 22:38 ` Mike Christie [this message]
-- strict thread matches above, loose matches on Subject: below --
2009-11-18 0:43 Jayamohan Kallickal
2009-11-19 21:55 ` Mike Christie
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4B05C8D3.6040404@cs.wisc.edu \
--to=michaelc@cs.wisc.edu \
--cc=James.Bottomley@suse.de \
--cc=jayamohank@serverengines.com \
--cc=linux-scsi@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.