liqinhuixm opened a new pull request, #12431:
URL: https://github.com/apache/nuttx/pull/12431

   ## Summary
   Support the jumbo frame in the sim.
   - First, support setting mtu on sim;
   - Then, optimize the use of iob by jumbo frame packets, and pre-alloc an iob 
in the protocol stack for each jumbo frame packet, supporting the ICMP, UDP and 
TCP.
   ## Impact
   The sim can support the JUMBO frame packets.
    
   ## Testing
   - First, configure the options, 
    '''
   CONFIG_SIM_NETDEV_MTU = 3000
   CONFIG_NET_JUMBO_FRAME=y
   '''
   - Then, we use the ICMP to test.
   '''
   ping -s 3000 10.0.1.1
   '''
   - Finally, capture packets on nuttx0 using the Wireshark. We should be able 
to see ICMP packets with the length of 3042 bytes.
   
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to