完善资料让更多小伙伴认识你,还能领取20积分哦, 立即完善>
测试了2个rgmii,2个xfi也正常,按照手册配置的ovs-dpdk,默认流程。1046-c2 ovs-dpdk sgmii口不能正常转发是为什么?如何去解决呢?
|
|
相关推荐
1个回答
|
|
测了下,是fm1-mac2和fm1-mac5不能正常转发
如下: echo 256 > /proc/sys/vm/nr_hugepages mkdir -p /mnt/hugepages mount -thugetlbfs none /mnt/hugepages export DPAA_FMC_MODE=1 fmc -c /usr/local/dpdk/dpaa/usdpaa_config_ls1046_1133.xml -p /usr/local/dpdk/dpaa/usdpaa_policy_hash_ipv4_1queue.xml -a 出口DPAA_NUM_RX_QUEUES = 1 pkill的-9 OVS 出口DPDK_EXCLUDE_DEFAULT_MBUF = 1个 出口PATH = $ PATH:/ usr/local/bin 导出路径=$PATH:/usr/local/***in rm -rf /usr/local/etc/openvswitch/conf.db rm -rf /usr/local/var/run/openvswitch/vhost-user1 rm -rf /usr/local/var/run/openvswitch/vhost-user2 rm -f /tmp/conf.db mkdir -p /var/log/openvswitch mkdir -p /usr/local/etc/openvswitch mkdir -p /usr/local/var/run/openvswitch /usr/local/bin/ovsdb-tool create /usr/local/etc/openvswitch/conf.db /usr /local/share/openvswitch/vswitch.ovsschema /usr/local/***in/ovsdb-server --remote=punix:/usr/local/var/run/openvswitch/db.sock --remote=db:Open_vSwitch,Open_vSwitch ,manager_options --pidfile --detach --log-file=/var/log/openvswitch/ovs-vswitchd.log export DB_SOCK=/usr/local/var/run/openvswitch/db.sock /usr/local/bin /ovs-vsctl --no-wait 设置 Open_vSwitch 。other_config:dpdk-init=true export SOCK_MEM=200 /usr/local/bin/ovs-vsctl --no-wait set Open_vSwitch 。 other_config:dpdk-socket-mem="$SOCK_MEM" 导出 OVS_CORE_MASK=0x1 导出 OVS_SERVICE_MASK=0x1 ovs-vsctl --no-wait 设置 Open_vSwitch 。other_config:dpdk-lcore-mask=$OVS_SERVICE_MASK ovs-vsctl --no-wait 设置 Open_vSwitch 。other_config:pmd-cpu-mask=$OVS_CORE_MASK ovs-vswitchd unix:$DB_SOCK --pidfile --detach -c $OVS_CORE_MASK ovs-vsctl add-br ovs-br -- set bridge ovs-br datapath_type =netdev ovs-vsctl add -port ovs-br dpdk0 -- set Inte**ce dpdk0 type=dpdk options:dpdk-devargs=fm1-mac2 options:n_rxq_desc=256 options:n_txq_desc=256 ovs-vsctl add-port ovs-br dpdk1 -- set Inte **ce dpdk1 type=dpdk options:dpdk-devargs=fm1-mac3 options:n_rxq_desc=256 options:n_txq_desc=256 ovs-vsctl add-port ovs-br dpdk2 -- set Inte**ce dpdk2 type=dpdk options: -devargs=fm1-mac4 选项:n_rxq_desc=256 选项:n_txq_desc=256 ovs-vsctl add-port ovs-br dpdk3 -- set Inte**ce dpdk3 type=dpdk options:dpdk-devargs=fm1-mac5 options:n_rxq_desc=256 options:n_txq_desc=256 ovs-vsctl add-port ovdk4br -- set Inte**ce dpdk4 type=dpdk options:dpdk-devargs=fm1-mac6 options:n_rxq_desc=256 options:n_txq_desc=256 ovs-vsctl add-port ovs-br dpdk5 -- set Inte**ce dpdk5 type= dpdk options:dpdk-devargs=fm1-mac9 options:n_rxq_desc=256 options:n_txq_desc=256 ovs-vsctl add-port ovs-br dpdk6 -- set Inte**ce dpdk6 type=dpdk options:dpdk-devmacs10f选项:n_rxq_desc=256 选项:n_txq_desc=256 |
|
|
|
你正在撰写答案
如果你是对答案或其他答案精选点评或询问,请使用“评论”功能。
基于米尔瑞芯微RK3576核心板/开发板的人脸疲劳检测应用方案
569 浏览 0 评论
839 浏览 1 评论
737 浏览 1 评论
1957 浏览 1 评论
3204 浏览 1 评论
小黑屋| 手机版| Archiver| 电子发烧友 ( 湘ICP备2023018690号 )
GMT+8, 2024-12-23 06:02 , Processed in 0.562828 second(s), Total 70, Slave 54 queries .
Powered by 电子发烧友网
© 2015 bbs.elecfans.com
关注我们的微信
下载发烧友APP
电子发烧友观察
版权所有 © 湖南华秋数字科技有限公司
电子发烧友 (电路图) 湘公网安备 43011202000918 号 电信与信息服务业务经营许可证:合字B2-20210191 工商网监 湘ICP备2023018690号