Open BurlyLuo opened 2 months ago
Hi @BurlyLuo,
from the code (https://github.com/k8snetworkplumbingwg/sriov-network-device-plugin/blob/7e7aad9c02ec41b89377c4f7cf456f1b6654d0b9/pkg/utils/rdma_provider.go#L55) I can see we use the mlx package to find the rdma devices.
can you please check if the virtio device contains RDMA folder?
also can you please explain the use-case why you want to enable RDMA on a virtual device like virtio?
Hi @BurlyLuo,
from the code (
) I can see we use the mlx package to find the rdma devices. can you please check if the virtio device contains RDMA folder?
also can you please explain the use-case why you want to enable RDMA on a virtual device like virtio?
Yes. we did need this caps.
Any update?
What happened?
when did at kvm based environment, we can follow below steps to setup the rdma environment
so that mean we can use virtio device as the rdma nic, rt? this is pcap from testperf. rdma.zip
What did you expect to happen?
use virtio nic to support RDMA
What are the minimal steps needed to reproduce the bug?
and the device-plugin pod's log show as below:
Anything else we need to know?
Component Versions
Please fill in the below table with the version numbers of components used.
Config Files
Config file locations may be config dependent. NA
Device pool config file location (Try '/etc/pcidp/config.json')
Multus config (Try '/etc/cni/multus/net.d')
CNI config (Try '/etc/cni/net.d/')
Kubernetes deployment type ( Bare Metal, Kubeadm etc.)
kvm based vm
Kubeconfig file
NA
SR-IOV Network Custom Resource Definition
Logs
SR-IOV Network Device Plugin Logs (use
kubectl logs $PODNAME
)NA
Multus logs (If enabled. Try '/var/log/multus.log' )
NA
Kubelet logs (journalctl -u kubelet)