]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commit - net/core/dev.c
net: export dev_set_threaded symbol
authorLorenzo Bianconi <lorenzo@kernel.org>
Sun, 14 Mar 2021 14:49:19 +0000 (15:49 +0100)
committerDavid S. Miller <davem@davemloft.net>
Mon, 15 Mar 2021 19:35:23 +0000 (12:35 -0700)
commit8f64860f8b567cc4f8ac854a65cbf6337404c520
tree3e37790aca88a4f0a9b2f7f7db087d1cdda25768
parentdb7284a6ccc4a6d7714645141f7dcee0fcb4e57d
net: export dev_set_threaded symbol

For wireless devices (e.g. mt76 driver) multiple net_devices belongs to
the same wireless phy and the napi object is registered in a dummy
netdevice related to the wireless phy.
Export dev_set_threaded in order to be reused in device drivers enabling
threaded NAPI.

Signed-off-by: Lorenzo Bianconi <lorenzo@kernel.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/core/dev.c