[ovs-discuss] 答复: [ovs-dev] there are many error logs when processing igmp packet

Frank Wang(王培辉) wangpeihui at inspur.com
Wed Aug 5 06:38:39 UTC 2020


Thanks for your response, ben, 
I found these error logs will occur with hw-offload=true, This error will disappear when I disable hardware offload.
It seems there is a bug processing igmp packet when hardware offload enabled.
I'm not familiar with this code,  Could you provide any clue how to debug this issue? 

Thanks.

-----邮件原件-----
发件人: Ben Pfaff [mailto:blp at ovn.org] 
发送时间: 2020年8月5日 0:06
收件人: Frank Wang(王培辉) <wangpeihui at inspur.com>
抄送: ovs-discuss at openvswitch.org; ovs-dev at openvswitch.org
主题: Re: [ovs-dev] there are many error logs when processing igmp packet

On Tue, Aug 04, 2020 at 11:55:19AM +0000, Frank Wang(王培辉) wrote:
> Hello,
> 
>     I found there are many error logs as follows in ovs-vswitchd.log:
>     Aug  4 18:48:03 node-170 ovs-vswitchd:
> ovs|00100|odp_util(handler171)|ERR|internal error parsing flow key
> recirc_id(0),dp_hash(0),skb_priority(0),in_port(5),skb_mark(0),ct_stat
> e(0),c t_zone(0),ct_label(0),eth(src=6c:92:bf:14:e9:f8,
> dst=01:00:5e:00:00:16),eth_type(0x0800),ipv4(src=100.7.40.41,dst=224.0
> .0.22,
> proto=2,tos=0,ttl=1,frag=no)
> 
>    It seems parse_l2_5_onward function return ODP_FIT_TOO_LITTLE when 
> it processing igmp packet after digging,

ODP_FIT_TOO_LITTLE is expected for IGMP, because the kernel doesn't parse the IGMP header, whereas userspace does.

>    I'm wondering the reason to do this ,how to avoid this?

The log message shows that there is definitely a bug but it does not sound like it is in parse_l2_5_onward().
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 3623 bytes
Desc: not available
URL: <http://mail.openvswitch.org/pipermail/ovs-discuss/attachments/20200805/031916ea/attachment-0001.p7s>


More information about the discuss mailing list