sriov-network-device-plugin
sriov-network-device-plugin copied to clipboard
Use Devlink when possible for NewPciNetDevice
Try to use devlink api to configure the linkType to be ether
.
If the card doesn't support this we fall back to netlink.
This commit is a partial fix for https://github.com/k8snetworkplumbingwg/sriov-network-device-plugin/issues/392 There are still cards the doesn't support the netlink api like intel xv710
Signed-off-by: Sebastian Sch [email protected]
As we are adding devlink support in various functional calls, it would good to have a generic isDevlinkEnabled
function to distinguish devlink call and non-devlink call.
As we are adding devlink support in various functional calls, it would good to have a generic
isDevlinkEnabled
function to distinguish devlink call and non-devlink call.
This is being added through https://github.com/k8snetworkplumbingwg/sriov-network-device-plugin/pull/387
@SchSeba are there plans to work on this one ?