nuttx icon indicating copy to clipboard operation
nuttx copied to clipboard

Support the GSO/GRO function on the SIM.

Open liqinhuixm opened this issue 1 year ago • 4 comments

Summary

Implement GSO/GRO functions on the sim, which mainly support the TCP and UDP.

Impact

The sent packets will not be fragmented by IP Layer, but will be segmented through GSO function.

Testing

  • Enable the following configuration options:
CONFIG_NET_OFFLOAD=y
CONFIG_NET_GSO=y
CONFIG_NET_TCP_OFFLOAD=y
CONFIG_NET_UDP_OFFLOAD=y
CONFIG_NET_UDPPROTO_OPTIONS=y

CONFIG_NET_GRO=y
  • Take the TCP as an example, perform streaming and use the wireshark to capture packets on tap0 interface. We will be able to see the complete TCP packets instead of the fragmented packet.

liqinhuixm avatar Jun 12 '24 13:06 liqinhuixm

Please remove gerrit/VELA info

Done

liqinhuixm avatar Jun 13 '24 01:06 liqinhuixm

@liqinhuixm please verify @xiaoxiang781216 comments

acassis avatar Jun 22 '24 22:06 acassis

@liqinhuixm please verify @xiaoxiang781216 comments

I am modifying patches and will submit them again after the completion.

liqinhuixm avatar Jun 24 '24 04:06 liqinhuixm

@liqinhuixm please verify @xiaoxiang781216 comments

I am modifying patches and will submit them again after the completion.

@liqinhuixm you don't need to resubmit a new PR, just update the commits and use git rebase interactive

acassis avatar Jul 12 '24 19:07 acassis