sriov-network-device-plugin icon indicating copy to clipboard operation
sriov-network-device-plugin copied to clipboard

Use Devlink when possible for NewPciNetDevice

Open SchSeba opened this issue 3 years ago • 3 comments

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]

SchSeba avatar Nov 23 '21 11:11 SchSeba

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.

zshi-redhat avatar Nov 26 '21 04:11 zshi-redhat

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

zshi-redhat avatar Nov 26 '21 04:11 zshi-redhat

@SchSeba are there plans to work on this one ?

adrianchiris avatar May 17 '23 08:05 adrianchiris