-
Notifications
You must be signed in to change notification settings - Fork 17
RoCEv2 OTG model [latest] #415
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
41 commits
Select commit
Hold shift + click to select a range
4a40136
Add RoCEv2 model
satyamsinghKey 510a852
Update auto generated content
actions-user e51555c
Merge branch 'master' into dev2_rocev2
satyamsinghKey 847b940
Update auto generated content
actions-user 12a41fa
Review comment change
satyamsinghKey 19fcb34
Update auto generated content
actions-user 41aa68f
review comments
satyamsinghKey 7968f71
Update auto generated content
actions-user 9634dec
rename nack to nak
satyamsinghKey 99bdbd5
Update auto generated content
actions-user 622ccbf
remove dummy field
satyamsinghKey e98873d
Update auto generated content
actions-user 62d2f14
rename Rocev2 to RoCEv2 in descriptions
satyamsinghKey a3fa23c
Update auto generated content
actions-user 6eb2bd0
review changes
satyamsinghKey 1a6c8a8
Merge branch 'dev2_rocev2' of https://github.com/open-traffic-generat…
satyamsinghKey 5e2ac09
Update auto generated content
actions-user e37ad42
review changes for port.protocols
satyamsinghKey 9dcae16
Update auto generated content
actions-user 3744428
fruther review comment changes
satyamsinghKey a56d748
Update auto generated content
actions-user aeebb98
correct type and format of float values
satyamsinghKey 8fad3e4
Update auto generated content
actions-user a806fda
review changes
satyamsinghKey 960a841
Update auto generated content
actions-user c4fbb5c
rename RoCEv2 Traffic metric to per_qp
satyamsinghKey 77b8d14
Update auto generated content
actions-user f0c8f14
fix typo in avg_latency
satyamsinghKey 4d399f5
Update auto generated content
actions-user ad22b79
Merge branch 'master' into dev2_rocev2
satyamsinghKey 9afe5ee
Update auto generated content
actions-user b249945
fix typo in data_frames_tx and rx
satyamsinghKey 0c1d23b
Update auto generated content
actions-user 35a5fa4
add remaining descriptions
satyamsinghKey 99f9e5a
Update auto generated content
actions-user 69aa2a1
Review comment changes
satyamsinghKey 2adfc9c
Update auto generated content
actions-user f806c0b
Merge remote-tracking branch 'origin/master' into dev2_rocev2
satyamsinghKey 30ebf91
Update openapiart version
satyamsinghKey f8fe09b
Update openapiart version
satyamsinghKey abd6517
Update auto generated content
actions-user File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,106 @@ | ||
components: | ||
schemas: | ||
Rocev2.QPs: | ||
description: >- | ||
This allows the user to set QP properties between a particular source and destination. | ||
type: object | ||
required: [qp_name] | ||
properties: | ||
qp_name: | ||
satyamsinghKey marked this conversation as resolved.
Show resolved
Hide resolved
|
||
description: |- | ||
Name of each QP. | ||
x-include: ../../common/common.yaml#/components/schemas/Named.Object/properties/name | ||
x-field-uid: 1 | ||
connection_type: | ||
$ref : '#/components/schemas/Rocev2.ConnectionType' | ||
x-field-uid: 2 | ||
Rocev2.ConnectionType: | ||
description: >- | ||
Specifies the connection type for the QP, determining what and how the QP transfers data. | ||
type: object | ||
properties: | ||
choice: | ||
type: string | ||
default: reliable_connection | ||
x-enum: | ||
reliable_connection: | ||
x-field-uid: 1 | ||
x-field-uid: 1 | ||
reliable_connection: | ||
$ref: '#/components/schemas/Rocev2.QPParameters' | ||
x-field-uid: 2 | ||
Rocev2.QPParameters: | ||
description: |- | ||
Defines the parameters for configuring a RoCEv2 QP. | ||
type: object | ||
properties: | ||
source_qp_number: | ||
description: >- | ||
Configure Source QP number which initiates the RDMA operation. | ||
type: integer | ||
format: uint32 | ||
default: 2 | ||
minimum: 2 | ||
maximum: 33554431 | ||
x-field-uid: 1 | ||
dscp: | ||
description: >- | ||
DSCP value for the RDMA data packets. | ||
type: integer | ||
format: uint32 | ||
default: 24 | ||
minimum: 0 | ||
maximum: 63 | ||
x-field-uid: 2 | ||
ecn: | ||
satyamsinghKey marked this conversation as resolved.
Show resolved
Hide resolved
|
||
description: >- | ||
This field allows to configure bits of the Traffic Class field in the IPv4 or IPv6 header to encode four different code points. | ||
satyamsinghKey marked this conversation as resolved.
Show resolved
Hide resolved
|
||
Those are non_ect, ect_1, ect_0 and ce. non_ect quivalent is 00, ect_1 represent 01, ect_0 represent 10 and ce means 11. | ||
type: string | ||
default: ect_1 | ||
x-enum: | ||
non_ect: | ||
x-field-uid: 1 | ||
ect_1: | ||
x-field-uid: 2 | ||
ect_0: | ||
x-field-uid: 3 | ||
ce: | ||
x-field-uid: 4 | ||
x-field-uid: 3 | ||
udp_source_port: | ||
description: >- | ||
UDP source port number for this QP. | ||
type: integer | ||
format: uint32 | ||
default: 49152 | ||
minimum: 0 | ||
maximum: 65535 | ||
x-field-uid: 4 | ||
initial_psn: | ||
description: >- | ||
Initial packet sequence number of the data transfer packet generated for this QP. | ||
type: integer | ||
format: uint64 | ||
default: 0 | ||
minimum: 0 | ||
maximum: 33554431 | ||
x-field-uid: 5 | ||
virtual_address: | ||
description: >- | ||
Virtual Address where the data transfer from the remote QP will write to. | ||
type: string | ||
format: hex | ||
default: "0000000000000000" | ||
maxLength: 16 | ||
x-field-uid: 6 | ||
remote_key: | ||
description: >- | ||
Remote Key linked to the QP's virtual address. | ||
type: string | ||
format: hex | ||
default: "00000000" | ||
maxLength: 8 | ||
x-field-uid: 7 | ||
|
||
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
components: | ||
schemas: | ||
Device.Rocev2Peer: | ||
description: >- | ||
Configuration for one or more IPv4 or IPv6 RoCEv2 Peers. | ||
type: object | ||
properties: | ||
ipv4_interfaces: | ||
description: >- | ||
This contains an array of references to IPv4 interfaces, each having a list of IPv4 peers to various destinations. | ||
type: array | ||
items: | ||
$ref: './rocev2ipv4.yaml#/components/schemas/Rocev2.V4Interface' | ||
x-field-uid: 1 | ||
ipv6_interfaces: | ||
description: >- | ||
This contains an array references to IPv6 interfaces, each with a list of IPv6 peers for various destinations. | ||
type: array | ||
items: | ||
$ref: './rocev2ipv6.yaml#/components/schemas/Rocev2.V6Interface' | ||
x-field-uid: 2 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,55 @@ | ||
components: | ||
schemas: | ||
Rocev2.V4Interface: | ||
description: >- | ||
This contains an array of references to IPv4 interfaces, each having a list of IPv4 peers to various destinations. | ||
type: object | ||
required: [ipv4_name] | ||
properties: | ||
ipv4_name: | ||
satyamsinghKey marked this conversation as resolved.
Show resolved
Hide resolved
|
||
description: >- | ||
The unique name of the IPv4 interface, used as the source IP for this list of RoCEv2 peers. | ||
type: string | ||
x-constraint: | ||
- '/components/schemas/Device.Ipv4/properties/name' | ||
x-field-uid: 1 | ||
ib_mtu: | ||
description: >- | ||
The InfiniBand protocol defines several fixed sizes for the Maximum Transmission Unit (IB MTU): 256, 512, 1024, 2048, or 4096 bytes. | ||
RDMA messages will have a payload size that corresponds to the configured IB MTU. | ||
Additionally, it is possible to configure a custom size. | ||
type: integer | ||
default: 1024 | ||
format: uint32 | ||
minimum: 0 | ||
maximum: 14000 | ||
x-field-uid: 2 | ||
peers: | ||
description: >- | ||
This contains the list of RoCEv2 peers configured on this interface. | ||
type: array | ||
items: | ||
$ref: './rocev2ipv4.yaml#/components/schemas/Rocev2.V4Peer' | ||
x-field-uid: 3 | ||
Rocev2.V4Peer: | ||
description: >- | ||
Configuration for RoCEv2 IPv4 peers. | ||
satyamsinghKey marked this conversation as resolved.
Show resolved
Hide resolved
|
||
type: object | ||
required: [name, destination_ip_address] | ||
properties: | ||
name: | ||
x-include: ../../common/common.yaml#/components/schemas/Named.Object/properties/name | ||
x-field-uid: 1 | ||
destination_ip_address: | ||
description: |- | ||
Specify the destination ip address. | ||
type: string | ||
format: ipv4 | ||
x-field-uid: 2 | ||
qps: | ||
type: array | ||
description: >- | ||
This allows the user to set multiple QPs and its properties between a pair of source and destination RoCEv2 devices. | ||
items: | ||
$ref: './qps.yaml#/components/schemas/Rocev2.QPs' | ||
x-field-uid: 3 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,58 @@ | ||
components: | ||
satyamsinghKey marked this conversation as resolved.
Show resolved
Hide resolved
|
||
schemas: | ||
Rocev2.V6Interface: | ||
description: >- | ||
This contains an array of references to IPv6 interfaces, each having a list of IPv6 peers to various destinations. | ||
type: object | ||
required: [ipv6_name] | ||
properties: | ||
ipv6_name: | ||
description: >- | ||
The unique name of IPv6 used as the source IP for this list of RoCEv2 peers. | ||
type: string | ||
x-constraint: | ||
- '/components/schemas/Device.Ipv6/properties/name' | ||
x-field-uid: 1 | ||
ib_mtu: | ||
description: >- | ||
The InfiniBand protocol defines several fixed sizes for the Maximum Transmission Unit (IB MTU): 256, 512, 1024, 2048, or 4096 bytes. | ||
RDMA messages will have a payload size that corresponds to the configured IB MTU. | ||
Additionally, it is possible to configure a custom size. | ||
type: integer | ||
default: 1024 | ||
format: uint32 | ||
minimum: 0 | ||
maximum: 14000 | ||
x-field-uid: 2 | ||
peers: | ||
description: >- | ||
This contains the list of RoCEv2 IPv6 peers configured on this interface. | ||
type: array | ||
items: | ||
$ref: './rocev2ipv6.yaml#/components/schemas/Rocev2.V6Peer' | ||
x-field-uid: 3 | ||
Rocev2.V6Peer: | ||
description: >- | ||
Configuration for RoCEv2 IPv6 peer settings. | ||
type: object | ||
required: [name, destination_ip_address] | ||
properties: | ||
name: | ||
x-include: ../../common/common.yaml#/components/schemas/Named.Object/properties/name | ||
x-field-uid: 1 | ||
destination_ip_address: | ||
description: |- | ||
Specify the destination ip address. | ||
type: string | ||
format: ipv6 | ||
x-field-uid: 2 | ||
qps: | ||
type: array | ||
description: >- | ||
This allows the user to set multiple QPs and its properties between a pair of source and destination RoCEv2 devices. | ||
items: | ||
$ref: './qps.yaml#/components/schemas/Rocev2.QPs' | ||
x-field-uid: 3 | ||
|
||
|
||
|
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.