Turning on/off Rx/Tx checksum offloading.
Check that data can be sent or received after changing checksum offloading settings.
Establish connection between a pair of sockets of type sock_type on IUT and Tester.
Make sure that the tested checksum offloading is enabled.
If rx_csum is
TRUE
, send some data from Tester to IUT, otherwise - from IUT to Tester. Receive and check the sent data.Disable the tested checksum offloading.
Repeat the step with sending/receiving/checking data.
Re-enable the tested checksum offloading.
Repeat the step with sending/receiving/checking data.
Parameters:
env |
Testing environment. |
sock_type |
Socket type: |
rx_csum |
If |