Closed liweitianux closed 4 years ago
rte_kni.ko
has added a param "carrier". Please insmod this kmod with "carrier=on".Thank you for your prompt reply. Followed your suggestion to insert the rte_kni
module with the carrier=on
parameter, DPVS built with DPDK 18.11.2 works great!
Nevertheless, these errors/warnings still scare me a bit, such as:
(screen output)
linux_set_if_mac: fail to set dpdk0.kni's MAC address: Timer expired
[dpvs_setsockopt] scoket msg connection error: Connection refused
dpip: <unknow>
linux_set_if_mac: fail to set dpdk1.kni's MAC address: Timer expired
RTNETLINK answers: Timer expired
(in dpvs.log
)
NETIF: dpdk_set_mc_list: rte_eth_dev_set_mc_addr_list is not supported, enable all multicast.
NETIF: dpdk_set_mc_list: rte_eth_dev_set_mc_addr_list is not supported, enable all multicast.
Kni: kni_mc_list_cmp_set: add mc addr: 01:00:5e:00:00:01 dpdk0 OK
Kni: kni_mc_list_cmp_set: del mc addr: 33:33:00:00:00:02 dpdk0 OK
NETIF: dpdk_set_mc_list: rte_eth_dev_set_mc_addr_list is not supported, enable all multicast.
Kni: kni_mc_list_cmp_set: del mc addr: 33:33:00:00:00:02 dpdk1 OK
NETIF: dpdk_set_mc_list: rte_eth_dev_set_mc_addr_list is not supported, enable all multicast.
Kni: kni_mc_list_cmp_set: add mc addr: 33:33:00:00:00:05 dpdk0 OK
Kni: kni_mc_list_cmp_set: add mc addr: 01:00:5e:00:00:05 dpdk0 OK
NETIF: dpdk_set_mc_list: rte_eth_dev_set_mc_addr_list is not supported, enable all multicast.
NETIF: dpdk_set_mc_list: rte_eth_dev_set_mc_addr_list is not supported, enable all multicast.
Kni: kni_mc_list_cmp_set: del mc addr: 33:33:00:00:00:05 dpdk0 OK
Kni: kni_mc_list_cmp_set: del mc addr: 01:00:5e:00:00:05 dpdk0 OK
NETIF: dpdk_set_mc_list: rte_eth_dev_set_mc_addr_list is not supported, enable all multicast.
NETIF: dpdk_set_mc_list: rte_eth_dev_set_mc_addr_list is not supported, enable all multicast.
(in /var/log/messages
)
Aug 24 20:18:08 w-lvs02 kernel: rte_kni: Creating kni...
Aug 24 20:18:11 w-lvs02 kernel: rte_kni: kni_net_process_request: wait_event_interruptible timeout
Aug 24 20:18:11 w-lvs02 kernel: rte_kni: kni_net_set_mac request returns -62!
Aug 24 20:18:11 w-lvs02 kernel: rte_kni: Creating kni...
Aug 24 20:18:14 w-lvs02 kernel: rte_kni: kni_net_process_request: wait_event_interruptible timeout
Aug 24 20:18:14 w-lvs02 kernel: rte_kni: kni_net_set_mac request returns -62!
Aug 24 20:18:17 w-lvs02 kernel: rte_kni: kni_net_process_request: wait_event_interruptible timeout
It would be great if you could clarify these errors/warnings a bit, so that I can run the new DPVS/DPDK more confidently :-)
Thank you, regards.
dpdk_set_mc_list
may because your nic doesn't support multicast filter. DPVS receive all multicast packets in this case.Thank you for the kind support.
Hello.
We've been using DPVS (v1.7.8) in FullNAT mode for more than half a year. It works quite nice. Thank you for the nice work.
Now we're testing and upgrading to the newer v1.8.4 to gain even better performance and IPv6 support. However, we're having the issue that DPVS doesn't work when compiled with DPDK 18.11.2 (with the patches applied). The output messages looks like:
And the related syslog messages are:
In addition, the
ip addr
output looks like:So there are the following issues:
This server has
i40e
NIC, and the old DPDK 17.11.2 (DPVS v1.7.8) cannot configure an IPv6 address on it (the DPDK interfaces).Thank you, regards.