1. 程式人生 > 實用技巧 >鯤鵬伺服器 新增vxlan失敗

鯤鵬伺服器 新增vxlan失敗

原來沒有實現udp_tunnel_port_add介面

net_hinic: Disable promiscuous, nic_dev: hinic-0000:05:00.0, port_id: 0, promisc: 0
net_hinic: Disable allmulticast succeed, nic_dev: hinic-0000:05:00.0, port_id: 0

Breakpoint 1, rte_eth_dev_udp_tunnel_port_add (port_id=0, udp_tunnel=0xfffffffff018) at /data1/dpdk-19.11/lib/librte_ethdev/rte_ethdev.c:3552
3552 RTE_ETH_VALID_PORTID_OR_ERR_RET(port_id, -ENODEV); Missing separate debuginfos, use: debuginfo-install glibc-2.17-317.el7.aarch64 libgcc-4.8.5-44.el7.aarch64 (gdb) n 3553 if (udp_tunnel == NULL) { (gdb) n 3558 if (udp_tunnel->prot_type >= RTE_TUNNEL_TYPE_MAX) { (gdb) p udp_tunnel
->prot_type $1 = 1 '\001' (gdb) p RTE_TUNNEL_TYPE_MAX $2 = RTE_TUNNEL_TYPE_MAX (gdb) n 3563 dev = &rte_eth_devices[port_id]; (gdb) n 3564 RTE_FUNC_PTR_OR_ERR_RET(*dev->dev_ops->udp_tunnel_port_add, -ENOTSUP); (gdb) n 3567 } (gdb) n vxlan_port_init (port=0, mbuf_pool=0x13f9aac00
) at /data1/dpdk-19.11/examples/tep_termination/vxlan_setup.c:180 180 if (retval < 0) (gdb) n 181 return retval; (gdb) n 204 } (gdb) quit A debugging session is active. Inferior 1 [process 36899] will be killed. Quit anyway? (y or n) y [root@localhost tep_termination]#