Commit 92d668c
authored
hypervisor: Disable TSO/UFO/CSUM offloads on virtio-net TAPs (#110)
Stop advertising VIRTIO_NET_F_{CSUM,GUEST_CSUM,*_TSO4,*_TSO6,*_UFO,
*_ECN,CTRL_GUEST_OFFLOADS} so the guest computes full checksums and
segments its own packets. This avoids CHECKSUM_PARTIAL packets
reaching host NIC (which may disable tx-checksumming).
See internal commit 9e0a1d495b734cb1e883c3b9876a9aac22f91e6e and #103
for more context.
Closes #103.
Signed-off-by: Hengqi Chen <hengqi.chen@gmail.com>1 parent be7e375 commit 92d668c
1 file changed
Lines changed: 2 additions & 14 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
456 | 456 | | |
457 | 457 | | |
458 | 458 | | |
459 | | - | |
460 | | - | |
461 | | - | |
462 | | - | |
463 | | - | |
464 | | - | |
465 | | - | |
466 | | - | |
467 | | - | |
468 | | - | |
469 | | - | |
470 | | - | |
471 | | - | |
472 | | - | |
| 459 | + | |
| 460 | + | |
473 | 461 | | |
474 | 462 | | |
475 | 463 | | |
| |||
0 commit comments