-
Notifications
You must be signed in to change notification settings - Fork 114
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
[switchdev 2/x] API: Add vdpaType field to the node SriovNetworkNodeState CRD #583
[switchdev 2/x] API: Add vdpaType field to the node SriovNetworkNodeState CRD #583
Conversation
This field should be used to report information about type of the VDPA device that is configured for VF. Empty string means that there is no VDPA device. Valid values are: `virtio`, `vhost` (same as in `SriovNetworkNodePolicySpec`) Signed-off-by: Yury Kulazhenkov <[email protected]>
Thanks for your PR,
To skip the vendors CIs use one of:
|
Pull Request Test Coverage Report for Build 7476081547
💛 - Coveralls |
@@ -82,6 +82,7 @@ type VirtualFunction struct { | |||
Vlan int `json:"Vlan,omitempty"` | |||
Mtu int `json:"mtu,omitempty"` | |||
VfID int `json:"vfID"` | |||
VdpaType string `json:"vdpaType,omitempty"` |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
i guess we should hold off merging this until we got some logic to populate this field ?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I will submit commits which relies on this change soon. Also this field is a part of internal API which is used only by the operator itself.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ack.
Aligned field `SriovNetworkNodeState.Status.Interfaces.Vfs.VdpaType` Refs: - k8snetworkplumbingwg/sriov-network-operator#583 Signed-off-by: Andrea Panattoni <[email protected]>
Aligned field `SriovNetworkNodeState.Status.Interfaces.Vfs.VdpaType` Refs: - k8snetworkplumbingwg/sriov-network-operator#583 Signed-off-by: Andrea Panattoni <[email protected]>
This field should be used to report information about type of the VDPA device that is configured for VF.
Empty string means that there is no VDPA device.
Valid values are:
virtio
,vhost
(same as inSriovNetworkNodePolicySpec
)Context: