Out of curious, I remember OVN doesn't support OVS DPDK, I believe OVN also does IPv6 ND by openflow, is it acceptable to use slow path to handle IPv6 ND for OVS kernel datapath?
-----邮件原件----- 发件人: Yi Yang (杨燚)-云服务集团 发送时间: 2021年2月24日 9:56 收件人: 'u9012...@gmail.com' <u9012...@gmail.com> 抄送: 'f...@sysclose.org' <f...@sysclose.org>; 'b...@ovn.org' <b...@ovn.org>; 'ovs-dev@openvswitch.org' <ovs-dev@openvswitch.org>; 'ovs-disc...@openvswitch.org' <ovs-disc...@openvswitch.org> 主题: 答复: [ovs-discuss] Do you know how I can set nd_options_type field for ipv6 ND message? 重要性: 高 Thanks, got it, I'll add this to kernel data path if nobody did it. -----邮件原件----- 发件人: William Tu [mailto:u9012...@gmail.com] 发送时间: 2021年2月24日 2:31 收件人: Yi Yang (杨燚)-云服务集团 <yangy...@inspur.com> 抄送: f...@sysclose.org; b...@ovn.org; ovs-dev@openvswitch.org; ovs-disc...@openvswitch.org 主题: Re: [ovs-discuss] Do you know how I can set nd_options_type field for ipv6 ND message? On Sun, Feb 21, 2021 at 9:39 PM Yi Yang (杨燚)-云服务集团 <yangy...@inspur.com> wrote: > > Thanks William, it is my ovs-ofctl issue, my ovs-vswitchd is new, but > ovs-ofctl is old, but after I used ovs-ofctl, I still saw issues: > > OFPT_ERROR (OF1.3) (xid=0x6): OFPBAC_BAD_SET_ARGUMENT OFPT_FLOW_MOD > (OF1.3) (xid=0x6): ADD > icmp6,icmp_type=135,icmp_code=0,nd_sll=22:70:e0:d0:fc:75 > cookie:0x1234567890123456 > actions=set_field:136->icmpv6_type,set_field:0->icmpv6_code,set_field: > 2->nd_options_type,resubmit(,0) OFPT_ERROR (OF1.3) (xid=0x6): > OFPBAC_BAD_SET_ARGUMENT OFPT_FLOW_MOD (OF1.3) (xid=0x6): ADD > icmp6,icmp_type=136,icmp_code=0 cookie:0x1234567890123456 > actions=move:NXM_OF_ETH_SRC[]->NXM_OF_ETH_DST[],set_field:22:70:e0:d0: > fc:76->eth_src,move:NXM_NX_IPV6_SRC[]->NXM_NX_IPV6_DST[],set_field:fe8 > 0::2070:e0ff:fed0:fc76->ipv6_src,set_field:22:70:e0:d0:fc:76->nd_tll,s > et_field:57344->nd_reserved,IN_PORT > > I saw this thread > https://www.mail-archive.com/ovs-dev@openvswitch.org/msg47815.html discussed > it, it can work after I applied patch in > https://www.mail-archive.com/ovs-dev@openvswitch.org/msg47815.html. > > So @Flavio, maybe you need to apply the patch in > https://www.mail-archive.com/ovs-dev@openvswitch.org/msg47815.html to fix > this issue in kernel datapath, per my check, kernel datapath with this patch > can work, I verified it by using openflow to do NS reply and ICMPv6 ping > reply. > > William, I guess you're using ovs userspace, so it doesn't have this issue. Yes, I'm testing it using userspace datapath. I think kernel datapath doesn't support setting nd_ext. Look like you can get it working by doing it in slow path, like the patch you pointed to. William _______________________________________________ dev mailing list d...@openvswitch.org https://mail.openvswitch.org/mailman/listinfo/ovs-dev