AltraMayor / AltraMayor/gatekeeper

Enable RX checksums in hardware

Đang mở
#348 0 bình luận 0 reaction 0 người được giao Xem trên GitHub
Ngôn ngữ chính
C
Star
1.6k
Fork
252
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Mô tả

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

Hướng dẫn đóng góp

Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.