Skip to content

Instantly share code, notes, and snippets.

View micchie's full-sized avatar

Michio Honda micchie

View GitHub Profile
@micchie
micchie / gist:90585a656bb313f1015d7f6fb5c40fa3
Last active April 13, 2021 16:21
netmap: recipe for i40e checksum offload (csum_done before fdtable_add)
From cce94330056edd64e0247a9a3445244d2c0ba032 Mon Sep 17 00:00:00 2001
From: Michio Honda <michio.honda@ed.ac.uk>
Date: Tue, 13 Apr 2021 17:18:52 +0100
Subject: [PATCH] Add support for i40e hwcsum
---
LINUX/i40e_netmap_linux.h | 57 +++++++++++++++++++++++++++++++++++
sys/dev/netmap/netmap_kern.h | 1 +
sys/dev/netmap/netmap_paste.c | 13 ++++++++
3 files changed, 71 insertions(+)
#
# Automatically generated file; DO NOT EDIT.
# Linux/x86 4.14.0 Kernel Configuration
#
CONFIG_64BIT=y
CONFIG_X86_64=y
CONFIG_X86=y
CONFIG_INSTRUCTION_DECODER=y
CONFIG_OUTPUT_FORMAT="elf64-x86-64"
CONFIG_ARCH_DEFCONFIG="arch/x86/configs/x86_64_defconfig"