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:fe80::2070:e0ff:fed0:fc76->ipv6_src,set_field:22:70:e0:d0:fc:76->nd_tll,set_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

Reply via email to