Commit a43afde2 authored by Andrea Petrucci's avatar Andrea Petrucci
Browse files

references #226: use GIDType for ptibv

parent 74304051
......@@ -90,7 +90,7 @@ class Context:
else:
properties = [
('networkInterface','string',interface),
('SGIDIndex','unsignedInt','3'),
('GIDType','string','v2'),
('portNumber','unsignedInt','1')
]
properties.extend([
......@@ -135,22 +135,13 @@ class Context:
('recvQueuePairSize','unsignedInt','1024')
])
elif self.role == 'RUBU':
if (maxMessageSize=='0x200000'):
properties.extend([
('senderPoolSize','unsignedLong','0x100000000'),
('receiverPoolSize','unsignedLong','0x100000000'), #maximum pool size with 65536 buffers of 131072 bytes
('completionQueueSize','unsignedInt','4200'),
('sendQueuePairSize','unsignedInt','146'),
('recvQueuePairSize','unsignedInt','146')
])
else:
properties.extend([
('senderPoolSize','unsignedLong','0x200000000'),
('receiverPoolSize','unsignedLong','0x200000000'), #maximum pool size with 65536 buffers of 131072 bytes
('completionQueueSize','unsignedInt','32400'),
('sendQueuePairSize','unsignedInt','1024'),
('recvQueuePairSize','unsignedInt','1024')
])
properties.extend([
('senderPoolSize','unsignedLong','0x200000000'),
('receiverPoolSize','unsignedLong','0x200000000'), #maximum pool size with 65536 buffers of 131072 bytes
('completionQueueSize','unsignedInt','32400'),
('sendQueuePairSize','unsignedInt','1024'),
('recvQueuePairSize','unsignedInt','1024')
])
app = Application.Application('pt::ibv::Application',Context.ptInstance,properties)
app.params['protocol'] = 'ibv'
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment