iqiyi / dpvs

DPVS is a high performance Layer-4 load balancer based on DPDK.
Other
3.01k stars 726 forks source link

ipv6 add laddr ,failed dpdk api #375

Open DavidLeeUX opened 5 years ago

DavidLeeUX commented 5 years ago

bin/ipvsadm --add-laddr -z 2000:1200:1111:1111::155:1 -t [2000:1200:1111:1111::155:1]:80 -F dpdk0 [sockopt_msg_recv] errcode set in socket msg#400 header: failed dpdk api(-11)

但是 ipv4 add laddr 没有问题,在ipv6 添加laddr 出现,请问这是什么问题?

++++++++++++++++++++++++++++++++++++++++ [root@localhost dpvs]# bin/ipvsadm -G VIP:VPORT TOTAL SNAT_IP CONFLICTS CONNS [2000:1200:1111:1111::155:1]:80 1 2000:1200:1111:1111::155:1 0 0 201.1.1.1:80 1 201.1.1.1 0 0

Network devices using DPDK-compatible driver

0000:05:00.0 '82599ES 10-Gigabit SFI/SFP+ Network Connection 10fb' drv=igb_uio unused=

mscbg commented 5 years ago

看一下你的dpvs.conf的V6配置,需要把fldir mode配置成signature