From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from IMSVA.IN.MEGATRENDS.COM (IMSVA.IN.MEGATRENDS.COM [14.98.235.2]) by mx.groups.io with SMTP id smtpd.web10.10932.1594991209351055887 for ; Fri, 17 Jul 2020 06:06:50 -0700 Authentication-Results: mx.groups.io; dkim=missing; spf=none, err=SPF record not found (domain: amiindia.co.in, ip: 14.98.235.2, mailfrom: sivaramann@amiindia.co.in) Received: from IMSVA.IN.MEGATRENDS.COM (IMSVA.IN.MEGATRENDS.COM [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 1AACE82060; Fri, 17 Jul 2020 18:45:13 +0530 (IST) Received: from IMSVA.IN.MEGATRENDS.COM (IMSVA.IN.MEGATRENDS.COM [127.0.0.1]) by IMSVA (Postfix) with ESMTP id D039E820A0; Fri, 17 Jul 2020 18:44:32 +0530 (IST) Received: from webmail.amiindia.co.in (venus2.in.megatrends.com [10.0.0.7]) by IMSVA.IN.MEGATRENDS.COM (Postfix) with ESMTPS; Fri, 17 Jul 2020 18:44:32 +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; Fri, 17 Jul 2020 17:37:26 +0530 From: "Sivaraman Nainar" To: "devel@edk2.groups.io" CC: "jiaxin.wu@intel.com" Subject: Reg: TCP Port for ISCSI Connection Thread-Topic: TCP Port for ISCSI Connection Thread-Index: AdZcMQrZhnonGfLbRHu342pRW6O7mQ== Date: Fri, 17 Jul 2020 12:09:06 +0000 Message-ID: Accept-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [106.198.82.233] MIME-Version: 1.0 X-TM-AS-GCONF: 00 X-TM-AS-Product-Ver: IMSVA-9.1.0.1817-8.5.0.1020-25546.005 X-TM-AS-Result: No--15.577-5.0-31-10 X-imss-scan-details: No--15.577-5.0-31-10 X-TMASE-Version: IMSVA-9.1.0.1817-8.5.1020-25546.005 X-TMASE-Result: 10--15.576700-10.000000 X-TMASE-MatchedRID: ilfN7yuQlHXxVhA9+h9R2rixxDRpftwP6qG5M9QNAO22a8Gr1LCHzUeq pHxJHwIRFPxuczF0O66zOe0eDqUI9HDHF4nHLYY+SVHYMTQ1F1pKRaXN2yYjHg/lxjoYGf+HVwF +ONe29hoA2mHSFvmkgH6hLXtY5c5fN8448W1HfRIpSdnOjZRAPaUYIgxuvuD+bPfGfHxv+pE6Rv 9YN97Y5uQKpH4b+vMHfILl67YGAqbR32bMWCLq6O9VsdrlGzy3Q6/DFZugyt27/NQTVI1I+YzS8 a3MSlYlLYfO3d0m6h2/LUPnfvvbV2H39wOZ1o5GIf0TE1VduNsZ8RJ4fqmXhkdmDSBYfnJR2jgV mhKlDxhbs3Z6DpLJdHW/UmbB9SFs5iGCbOs1MGuYvybQm0otUxq0pobeLLAHcUOBRtu5sNuFAf5 iylR8Wo0ogGHrw9oBQUUiDKo91ackrPqUxWOobnL1TJ3FgoWZ9tsb8ukh8we8NrbzjPvzJ7CXFc vucGFAiSkAcoJTZwfrZ6ORa+O0FG+H56ZB7Eu7q5uw61JZjZCAMuqetGVeto1kLJo+k6NyFnjKV TYbDMDZs3HUcS/scF82MXkEdQ77fCWCCrobXg70RTOB0eLfUrMWRSE51OfKuzxNC2T0WsCpX7eJ oceFmQ== X-TMASE-SNAP-Result: 1.821001.0001-0-1-12:0,22:0,33:0,34:0-0 Content-Language: en-US Content-Type: multipart/alternative; boundary="_000_B4DE137BDB63634BAC03BD9DE765F19702B4B1C86CVENUS1inmegat_" --_000_B4DE137BDB63634BAC03BD9DE765F19702B4B1C86CVENUS1inmegat_ Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Hello all: In the ISCSI driver, Target TCP Port Input shows the default port as 3260. = Which can be set from 0 to 65535 As per below RFC it talks about the Default Port only. Still it not clearly= said if we can use the numbers 49152-65535 which is reserved. https://tools.ietf.org/html/rfc3720 13. IANA Considerations This section conforms to [RFC2434]. The well-known user TCP port number for iSCSI connections assigned by IANA is 3260 and this is the default iSCSI port. Implementations needing a system TCP port number may use port 860, the port assigned by IANA as the iSCSI system port; however in order to use port 860, it MUST be explicitly specified - implementations MUST NOT default to use of port 860, as 3260 is the only allowed default. with my understanding, it wouid be good if we can change the below Min and = MAX port number ranges with right ranges. #define TARGET_PORT_MIN_NUM 0 #define TARGET_PORT_MAX_NUM 65535 Thanks Siva --_000_B4DE137BDB63634BAC03BD9DE765F19702B4B1C86CVENUS1inmegat_ Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable

Hello all:

 

In the ISCSI driver, Target TCP Port Input shows the= default port as 3260. Which can be set from 0 to 65535

 

As per below RFC it talks about the Default Port onl= y. Still it not clearly said if we can use the numbers 49152-65535 which is= reserved.

https://tools.ietf.org/html/rfc3720

13. IANA Considerations

This section conforms to [RFC2434].

The well-known user TCP port number for iSCSI connections assigned by
IANA is 3260 and this is the default iSCSI port. Implementations
needing a system TCP port number may use port 860, the port assigned
by IANA as the iSCSI system port; however in order to use port 860,
it MUST be explicitly specified - implementations MUST NOT default to
use of port 860, as 3260 is the only allowed default.

with my understanding, it wouid be good if we can change the below Min and&= nbsp; MAX port number ranges with right ranges.

 

#define TARGET_PORT_MIN_NUM    &= nbsp;  0

#define TARGET_PORT_MAX_NUM    &= nbsp;  65535

 

Thanks

Siva

--_000_B4DE137BDB63634BAC03BD9DE765F19702B4B1C86CVENUS1inmegat_--