[root@cvknode ~]# cat /etc/cas_cvk-version
V700R002B10D001SP11 V7.0 E0730P11 Enterprise 8007d87
Build 2023-06-27 11:36:51, RELEASE SOFTWARE
[root@cvknode ~]# ovs-vswitchd --version
ovs-vswitchd (Open vSwitch) 3.3.1
DPDK 23.11.1
[root@cvknode ~]# cat /proc/cmdline
BOOT_IMAGE=/vmlinuz-4.14.131-generic root=/dev/mapper/ubuntu--vg-h3c--linux ro rd.lvm.lv=ubuntu-vg/h3c-linux rhgb quiet elevator=deadline transparent_hugepage=always net.ifnames=0 biosdevname=0 crashkernel=256M cOnsole=tty0 cOnsole=ttyS0,115200 pci=realloc=on default_hugepagesz=1G hugepagesz=1G hugepages=4 intel_iommu=on iommu=pt isolcpus=22-23 rcu_nocbs=22-23 nohz_full=22-23
[root@cvknode ~]# ovs-vsctl show
1bce0672-6505-4766-b635-5b629671c6a0
Bridge vswitch0
Port eth6
Interface eth6
Port vswitch0
Interface vswitch0
type: internal
Bridge ovsdpdk
datapath_type: netdev
Port ovsdpdk
Interface ovsdpdk
type: internal
Port pci_06_00_0
Interface pci_06_00_0
type: dpdk
options: {dpdk-devargs="0000:06:00.0"}
error: "Error attaching device '0000:06:00.0' to DPDK"
ovs_version: "3.3.1"
[root@cvknode ~]# dpdk-devbind.py -s | head
Network devices using DPDK-compatible driver
============================================
0000:06:00.0 'Device 125c' drv=vfio-pci unused=
Other Network devices
=====================
0000:02:00.0 'Device 125c' unused=vfio-pci
0000:03:00.0 'Device 125c' unused=vfio-pci
0000:04:00.0 'Device 125c' unused=vfio-pci
[root@cvknode ~]# lspci | grep 125c
02:00.0 Ethernet controller: Intel Corporation Device 125c (rev 04)
03:00.0 Ethernet controller: Intel Corporation Device 125c (rev 04)
04:00.0 Ethernet controller: Intel Corporation Device 125c (rev 04)
05:00.0 Ethernet controller: Intel Corporation Device 125c (rev 04)
06:00.0 Ethernet controller: Intel Corporation Device 125c (rev 04)
07:00.0 Ethernet controller: Intel Corporation Device 125c (rev 04)
起先以为是cvk上ovs/dpdk版本古董了(其他的组件还是h3c linux镜像原生版本),编译了一套新的ovs替换进去情况还是一样,解决不了脑袋好大。同样的硬件跑fd.io的VPP不存在问题。
(0)
不能再后台配,前台可以直接配置
(0)
就是前台配好以后发现没生效,进后台查看发现有报错Error attaching device '0000:06:00.0' to DPDK
主要原因是DPDK版本古董了,意识到了同样的硬件跑VPP可能是VPP的DPDK版本更高,拉取到最新的DPDK24.03.0重新编译部署,问题解决。
[root@cvknode ~]# ovs-vswitchd --version
ovs-vswitchd (Open vSwitch) 3.3.1
DPDK 24.03.0
[root@cvknode ~]# ovs-vsctl show
1bce0672-6505-4766-b635-5b629671c6a0
Bridge ovsdpdk
datapath_type: netdev
Port ovsdpdk
Interface ovsdpdk
type: internal
Port pci_07_00_0
Interface pci_07_00_0
type: dpdk
options: {dpdk-devargs="0000:07:00.0"}
Bridge manage
datapath_type: system
Port manage
Interface manage
type: internal
Port eth6
Interface eth6
ovs_version: "3.3.1"
(0)
亲~登录后才可以操作哦!
确定你的邮箱还未认证,请认证邮箱或绑定手机后进行当前操作
举报
×
侵犯我的权益
×
侵犯了我企业的权益
×
抄袭了我的内容
×
原文链接或出处
诽谤我
×
对根叔社区有害的内容
×
不规范转载
×
举报说明
就是前台配好以后发现没生效,进后台查看发现有报错Error attaching device '0000:06:00.0' to DPDK