Support the GSO/GRO function on the SIM.
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.
Please remove gerrit/VELA info
Done
@liqinhuixm please verify @xiaoxiang781216 comments
@liqinhuixm please verify @xiaoxiang781216 comments
I am modifying patches and will submit them again after the completion.
@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