On 22.10.2021. 13:39, Jan Klemkow wrote:
> Hi Hrvoje,
>
> Thats because, you only see this flags, if the checksum offloading is
> enabled for "sending". I'm still working/debugging on the sending side.
> Thus, I just send a diff with the receiving part for now.
>
> You can see if its working for your card with the netstat(8) statistics.
>
> # netstat -s | grep software-checksummed
>
> These counters should not raise much on the receive side if you put some
> traffic over the interface.
>
> Thanks for testing,
> Jan
Thank you for explanation...
I'm sending 8 tcp streams with iperf3 from some box to openbsd ixl box
and here are results:
without diff
smc24# netstat -s | grep software-checksummed
5039250 input datagrams software-checksummed
2592718 output datagrams software-checksummed
2592709 packets software-checksummed
5039250 packets software-checksummed
0 input packets software-checksummed
0 output packets software-checksummed
cca 6.12 Gbits/sec
with diff
smc24# netstat -s | grep software-checksummed
0 input datagrams software-checksummed
2956546 output datagrams software-checksummed
2956537 packets software-checksummed
0 packets software-checksummed
0 input packets software-checksummed
0 output packets software-checksummed
cca 6.70 Gbits/sec
are result like those expected?
is forwarding testing any good for checksum offload diffs?