First installation TNSR no interface SR-IOV
-
Hi,
I'm trying to evaluate tnsr, but I'm already stuck at the first step.
I tried the installation on a Proxmox server that uses KVM, the VM has the CPU set as host and i gave it two interfaces, one virtio for management to be put in dhcp and the other a VF of a Intel Corporation Ethernet Controller 10-Gigabit X540-AT2.
During the installation i configured the virtio interface in dchp and it takes ip correctly, i leave the VF interface on disabled.
At the end of installation, after login i should find the VF in the dataplane, but show interface returns empty. Then i tried to configure it manually with the following commands:dataplane dpdk dev 0000:00:10.0 network name WAN service dataplane restart
But show interface still empty.
How can I solve it?
Thanks for your help
-
@asolaro said in First installation TNSR no interface SR-IOV:
what does "tnsr(config)# dataplane dpdk dev ?" command shows?
-
Hi @fractal_boy, thanks for your reply.
@fractal_boy said in First installation TNSR no interface SR-IOV:
dataplane dpdk dev ?
core3 tnsr# config core3 tnsr(config)# dataplane dpdk dev 0000:00:10.0 Ethernet controller: Intel Corporation X540 Ethernet Controller Virtual Function (rev 01) 0000:00:12.0 Ethernet controller: Red Hat, Inc. Virtio network device default
I have already tried all the possible combinations between dataplane dpdk iova-mode and dataplane dpdk uio-driver
Below the output of show configuration running cli cfgfile
core3 tnsr(config)# show configuration running cli cfgfile dataplane ethernet default-mtu 1500 dataplane dpdk dev 0000:00:10.0 network name WAN dataplane api-segment api-size 16M dataplane api-segment global-size 64M dataplane api-segment api-pvt-heap-size 128K dataplane api-segment global-pvt-heap-size 128K dataplane buffers buffers-per-numa 32768 dataplane statseg heap-size 96M core3 tnsr(config)# show interface core3 tnsr(config)# core3 tnsr(config)# host shell ip a 1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 inet 127.0.0.1/8 scope host lo valid_lft forever preferred_lft forever inet6 ::1/128 scope host valid_lft forever preferred_lft forever 3: ens18: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc fq_codel state UP group default qlen 1000 link/ether 32:17:25:06:4d:49 brd ff:ff:ff:ff:ff:ff altname enp0s18 inet 192.168.12.44/26 metric 100 brd 192.168.12.63 scope global dynamic ens18 valid_lft 10635sec preferred_lft 10635sec inet6 fe80::3017:25ff:fe06:4d49/64 scope link valid_lft forever preferred_lft forever core3 tnsr(config)#
The host don't showing the VF interface, it has only the virtio that i use for management.
-
I solved the problem, the NIC was down no-carrier.
Once I had the interface up I was able to configure everything as I wanted.
A positive note to Netgate support who gave me assistance in resolving the problem.