---
name: "init_dummy_netdev"
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/init_dummy_netdev"
---

# init\_dummy\_netdev(9)

init a dummy network device for NAPI

## NAME

init\_dummy\_netdev - init a dummy network device for NAPI

## SYNOPSIS

**int init\_dummy\_netdev(struct net\_device \*** *dev***);**

## ARGUMENTS

*dev*

device to init

## DESCRIPTION

This takes a network device structure and initialize the minimum amount of fields so it can be used to schedule NAPI polls without registering a full blown interface. This is to be used by drivers that need to tie several hardware interfaces to a single NAPI poll scheduler due to HW limitations.

## COPYRIGHT
