]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/commit - include/linux/netdevice.h
net: introduce NETDEV_CHANGE_TX_QUEUE_LEN
authorJason Wang <jasowang@redhat.com>
Thu, 30 Jun 2016 06:45:35 +0000 (14:45 +0800)
committerDavid S. Miller <davem@davemloft.net>
Fri, 1 Jul 2016 09:32:17 +0000 (05:32 -0400)
commit08294a26e15d7baf1e14ee569e9f2bc82a7ae768
treef64f414e88d4352b4f20f4db869848caa4144c62
parentbf900b3dbefee49855c17aa09fb4245346a78fb3
net: introduce NETDEV_CHANGE_TX_QUEUE_LEN

This patch introduces a new event - NETDEV_CHANGE_TX_QUEUE_LEN, this
will be triggered when tx_queue_len. It could be used by net device
who want to do some processing at that time. An example is tun who may
want to resize tx array when tx_queue_len is changed.

Cc: John Fastabend <john.r.fastabend@intel.com>
Signed-off-by: Jason Wang <jasowang@redhat.com>
Acked-by: John Fastabend <john.r.fastabend@intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/linux/netdevice.h
net/core/net-sysfs.c
net/core/rtnetlink.c