1DEV_GET_BY_NAPI_ID(9) Network device support DEV_GET_BY_NAPI_ID(9)
2
3
4
6 dev_get_by_napi_id - find a device by napi_id
7
9 struct net_device * dev_get_by_napi_id(unsigned int napi_id);
10
12 napi_id
13 ID of the NAPI struct
14
16 Search for an interface by NAPI ID. Returns NULL if the device is not
17 found or a pointer to the device. The device has not had its reference
18 counter increased so the caller must be careful about locking. The
19 caller must hold RCU lock.
20
22Kernel Hackers Manual 3.10 June 2019 DEV_GET_BY_NAPI_ID(9)