Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
cmsos
worksuite
Commits
a43afde2
Commit
a43afde2
authored
Feb 23, 2021
by
Andrea Petrucci
Browse files
references #226: use GIDType for ptibv
parent
74304051
Changes
1
Hide whitespace changes
Inline
Side-by-side
evb/test/scripts/Context.py
View file @
a43afde2
...
...
@@ -90,7 +90,7 @@ class Context:
else
:
properties
=
[
(
'networkInterface'
,
'string'
,
interface
),
(
'
S
GID
Index'
,
'unsignedInt
'
,
'
3
'
),
(
'GID
Type'
,
'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'
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment