Hi,
We are using
*Soft-RoCE*
*Branch :* Master-Next
*Kernel :* 4.0.0
*Target :* targetcli-2.0rc1
*Soft-RoCE *is successfully implemented and its functionality is tested
using "*rping*".
Currently we are trying *iSER*, We can able to *transfer file with decent
bandwidth in USB based storage (like Hard disk)*.
*But while trying to do with ram disk we got errors in the NIC which we can
confirm in "ifconfig".*
Following is the target side setup
/iscsi/iqn.20...4e64d03/tpgt1> ls /
o- /
.........................................................................................................................
[...]
o- backstores
..............................................................................................................
[...]
| o- fileio
...................................................................................................
[0 Storage Object]
| o- iblock
...................................................................................................
[0 Storage Object]
| o- pscsi
....................................................................................................
[0 Storage Object]
| o- rd_dr
....................................................................................................
[0 Storage Object]
| o- rd_mcp
...................................................................................................
[1 Storage Object]
| o- iser_ram
..............................................................................................
[ramdisk activated]
o- ib_srpt
...........................................................................................................
[0 Targets]
o- iscsi
..............................................................................................................
[1 Target]
| o- iqn.2003-01.org.linux-iscsi.vchn145.x8664:sn.6a5474e64d03
........................................................... [1 TPG]
| o- tpgt1
...........................................................................................................
[enabled]
| o- acls
...........................................................................................................
[0 ACLs]
| o- luns
............................................................................................................
[1 LUN]
| | o- lun0
......................................................................................
[rd_mcp/iser_ram (ramdisk)]
| o- portals
......................................................................................................
[1 Portal]
| o- 192.168.1.11:3260
..................................................................................
[OK, iser enabled]
o- loopback
..........................................................................................................
[0 Targets]
o- qla2xxx
...........................................................................................................
[0 Targets]
o- tcm_fc
............................................................................................................
[0 Targets]
/iscsi/iqn.20...4e64d03/tpgt1>
and the ouptut of the "*ifconfig*" in the target side
root@VCHN145:~# ifconfig
eth0 Link encap:Ethernet HWaddr 34:17:eb:90:71:4e
inet addr:192.168.1.11 Bcast:192.168.1.255 Mask:255.255.255.0
inet6 addr: fe80::3617:ebff:fe90:714e/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:9200 Metric:1
* RX packets:3593182 errors:0 dropped:42879 overruns:0 frame:0*
TX packets:15269615 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:10502328423 (10.5 GB) TX bytes:1224120185 (1.2 GB)
root@VCHN145:~#
root@VCHN145:~#
Details of our *NIC :*
02:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd.
RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller (rev 10)
Subsystem: Dell Device 0632
Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr-
Stepping- SERR- FastB2B- DisINTx+
Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort-
<MAbort- >SERR- <PERR- INTx-
Latency: 0, Cache Line Size: 64 bytes
Interrupt: pin A routed to IRQ 46
Region 0: I/O ports at e000 [size=256]
Region 2: Memory at f7d04000 (64-bit, non-prefetchable) [size=4K]
Region 4: Memory at f7d00000 (64-bit, non-prefetchable) [size=16K]
Capabilities: [40] Power Management version 3
Flags: PMEClk- DSI- D1+ D2+ AuxCurrent=375mA PME(D0+,D1+,D2+,D3hot+,D3cold+)
Status: D3 NoSoftRst+ PME-Enable+ DSel=0 DScale=0 PME-
Capabilities: [50] MSI: Enable+ Count=1/1 Maskable- 64bit+
Address: 00000000fee0200c Data: 4142
Capabilities: [70] Express (v2) Endpoint, MSI 01
DevCap: MaxPayload 128 bytes, PhantFunc 0, Latency L0s <512ns, L1 <64us
ExtTag- AttnBtn- AttnInd- PwrInd- RBE+ FLReset-
DevCtl: Report errors: Correctable- Non-Fatal- Fatal- Unsupported-
RlxdOrd+ ExtTag- PhantFunc- AuxPwr- NoSnoop-
MaxPayload 128 bytes, MaxReadReq 4096 bytes
DevSta: CorrErr+ UncorrErr+ FatalErr- UnsuppReq+ AuxPwr+ TransPend-
LnkCap: Port #0, Speed 2.5GT/s, Width x1, ASPM L0s L1, Exit Latency L0s
unlimited, L1 <64us
ClockPM+ Surprise- LLActRep- BwNot-
LnkCtl: ASPM Disabled; RCB 64 bytes Disabled- CommClk+
ExtSynch- ClockPM- AutWidDis- BWInt- AutBWInt-
LnkSta: Speed 2.5GT/s, Width x1, TrErr- Train- SlotClk+ DLActive- BWMgmt-
ABWMgmt-
DevCap2: Completion Timeout: Range ABCD, TimeoutDis+, LTR+, OBFF Via
message/WAKE#
DevCtl2: Completion Timeout: 50us to 50ms, TimeoutDis-, LTR+, OBFF Disabled
LnkCtl2: Target Link Speed: 2.5GT/s, EnterCompliance- SpeedDis-
Transmit Margin: Normal Operating Range, EnterModifiedCompliance-
ComplianceSOS-
Compliance De-emphasis: -6dB
LnkSta2: Current De-emphasis Level: -6dB, EqualizationComplete-,
EqualizationPhase1-
EqualizationPhase2-, EqualizationPhase3-, LinkEqualizationRequest-
Capabilities: [b0] MSI-X: Enable- Count=4 Masked-
Vector table: BAR=4 offset=00000000
PBA: BAR=4 offset=00000800
Capabilities: [d0] Vital Product Data
Unknown small resource type 00, will not decode more.
Capabilities: [100 v2] Advanced Error Reporting
UESta: DLP- SDES- TLP- FCP- CmpltTO- CmpltAbrt- UnxCmplt- RxOF- MalfTLP-
ECRC- UnsupReq+ ACSViol-
UEMsk: DLP- SDES- TLP- FCP- CmpltTO- CmpltAbrt- UnxCmplt- RxOF- MalfTLP-
ECRC- UnsupReq- ACSViol-
UESvrt: DLP+ SDES+ TLP- FCP+ CmpltTO- CmpltAbrt- UnxCmplt- RxOF+ MalfTLP+
ECRC- UnsupReq- ACSViol-
CESta: RxErr+ BadTLP- BadDLLP- Rollover- Timeout- NonFatalErr+
CEMsk: RxErr- BadTLP- BadDLLP- Rollover- Timeout- NonFatalErr+
AERCap: First Error Pointer: 14, GenCap+ CGenEn- ChkCap+ ChkEn-
Capabilities: [140 v1] Virtual Channel
Caps: LPEVC=0 RefClk=100ns PATEntryBits=1
Arb: Fixed- WRR32- WRR64- WRR128-
Ctrl: ArbSelect=Fixed
Status: InProgress-
VC0: Caps: PATOffset=00 MaxTimeSlots=1 RejSnoopTrans-
Arb: Fixed- WRR32- WRR64- WRR128- TWRR128- WRR256-
Ctrl: Enable+ ID=0 ArbSelect=Fixed TC/VC=ff
Status: NegoPending- InProgress-
Capabilities: [160 v1] Device Serial Number 01-00-00-00-68-4c-e0-00
Capabilities: [170 v1] Latency Tolerance Reporting
Max snoop latency: 3145728ns
Max no snoop latency: 3145728ns
Capabilities: [178 v1] L1 PM Substates
L1SubCap: PCI-PM_L1.2+ PCI-PM_L1.1+ ASPM_L1.2+ ASPM_L1.1+ L1_PM_Substates+
PortCommonModeRestoreTime=150us PortTPowerOnTime=150us
Kernel driver in use: r8169
We suspect the error is ocuring in the enqueuing process.
Kindly help us with your valuable advice regarding how to solve this....
Is there any patch(s) need to be applied for solving this problem.
--
You received this message because you are subscribed to the Google Groups
"open-iscsi" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/open-iscsi.
For more options, visit https://groups.google.com/d/optout.