]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit7663f5ac39be8d0dc0e5457a7f4d21af55352d2f
tree3e37790aca88a4f0a9b2f7f7db087d1cdda25768
parent36a22ff6a61566e30d413f1561fea7f29834b0e7
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