Skip to content

Commit

Permalink
Merge pull request #583 from ykulazhenkov/vdpa-type-field
Browse files Browse the repository at this point in the history
[switchdev 2/x] API: Add vdpaType field to the node SriovNetworkNodeState CRD
  • Loading branch information
zeeke authored Jan 23, 2024
2 parents 527c473 + 30d6790 commit 3eefdd8
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 0 deletions.
1 change: 1 addition & 0 deletions api/v1/sriovnetworknodestate_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -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"`
}

// SriovNetworkNodeStateStatus defines the observed state of SriovNetworkNodeState
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -112,6 +112,8 @@ spec:
type: string
pciAddress:
type: string
vdpaType:
type: string
vendor:
type: string
vfID:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -112,6 +112,8 @@ spec:
type: string
pciAddress:
type: string
vdpaType:
type: string
vendor:
type: string
vfID:
Expand Down

0 comments on commit 3eefdd8

Please sign in to comment.