'\" t .\" Title: dev_add_offload .\" Author: [FIXME: author] [see http://docbook.sf.net/el/author] .\" Generator: DocBook XSL Stylesheets v1.79.1 .\" Date: March 2017 .\" Manual: Network device support .\" Source: Kernel Hackers Manual 4.10.7 .\" Language: English .\" .TH "DEV_ADD_OFFLOAD" "9" "March 2017" "Kernel Hackers Manual 4\&.10\&" "Network device support" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .\" http://bugs.debian.org/507673 .\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .ie \n(.g .ds Aq \(aq .el .ds Aq ' .\" ----------------------------------------------------------------- .\" * set default formatting .\" ----------------------------------------------------------------- .\" disable hyphenation .nh .\" disable justification (adjust text to left margin only) .ad l .\" ----------------------------------------------------------------- .\" * MAIN CONTENT STARTS HERE * .\" ----------------------------------------------------------------- .SH "NAME" dev_add_offload \- register offload handlers .SH "SYNOPSIS" .HP \w'void\ dev_add_offload('u .BI "void dev_add_offload(struct\ packet_offload\ *\ " "po" ");" .SH "ARGUMENTS" .PP \fIpo\fR .RS 4 protocol offload declaration .RE .SH "DESCRIPTION" .PP 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\&. .PP This call does not sleep therefore it can not guarantee all CPU\*(Aqs that are in middle of receiving packets will see the new offload handlers (until the next received packet)\&. .SH "COPYRIGHT" .br