From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received-SPF: None (no SPF record) identity=mailfrom; client-ip=203.199.198.232; helo=imsva.in.megatrends.com; envelope-from=karunakarp@amiindia.co.in; receiver=edk2-devel@lists.01.org Received: from IMSVA.IN.MEGATRENDS.COM (Webmail.amiindia.co.in [203.199.198.232]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ml01.01.org (Postfix) with ESMTPS id CD70020945BA7 for ; Mon, 9 Oct 2017 20:23:26 -0700 (PDT) Received: from IMSVA.IN.MEGATRENDS.COM (IMSVA.IN.MEGATRENDS.COM [127.0.0.1]) by IMSVA (Postfix) with ESMTP id A12368205B; Tue, 10 Oct 2017 08:59:41 +0530 (IST) Received: from IMSVA.IN.MEGATRENDS.COM (IMSVA.IN.MEGATRENDS.COM [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 80B9D8205A; Tue, 10 Oct 2017 08:59:41 +0530 (IST) Received: from webmail.amiindia.co.in (venus2.in.megatrends.com [10.0.0.7]) by IMSVA.IN.MEGATRENDS.COM (Postfix) with ESMTPS; Tue, 10 Oct 2017 08:59:41 +0530 (IST) Received: from VENUS1.in.megatrends.com ([fe80::951:7975:6ecf:eae5]) by Venus2.in.megatrends.com ([fe80::2002:4a07:4f17:c09b%14]) with mapi id 14.03.0248.002; Tue, 10 Oct 2017 08:56:50 +0530 From: Karunakar P To: "'Ye, Ting'" , "Wu, Jiaxin" , "'edk2-devel@lists.01.org'" CC: "Fu, Siyuan" Thread-Topic: Different ISCSI behavior when 2 attempts are added Thread-Index: AQHTQXP8UYtWEnDCzk69NiT0jwwVdqLcCw4AgABg1VA= Date: Tue, 10 Oct 2017 03:26:49 +0000 Message-ID: References: <895558F6EA4E3B41AC93A00D163B72741633C7A8@SHSMSX103.ccr.corp.intel.com> In-Reply-To: Accept-Language: en-GB, en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.0.84.128] MIME-Version: 1.0 X-TM-AS-GCONF: 00 X-TM-AS-Product-Ver: IMSVA-9.1.0.1600-8.1.0.1062-23382.004 X-TM-AS-Result: No--14.584-5.0-31-10 X-imss-scan-details: No--14.584-5.0-31-10 X-TMASE-Version: IMSVA-9.1.0.1600-8.1.1062-23382.004 X-TMASE-Result: 10--14.583500-10.000000 X-TMASE-MatchedRID: ZFzIhWOuIztxWR+9hcFWA+YAh37ZsBDC1kqyrcMalqXqFlTg1wFn3NLu X2hj/M7UmoWs5Zxz407dzFbj/v8t3Qdl6UTvFWjt4bl1FkKDELenD6758QUc0Vc/Cedjlcvkakq BCNYGwQ0YMEUnss/6rMjgOdLT9ucEVCFefQRV3M7uykw7cfAoIDcah+QZUHeOcPDElbD+F/JFHk YRmOFTHWt/LS1bbm5nSaVfaxxV94/trubt8TkL4cG0UNgaZpYqGsvgUMYAn4WW+zaNLK605OygQ WdkAVMs0Nt5/j+aSDEUI4s17Ql301mKiy1F9pgLQesjq8XPMbt3Bf9JIqsoeEbaqUVvLFsiakcq 2RAHKcpj6nYvURA3nX+yPj/DkaXJnNB/AFEuSBkc9jA4mLo8uaX1XMd/SqvuEB0PuwJG07GZtwp GbMkRhcJpuYMPeOMPuq5s1N5yYVAOVaHFOAhc6tsfxZpQv2qMtPGelsKOu4ijnkp/HAlLXCxZV2 XdhwOwty25oFQme1V+1GnKwbE9BhvVxZLseBRpuIwLnB3Aqp2srdYl8deiLbLLTvamG8BJo8WMk QWv6iXgT2zXYa9/nT3qzHKAhsUYec3QM3secWbEOK4I9ok+a+QJjhibqnRJhiaYNiwpvnUzD//a sQZYIqVqBYWvVqnvimE0rb/EzJhaoDQ3Tw86yCULGx5CD2pWz0qHD5AzkDN+3BndfXUhXQ== X-TMASE-SNAP-Result: 1.821001.0001-0-1-12:0,22:0,33:0,34:0,39:0-0 X-Content-Filtered-By: Mailman/MimeDel 2.1.22 Subject: Re: Different ISCSI behavior when 2 attempts are added X-BeenThere: edk2-devel@lists.01.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: EDK II Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 10 Oct 2017 03:23:27 -0000 Content-Language: en-US Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Will try with Updating to "Enabled for MPIO". Thanks for your great support, Karunakar From: Ye, Ting [mailto:ting.ye@intel.com] Sent: Tuesday, October 10, 2017 8:39 AM To: Wu, Jiaxin; Karunakar P; 'edk2-devel@lists.01.org' Cc: Fu, Siyuan Subject: RE: Different ISCSI behavior when 2 attempts are added Yes, I agree that it is the implementation's choice. If you need Attempt 1 = in Case 2&4, try to update "Enabled" to "Enabled for MPIO". Thanks, Ting Ye From: Wu, Jiaxin Sent: Tuesday, October 10, 2017 11:01 AM To: Karunakar P >; 'edk2-devel@lists.01.org' > Cc: Ye, Ting >; Fu, Siyuan > Subject: RE: Different ISCSI behavior when 2 attempts are added Hi Karunakar, I think it's not the bug according the current iSCSI implementation that t= he first login session will be selected while others are aborted directly. = Here, IP4 is the first login session. I didn't find any state that the first attempt should be connected. Ting an= d Siyuan, If anything wrong, please correct me. Thanks, Jiaxin From: Karunakar P [mailto:karunakarp@amiindia.co.in] Sent: Monday, October 9, 2017 10:52 PM To: 'edk2-devel@lists.01.org' > Cc: Wu, Jiaxin >; Ye, Ting = >; Fu, Siyuan > Subject: Re: Different ISCSI behavior when 2 attempts are added Hello All, Found the below behavior when I try for ISCSI connection with 2 Valid attem= pts. Case 1: Attempt 1---Enabled(ISCSI Mode)---IP4----Enabled(Initiator DHCP)---Disabled= (Target DHCP)--->Valid Attempt Attempt 2---Enabled(ISCSI Mode)---IP6----Enabled(Initiator DHCP)---Disabled= (Target DHCP)--->Valid Attempt EDK2 RESULT:- Attempt1(IP4) connected and shown in shell ,Attempt2 tried bu= t session does not exist Case 2: Attempt 1---Enabled(ISCSI Mode)---IP6----Enabled(Initiator DHCP)---Disabled= (Target DHCP)--->Valid Attempt Attempt 2---Enabled(ISCSI Mode)---IP4----Enabled(Initiator DHCP)---Disabled= (Target DHCP)--->Valid Attempt EDK2 RESULT:- Attempt2(IP4) connected and shown in shell ,Attempt1 tried bu= t session does not exist Case 3: Attempt 1---Enabled(ISCSI Mode)---Autoconfigure --->Valid Attempt Attempt 2---Enabled(ISCSI Mode)---IP6----Enabled(Initiator DHCP)---Disabled= (Target DHCP)--->Valid Attempt EDK2 RESULT:- Attempt1(IP4) connected and shown in shell ,Attempt2 tried bu= t session does not exist Case 4: Attempt 1---Enabled(ISCSI Mode)---IP6--->Valid Attempt Attempt 2---Enabled(ISCSI Mode)---Autoconfigure ----Enabled(Initiator DHCP)= ---Disabled(Target DHCP)--->Valid Attempt EDK2 RESULT:- Attempt2(IP4) connected and shown in shell ,Attempt1 tried bu= t session does not exist 1. Case1 & Case3 looks fine as 1st valid attempt connected 2. But Case2 & Case4 looks bit different, 1St attempt was valid but c= onnection success with 2nd attempt 3. As we found that IScsiIp4 Driver Binding Start is getting call fir= st and processing the IP4 attempt first even though it is 2nd attempt Could you please comment on this whether this is a bug or Not? Thanks, Karunakar