diff options
author | Somnath Kotur <somnath.kotur@broadcom.com> | 2020-11-30 08:24:45 +0530 |
---|---|---|
committer | Damjan Marion <dmarion@me.com> | 2021-01-21 13:40:42 +0000 |
commit | 09332e9bc09748dd7eea564cb47f70863374ebf8 (patch) | |
tree | 0ff9eb4469a277749d0a780aedcc5bf2fb640a50 /src/vnet/srv6/sr_policy_rewrite.c | |
parent | e1480a2c12ff764622dd2ae1bc9bce6cd25bcbdd (diff) |
dpdk: do not use TSO for small packets
Asking for TSO (TCP Segmentation Offload) on packets that are already
smaller than (headers + MSS) does not make sense and may not work
on some HW.
Fix to only set the TSO flag when a segmentation offload is
really required, i.e when packet is large enough.
Type: improvement
Signed-off-by: Somnath Kotur <somnath.kotur@broadcom.com>
Change-Id: I7830ae8474581c8e518fb4910f7863e10346bb62
Signed-off-by: Somnath Kotur <somnath.kotur@broadcom.com>
Diffstat (limited to 'src/vnet/srv6/sr_policy_rewrite.c')
0 files changed, 0 insertions, 0 deletions