Skip to content

Commit 5c45a91

Browse files
mchehabJonathan Corbet
authored andcommitted
net: netdevice.h: add a description for napi_defer_hard_irqs
Changeset 6f8b12d ("net: napi: add hard irqs deferral feature") added a new element at struct net_device. Add a description for it, based on what's described at the changeset which added such feature. Fixes: 6f8b12d ("net: napi: add hard irqs deferral feature") Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org> Link: https://lore.kernel.org/r/807a3840e7bc1562adefadb0535c9f47e6ab52e0.1592895969.git.mchehab+huawei@kernel.org Signed-off-by: Jonathan Corbet <corbet@lwn.net>
1 parent a8adb51 commit 5c45a91

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

‎include/linux/netdevice.h‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1742,6 +1742,8 @@ enum netdev_priv_flags {
17421742
* @real_num_rx_queues: Number of RX queues currently active in device
17431743
* @xdp_prog: XDP sockets filter program pointer
17441744
* @gro_flush_timeout: timeout for GRO layer in NAPI
1745+
* @napi_defer_hard_irqs: If not zero, provides a counter that would
1746+
* allow to avoid NIC hard IRQ, on busy queues.
17451747
*
17461748
* @rx_handler: handler for received packets
17471749
* @rx_handler_data: XXX: need comments on this one

0 commit comments

Comments
 (0)