Skip to content
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

Merged
merged 1 commit into from
Jan 23, 2024

Conversation

ykulazhenkov
Copy link
Collaborator

@ykulazhenkov ykulazhenkov commented Jan 10, 2024

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)

Context:

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]>
Copy link

Thanks for your PR,
To run vendors CIs use one of:

  • /test-all: To run all tests for all vendors.
  • /test-e2e-all: To run all E2E tests for all vendors.
  • /test-e2e-nvidia-all: To run all E2E tests for NVIDIA vendor.

To skip the vendors CIs use one of:

  • /skip-all: To skip all tests for all vendors.
  • /skip-e2e-all: To skip all E2E tests for all vendors.
  • /skip-e2e-nvidia-all: To skip all E2E tests for NVIDIA vendor.
    Best regards.

@coveralls
Copy link

Pull Request Test Coverage Report for Build 7476081547

  • 0 of 0 changed or added relevant lines in 0 files are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage remained the same at 23.256%

Totals Coverage Status
Change from base Build 7473924622: 0.0%
Covered Lines: 2293
Relevant Lines: 9860

💛 - Coveralls

@ykulazhenkov ykulazhenkov changed the title API: Add vdpaType field to the node SriovNetworkNodeState CRD [switchdev 2/x] API: Add vdpaType field to the node SriovNetworkNodeState CRD Jan 12, 2024
@ykulazhenkov ykulazhenkov marked this pull request as draft January 12, 2024 09:54
@ykulazhenkov ykulazhenkov marked this pull request as ready for review January 12, 2024 09:55
@@ -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"`
Copy link
Collaborator

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 ?

Copy link
Collaborator Author

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.

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ack.

@zeeke zeeke merged commit 3eefdd8 into k8snetworkplumbingwg:master Jan 23, 2024
11 checks passed
zeeke added a commit to zeeke/sriov-network-operator that referenced this pull request Feb 1, 2024
Aligned field `SriovNetworkNodeState.Status.Interfaces.Vfs.VdpaType`

Refs:
- k8snetworkplumbingwg/sriov-network-operator#583

Signed-off-by: Andrea Panattoni <[email protected]>
SchSeba pushed a commit to SchSeba/sriov-network-operator that referenced this pull request May 7, 2024
Aligned field `SriovNetworkNodeState.Status.Interfaces.Vfs.VdpaType`

Refs:
- k8snetworkplumbingwg/sriov-network-operator#583

Signed-off-by: Andrea Panattoni <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants