---
name: "dev_add_offload"
section: "9"
platform: "linux"
package: "linux-manual-4.9"
version: "4.9.228-1"
release: "Debian 9 (Stretch)"
platforms: ["linux"]
url: "https://new.carta.tech/dev_add_offload"
---

# dev\_add\_offload(9)

register offload handlers

## NAME

dev\_add\_offload - register offload handlers

## SYNOPSIS

**void dev\_add\_offload(struct packet\_offload \*** *po***);**

## ARGUMENTS

*po*

protocol offload declaration

## DESCRIPTION

Add protocol offload handlers to the networking stack. The passed proto\_offload is linked into kernel lists and may not be freed until it has been removed from the kernel lists.

This call does not sleep therefore it can not guarantee all CPU's that are in middle of receiving packets will see the new offload handlers (until the next received packet).

## COPYRIGHT
