diff options
author | Íñigo Huguet <ihuguet@redhat.com> | 2023-01-25 17:35:13 +0300 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2023-01-28 11:19:48 +0300 |
commit | ffffd2454a7a1bc9f7242b12c4cc0b05c12692b4 (patch) | |
tree | 36ccd3a898b23b878f3b2f78e9e8580bc68c6ace /net | |
parent | 0548c5f26a0fefa721b29be2bfff1c44f15b6d73 (diff) | |
download | linux-ffffd2454a7a1bc9f7242b12c4cc0b05c12692b4.tar.xz |
sfc: correctly advertise tunneled IPv6 segmentation
Recent sfc NICs are TSO capable for some tunnel protocols. However, it
was not working properly because the feature was not advertised in
hw_enc_features, but in hw_features only.
Setting up a GENEVE tunnel and using iperf3 to send IPv4 and IPv6 traffic
to the tunnel show, with tcpdump, that the IPv4 packets still had ~64k
size but the IPv6 ones had only ~1500 bytes (they had been segmented by
software, not offloaded). With this patch segmentation is offloaded as
expected and the traffic is correctly received at the other end.
Fixes: 24b2c3751aa3 ("sfc: advertise encapsulated offloads on EF10")
Reported-by: Tianhao Zhao <tizhao@redhat.com>
Signed-off-by: Íñigo Huguet <ihuguet@redhat.com>
Acked-by: Martin Habets <habetsm.xilinx@gmail.com>
Link: https://lore.kernel.org/r/20230125143513.25841-1-ihuguet@redhat.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'net')
0 files changed, 0 insertions, 0 deletions