Hi, 


> On May 20, 2022, at 2:31 AM, NUAA无痕 <nuaawan...@gmail.com> wrote:
> 
> hi,vpp expert
> now im use vpp hoststack for udp, i meet some problems
> 
> 1.udp socket must use connect function, if user sendto will cause ip address 
> not connect error

What version of vpp are you using? Although we prefer connected udp for 
performance reasons, sendto should work. If socket was not connected/bound, vcl 
should connect it. What’s the exact error you’re getting and what are you 
trying to do? 

> 
> 2.if i use udp socket send packet biger than 1500, udp will split many 
> packet, is some method let it dont split

What exactly are you trying to achieve? Session layer chops datagrams into mss 
sized packets. If you’re trying to send large datagrams, up to nic mtu size, 
then as you did lower, increase udp mtu. 

> 
> 3.startup.conf set udp { mtu 9000 }, then use hoststack send one packet, it 
> will always send packet and cannot stop, the mtu must less than 1500

Not sure I understand what you mean by “it cannot stop”? If by chance you’re 
trying to force ip fragmentation, that’s not supported with udp sessions. 

Regards,
Florin

> 
> can u give some suggestions? than u
> 
> 
> 

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#21428): https://lists.fd.io/g/vpp-dev/message/21428
Mute This Topic: https://lists.fd.io/mt/91227351/21656
Group Owner: vpp-dev+ow...@lists.fd.io
Unsubscribe: https://lists.fd.io/g/vpp-dev/unsub [arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to