AltraMayor / AltraMayor/gatekeeper

Enable RX checksums in hardware

Open
#348 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
C
Stars
1.6k
Forks
252
PR merge metrics
No merged PRs in 30d

Description

When it is available in hardware, we should enable RX checksum validation on IPv4 headers, and possibly on UDP/TCP headers.

Note that setting the RX checksum offloads doesn't make the hardware drop packets with bad checksums; it just sets bits in `struct rte_mbuf `that the application can then check. For the IP checksum, GK would have to check that it's an IPv4 packet and that the checksum is not bad. For L4 checksums, GK would have to check that it's TCP/UDP and that the checksum is not bad. This would potentially involve making the GK block look at the L4 header, which is does not currently do.

The RX checksum offload bits actually have four states, explained here: http://mails.dpdk.org/archives/dev/2016-October/048097.html

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.