-
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 3/x] Add host.VdpaInterface whch provided helpers to work with VDPA devices #585
[switchdev 3/x] Add host.VdpaInterface whch provided helpers to work with VDPA devices #585
Conversation
Thanks for your PR,
To skip the vendors CIs use one of:
|
0bee7ab
to
3e884c0
Compare
Thanks for your PR,
To skip the vendors CIs use one of:
|
Pull Request Test Coverage Report for Build 7527729463
💛 - Coveralls |
3e884c0
to
c15be0d
Compare
Thanks for your PR,
To skip the vendors CIs use one of:
|
c15be0d
to
8406a3a
Compare
Thanks for your PR,
To skip the vendors CIs use one of:
|
New methods are: * BindDriverByBusAndDevice - binds device to the provided driver * UnbindDriverByBusAndDevice unbind device identified by bus and device ID from the driver Both methods allows to work with devices not only on PCI bus. +refactor driver-related methods +add unit-tests for changed methods Signed-off-by: Yury Kulazhenkov <[email protected]>
Signed-off-by: Yury Kulazhenkov <[email protected]>
This change is required to be able to test implementation of host.VdpaInterface that will be added by following commits Signed-off-by: Yury Kulazhenkov <[email protected]>
The interface provides implementation for the following functions: * CreateVDPADevice - creates VDPA device for VF with required type(vhost, virtio) * DeleteVDPADevice - removes VDPA device for provided VF * DiscoverVDPAType - return type of existing VDPA device for VF Signed-off-by: Yury Kulazhenkov <[email protected]>
8406a3a
to
8fb5484
Compare
Thanks for your PR,
To skip the vendors CIs use one of:
|
This PR is a part of switchdev refactoring
Depends on #582
Add host.VdpaInterface whch provided helpers to work with VDPA devices
The interface provides implementation for the following functions:
VF with required type(vhost, virtio)
for provided VF
VDPA device for VF