contrail-vrouter
contrail-vrouter copied to clipboard
vRouer w/DPDK and Mellanox NIC
Hi All,
I am trying to setup vRouter w/DPDK and ConnectX-3-Pro. Is there any documentation how to?
The problem is that I cannot bring vif to recognize the DPPK enabled interface. The current state is that install script identifies correctly and interface is binded to the DPDK.
root@Setup-H-C0:/opt/contrail/bin# ./dpdk_nic_bind.py -s
Network devices using DPDK-compatible driver
0000:05:00.0 'MT27520 Family [ConnectX-3 Pro]' drv=igb_uio unused=
Network devices using kernel driver
0000:03:00.0 'I350 Gigabit Network Connection' if=em0 drv=igb unused=igb_uio Active 0000:03:00.3 'I350 Gigabit Network Connection' if=eth1 drv=igb unused=igb_uio
Other network devices
Since OFED + PMD drivers are taking over it is not in control of the OS any more and does not show up in ifconfig.
in - /etc/contrail/contrail-vrouter-agent.conf
DPDK or legacy work mode
platform=dpdk
Physical address of PCI used by dpdk
physical_interface_address=0000:05:00.0
MAC address of device used by dpdk
physical_interface_mac=7c:fe:90:b1:ea:50
in - /etc/contrail/agent_param
LOG=/var/log/contrail.log CONFIG=/etc/contrail/contrail-vrouter-agent.conf prog=/usr/bin/contrail-vrouter-agent kmod=vrouter pname=contrail-vrouter-agent LIBDIR=/usr/lib64 DEVICE=vhost0 dev=p785p1 vgw_subnet_ip=VGW_SUBNET_IP vgw_intf=VGW_INTF_LIST LOGFILE=--log-file=/var/log/contrail/vrouter.log