Thx a lot again for your time and your detailed explanation.

About the workaround you proposed, I didn't get where I should repeat __u16 
udp_len = bpf_ntohs(udp->len);.. I tried several spot but didn't succeed to 
make it works.
By the way repeat it, means probably shifting byte again ... so I pretty sure I 
didn't  get well what you mean :/ ... Did you succeed to make it works with 
this workaround ?

This is maybe a stupid question, but it seems to me that I'm not doing so 
exotic code here. I mean calculate a checksum with XDP and I fall in not so 
easy "issues". Is there something I do which is totally wrong or uncommon ?

> 
> I will take a look at SCALAR_VALUE issue later on.But if you or anybody
> has cycles and want to look into this issue,feel free to do so.

I didn't have enough skill to do that, I'm not even sure to understand what 
"spill/reload" means ?

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.

View/Reply Online (#1612): https://lists.iovisor.org/g/iovisor-dev/message/1612
Mute This Topic: https://lists.iovisor.org/mt/30315706/21656
Mute #verifier: https://lists.iovisor.org/mk?hashtag=verifier&subid=2590197
Group Owner: [email protected]
Unsubscribe: https://lists.iovisor.org/g/iovisor-dev/unsub  
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to