Re: [vpp-dev] app_send_dgram should do ip fragmentation if data more than snd_mss

2020-07-22 Thread Ole Troan
And any well behaved UDP application would have to implement draft-ietf-tsvwg-datagram-plpmtud. Cheers, Ole > On 21 Jul 2020, at 18:57, Florin Coras wrote: > > Hi, > > By default udp computes its mss starting from a 1500 mtu. You can avoid this > by either changing the default, i.e., in sta

Re: [vpp-dev] app_send_dgram should do ip fragmentation if data more than snd_mss

2020-07-21 Thread Florin Coras
Hi, By default udp computes its mss starting from a 1500 mtu. You can avoid this by either changing the default, i.e., in startup.conf under the udp stanza add “mtu ”, or alternatively you can force mss on each connect, by explicitly setting it in the remote endpoint’s transport_endpoint_cfg_t

[vpp-dev] app_send_dgram should do ip fragmentation if data more than snd_mss

2020-07-21 Thread jiangxiaoming
hi: When sending 1500 bytes data with session app_send_dgram api, I find session-queue node will split the data to two udp packets, then vpp will sending to two separate IP packets out with no fragmentation. Even I set interface MTU with 9000, It's still sending two separate IP packets. I think