OSDN Git Service

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)
commitdab8fe320726b38a6b1dc6a7ca6e386c5f7779e8
treee24c4bd0ebd9f84847ff9e3d6a47a3655dc6151c
parent5337824f4dc4bb26f38fbbba4ffb425a92803f15
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