diff options
| author | Heiner Kallweit <hkallweit1@gmail.com> | 2020-02-18 20:56:41 +0100 |
|---|---|---|
| committer | David S. Miller <davem@davemloft.net> | 2020-02-19 11:20:59 -0800 |
| commit | 76eeb12b71a4aa5654694765c8c1bde9a1ce8bd8 (patch) | |
| tree | adbfb602842031da92ab6742083ef20a2d447562 /tools/perf/scripts/python/event_analyzing_sample.py | |
| parent | net/ipv4/sysctl: show tcp_{allowed, available}_congestion_control in non-init... (diff) | |
| download | linux-76eeb12b71a4aa5654694765c8c1bde9a1ce8bd8.tar.gz linux-76eeb12b71a4aa5654694765c8c1bde9a1ce8bd8.zip | |
net: core: add helper tcp_v6_gso_csum_prep
Several network drivers for chips that support TSO6 share the same code
for preparing the TCP header, so let's factor it out to a helper.
A difference is that some drivers reset the payload_len whilst others
don't do this. This value is overwritten by TSO anyway, therefore
the new helper resets it in general.
Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com>
Reviewed-by: Alexander Duyck <alexander.h.duyck@linux.intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python/event_analyzing_sample.py')
0 files changed, 0 insertions, 0 deletions
