- html - 出于某种原因,IE8 对我的 Sass 文件中继承的 html5 CSS 不友好?
- JMeter 在响应断言中使用 span 标签的问题
- html - 在 :hover and :active? 上具有不同效果的 CSS 动画
- html - 相对于居中的 html 内容固定的 CSS 重复背景?
我关注 this使用 DPDK 安装 OVS 的指南。
我管理到 2.3 安装OVS
cd $OVS_DIR
./boot.sh
./configure --with-dpdk=$DPDK_BUILD
make install
root@ubuntu:/usr/src/openvswitch-2.5.0# make install
make install-recursive
make[1]: Entering directory '/usr/src/openvswitch-2.5.0'
Making install in datapath
make[2]: Entering directory '/usr/src/openvswitch-2.5.0/datapath'
make[3]: Entering directory '/usr/src/openvswitch-2.5.0/datapath'
make[4]: Entering directory '/usr/src/openvswitch-2.5.0/datapath'
make[4]: Nothing to be done for 'install-exec-am'.
make[4]: Nothing to be done for 'install-data-am'.
make[4]: Leaving directory '/usr/src/openvswitch-2.5.0/datapath'
make[3]: Leaving directory '/usr/src/openvswitch-2.5.0/datapath'
make[2]: Leaving directory '/usr/src/openvswitch-2.5.0/datapath'
make[2]: Entering directory '/usr/src/openvswitch-2.5.0'
depbase=`echo lib/netdev-dpdk.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`;\
/bin/bash ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I ./include -I ./include -I ./lib -I ./lib -I/usr/include -Wstrict-prototypes -Wall -Wextra -Wno-sign-compare -Wpointer-arith -Wformat-security -Wswitch-enum -Wunused-parameter -Wbad-function-cast -Wcast-align -Wmissing-prototypes -Wmissing-field-initializers -fno-strict-aliasing -mssse3 -I/usr/src/dpdk-16.07/x86_64-native-linuxapp-gcc/include -D_FILE_OFFSET_BITS=64 -g -O2 -MT lib/netdev-dpdk.lo -MD -MP -MF $depbase.Tpo -c -o lib/netdev-dpdk.lo lib/netdev-dpdk.c &&\
mv -f $depbase.Tpo $depbase.Plo
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I ./include -I ./include -I ./lib -I ./lib -I/usr/include -Wstrict-prototypes -Wall -Wextra -Wno-sign-compare -Wpointer-arith -Wformat-security -Wswitch-enum -Wunused-parameter -Wbad-function-cast -Wcast-align -Wmissing-prototypes -Wmissing-field-initializers -fno-strict-aliasing -mssse3 -I/usr/src/dpdk-16.07/x86_64-native-linuxapp-gcc/include -D_FILE_OFFSET_BITS=64 -g -O2 -MT lib/netdev-dpdk.lo -MD -MP -MF lib/.deps/netdev-dpdk.Tpo -c lib/netdev-dpdk.c -o lib/netdev-dpdk.o
lib/netdev-dpdk.c: In function ‘__rte_pktmbuf_init’:
lib/netdev-dpdk.c:293:5: warning: implicit declaration of function ‘RTE_MBUF_ASSERT’ [-Wimplicit-function-declaration]
RTE_MBUF_ASSERT(mp->elt_size >= sizeof(struct dp_packet));
^
lib/netdev-dpdk.c: In function ‘netdev_dpdk_vhost_user_construct’:
lib/netdev-dpdk.c:708:11: error: too few arguments to function ‘rte_vhost_driver_register’
err = rte_vhost_driver_register(netdev->vhost_id);
^
In file included from lib/netdev-dpdk.c:56:0:
/usr/src/dpdk-16.07/x86_64-native-linuxapp-gcc/include/rte_virtio_net.h:95:5: note: declared here
int rte_vhost_driver_register(const char *path, uint64_t flags);
^
lib/netdev-dpdk.c: In function ‘is_vhost_running’:
lib/netdev-dpdk.c:995:32: error: dereferencing pointer to incomplete type ‘struct virtio_net’
return (dev != NULL && (dev->flags & VIRTIO_DEV_RUNNING));
^
lib/netdev-dpdk.c:995:42: error: ‘VIRTIO_DEV_RUNNING’ undeclared (first use in this function)
return (dev != NULL && (dev->flags & VIRTIO_DEV_RUNNING));
^
lib/netdev-dpdk.c:995:42: note: each undeclared identifier is reported only once for each function it appears in
lib/netdev-dpdk.c: In function ‘netdev_dpdk_vhost_rxq_recv’:
lib/netdev-dpdk.c:1049:37: warning: passing argument 1 of ‘rte_vhost_dequeue_burst’ makes integer from pointer without a cast [-Wint-conversion]
nb_rx = rte_vhost_dequeue_burst(virtio_dev, qid * VIRTIO_QNUM + VIRTIO_TXQ,
^
In file included from lib/netdev-dpdk.c:56:0:
/usr/src/dpdk-16.07/x86_64-native-linuxapp-gcc/include/rte_virtio_net.h:194:10: note: expected ‘int’ but argument is of type ‘struct virtio_net *’
uint16_t rte_vhost_dequeue_burst(int vid, uint16_t queue_id,
^
lib/netdev-dpdk.c: In function ‘__netdev_dpdk_vhost_send’:
lib/netdev-dpdk.c:1138:43: warning: passing argument 1 of ‘rte_vhost_enqueue_burst’ makes integer from pointer without a cast [-Wint-conversion]
tx_pkts = rte_vhost_enqueue_burst(virtio_dev, vhost_qid,
^
In file included from lib/netdev-dpdk.c:56:0:
/usr/src/dpdk-16.07/x86_64-native-linuxapp-gcc/include/rte_virtio_net.h:174:10: note: expected ‘int’ but argument is of type ‘struct virtio_net *’
uint16_t rte_vhost_enqueue_burst(int vid, uint16_t queue_id,
^
lib/netdev-dpdk.c:1157:21: warning: implicit declaration of function ‘rte_vring_available_entries’ [-Wimplicit-function-declaration]
while (!rte_vring_available_entries(virtio_dev, vhost_qid)) {
^
lib/netdev-dpdk.c: In function ‘netdev_dpdk_get_stats’:
lib/netdev-dpdk.c:1526:33: error: ‘struct rte_eth_stats’ has no member named ‘imcasts’
stats->multicast = rte_stats.imcasts;
^
lib/netdev-dpdk.c: In function ‘netdev_dpdk_get_features’:
lib/netdev-dpdk.c:1569:29: error: ‘ETH_LINK_AUTONEG_DUPLEX’ undeclared (first use in this function)
if (link.link_duplex == ETH_LINK_AUTONEG_DUPLEX) {
^
lib/netdev-dpdk.c:1574:32: error: ‘ETH_LINK_SPEED_10’ undeclared (first use in this function)
if (link.link_speed == ETH_LINK_SPEED_10) {
^
lib/netdev-dpdk.c:1577:32: error: ‘ETH_LINK_SPEED_100’ undeclared (first use in this function)
if (link.link_speed == ETH_LINK_SPEED_100) {
^
lib/netdev-dpdk.c:1580:32: error: ‘ETH_LINK_SPEED_1000’ undeclared (first use in this function)
if (link.link_speed == ETH_LINK_SPEED_1000) {
^
lib/netdev-dpdk.c:1593:32: error: ‘ETH_LINK_SPEED_10000’ undeclared (first use in this function)
if (link.link_speed == ETH_LINK_SPEED_10000) {
^
lib/netdev-dpdk.c: In function ‘set_irq_status’:
lib/netdev-dpdk.c:1825:45: warning: passing argument 1 of ‘rte_vhost_enable_guest_notification’ makes integer from pointer without a cast [-Wint-conversion]
rte_vhost_enable_guest_notification(dev, idx + VIRTIO_RXQ, 0);
^
In file included from lib/netdev-dpdk.c:56:0:
/usr/src/dpdk-16.07/x86_64-native-linuxapp-gcc/include/rte_virtio_net.h:89:5: note: expected ‘int’ but argument is of type ‘struct virtio_net *’
int rte_vhost_enable_guest_notification(int vid, uint16_t queue_id, int enable);
^
lib/netdev-dpdk.c:1826:45: warning: passing argument 1 of ‘rte_vhost_enable_guest_notification’ makes integer from pointer without a cast [-Wint-conversion]
rte_vhost_enable_guest_notification(dev, idx + VIRTIO_TXQ, 0);
^
In file included from lib/netdev-dpdk.c:56:0:
/usr/src/dpdk-16.07/x86_64-native-linuxapp-gcc/include/rte_virtio_net.h:89:5: note: expected ‘int’ but argument is of type ‘struct virtio_net *’
int rte_vhost_enable_guest_notification(int vid, uint16_t queue_id, int enable);
^
In file included from /usr/include/string.h:630:0,
from ./lib/string.h:20,
from lib/netdev-dpdk.c:19:
lib/netdev-dpdk.c: In function ‘new_device’:
lib/netdev-dpdk.c:1906:52: error: ‘IF_NAME_SZ’ undeclared (first use in this function)
if (strncmp(dev->ifname, netdev->vhost_id, IF_NAME_SZ) == 0) {
^
lib/netdev-dpdk.c:1915:27: error: ‘VIRTIO_DEV_RUNNING’ undeclared (first use in this function)
dev->flags |= VIRTIO_DEV_RUNNING;
^
lib/netdev-dpdk.c: In function ‘destroy_device’:
lib/netdev-dpdk.c:1953:16: error: dereferencing pointer to incomplete type ‘volatile struct virtio_net’
dev->flags &= ~VIRTIO_DEV_RUNNING;
^
lib/netdev-dpdk.c:1953:28: error: ‘VIRTIO_DEV_RUNNING’ undeclared (first use in this function)
dev->flags &= ~VIRTIO_DEV_RUNNING;
^
In file included from /usr/include/string.h:630:0,
from ./lib/string.h:20,
from lib/netdev-dpdk.c:19:
lib/netdev-dpdk.c: In function ‘vring_state_changed’:
lib/netdev-dpdk.c:1996:55: error: ‘IF_NAME_SZ’ undeclared (first use in this function)
if (strncmp(dev->ifname, vhost_dev->vhost_id, IF_NAME_SZ) == 0) {
^
lib/netdev-dpdk.c: At top level:
lib/netdev-dpdk.c:2036:20: warning: initialization from incompatible pointer type [-Wincompatible-pointer-types]
.new_device = new_device,
^
lib/netdev-dpdk.c:2036:20: note: (near initialization for ‘virtio_net_device_ops.new_device’)
lib/netdev-dpdk.c:2037:23: warning: initialization from incompatible pointer type [-Wincompatible-pointer-types]
.destroy_device = destroy_device,
^
lib/netdev-dpdk.c:2037:23: note: (near initialization for ‘virtio_net_device_ops.destroy_device’)
lib/netdev-dpdk.c:2038:28: warning: initialization from incompatible pointer type [-Wincompatible-pointer-types]
.vring_state_changed = vring_state_changed
^
lib/netdev-dpdk.c:2038:28: note: (near initialization for ‘virtio_net_device_ops.vring_state_changed’)
lib/netdev-dpdk.c: In function ‘dpdk_vhost_cuse_class_init’:
lib/netdev-dpdk.c:2069:11: error: too few arguments to function ‘rte_vhost_driver_register’
err = rte_vhost_driver_register(cuse_dev_name);
^
In file included from lib/netdev-dpdk.c:56:0:
/usr/src/dpdk-16.07/x86_64-native-linuxapp-gcc/include/rte_virtio_net.h:95:5: note: declared here
int rte_vhost_driver_register(const char *path, uint64_t flags);
^
lib/netdev-dpdk.c: In function ‘is_vhost_running’:
lib/netdev-dpdk.c:996:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
Makefile:4027: recipe for target 'lib/netdev-dpdk.lo' failed
make[2]: *** [lib/netdev-dpdk.lo] Error 1
make[2]: Leaving directory '/usr/src/openvswitch-2.5.0'
Makefile:4679: recipe for target 'install-recursive' failed
make[1]: *** [install-recursive] Error 1
make[1]: Leaving directory '/usr/src/openvswitch-2.5.0'
Makefile:4985: recipe for target 'install' failed
make: *** [install] Error 2
dpdk-16.07
OpenVSwitch 是
openvswitch-2.5.0
Ubuntu 是
Ubuntu 16.04.1 LTS
最佳答案
OVS-2.5.0 不支持 dpdk-16.07。
使用比提交 netdev-dpdk: Add support for DPDK 16.07 更新的 OVS 主控从 8 月 3 日起。此提交向 OVS 添加了对 dpdk-16.07 的支持。
关于ubuntu - 无法 `make install` ovs,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/39227298/
如果我正在设置一个通过OpenFlow控制的交换设备,使用的条件是什么? ovs-dpctl 与 相比ovs-vsctl ? 的手册页ovs-dpctl 说使用 ovs-vsctl 如果 ovs-vs
目录 flow: miniflow flow->miniflow函数:miniflow_extract() mini
我对 KVM 和桥接完全陌生,需要您的帮助。我有一个带有 QEMU/KVM 的远程服务器,但我只能使用 SSH 连接。主机操作系统是 RHEL 7。 guest 必须连接到 bridge(ovs),他
我想在 Mininet OVS 上运行 iptables。 我这样做 'xterm s1' s1 终端上的“iptables -A INPUT(或 FOWARD 或 OUTPUT)-i s1-eth1
当我尝试从主机终端通过 SSH 登录到我的 mininet VM 时,它显示权限被拒绝错误,甚至在 VM 终端内Mininet 使用以下命令托管: sudo mn --topo single,3 --
当运行 mininet 拓扑时,我们可以使用 ovs 或 ovsk 作为 mininet 的 mn 命令中的 --switch 参数,例如: mn --custom topo.py --topo t
我关注 this使用 DPDK 安装 OVS 的指南。 我管理到 2.3 安装OVS cd $OVS_DIR ./boot.sh ./configure --with-dpdk=$DPDK_BU
我正在关注 openflow tutorial 上的 openflow 教程.我正在使用 mininet 和 ryu Controller 以及 openvswitch 版本 2.8.0。当我尝试使用
不重要,但让我头疼... 我希望将write-verbose的输出输出到用于文档/调试的变量中。 很好的,powershel有一个自己的命令输出参数(请参阅help about_commonparam
关闭。此题需要details or clarity 。目前不接受答案。 想要改进这个问题吗?通过 editing this post 添加详细信息并澄清问题. 已关闭 3 年前。 Improve th
我正在尝试从命令“ovs dump-flows”的输出中提取源和目标 MAC 和 IP 地址以及传输的数据包。命令的输出将如下所示 in_port(2),eth(src=00:26:55:e8:b0:
很多文章都说EV ssl会在浏览器中启用“绿色地址栏”,但我查了很多安全级别最高的网站,都没有“绿色地址栏”。它只是一个带有一些文字的绿色挂锁。 唯一的区别是,在绿色挂锁之后,一些网站会显示公司详细信
如何在 Google Cloud Platform 上创建组织验证 (OV) 或扩展验证 (EV) SSL 证书,然后将其自动用于以下事件: 自动轮换证书 在证书到期前获得通知 最佳答案 How do
我在安装 OVS 流程时遇到问题,该流程会从传入的带有 vlan 标记的 mpls 数据包中弹出 mpls header 。以下是流程: ovs-ofctl add-flow br-int table
我要 grammar做这样的事情: > "abc" ~~ m:ex/^ (\w ** 1..2) (\w ** 1..2) $ {say $0, $1}/ 「ab」「c」 「a」「bc」 或者像这样:
我不完全明白,为什么这里的结果不同。是否:ov仅适用于 ,所以找到最长的匹配它不会做任何其他事情吗? my regex left { a | ab } my regex right {
ovs-vsctl add-port hostInterface hostveth tag=9。此命令将 hostveth 添加到网桥,并且从 hostveth 发出的数据包都标记有 vlan id
只是想了解一下要求,据我所知,EV、OV 和 DV 不需要专用 IP?我只是想知道是否有人可以澄清和启发? 最佳答案 您提到的证书是为一个或多个域名颁发的。这些域名与哪个IP地址相关联没有技术限制。这
我正在尝试使用 Docker、OVS+DPDK 构建一个平台。 1。设置DPDK + OVS 我使用 dpdk-2.2.0 和 openvswitch-2.5.1 设置了 DPDK+OVS。首先,我编
我正在使用 OpenvSwitch-2.5.2 在两个虚拟机上设置第 2 层网络,如上图所示。 在阅读了 ovs 官方教程和其他一些文章后,我在每个虚拟机上尝试了以下命令: # on vm1 ip l
我是一名优秀的程序员,十分优秀!