]> git.baikalelectronics.ru Git - kernel.git/commit
net: do not inline netif_tx_lock()/netif_tx_unlock()
authorEric Dumazet <edumazet@google.com>
Wed, 17 Nov 2021 03:29:23 +0000 (19:29 -0800)
committerDavid S. Miller <davem@davemloft.net>
Wed, 17 Nov 2021 14:56:16 +0000 (14:56 +0000)
commit7a025c9020e0d94515b89bd06d772a317982e09d
treee24c4bd0ebd9f84847ff9e3d6a47a3655dc6151c
parent579e5f8c5ce28ec0b997008b72c1ca9626306ad5
net: do not inline netif_tx_lock()/netif_tx_unlock()

These are not fast path, there is no point in inlining them.

Also provide netif_freeze_queues()/netif_unfreeze_queues()
so that we can use them from dev_watchdog() in the following patch.

Signed-off-by: Eric Dumazet <edumazet@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/linux/netdevice.h
net/sched/sch_generic.c