]> git.ipfire.org Git - thirdparty/iproute2.git/commit
ip: Support IFLA_TXQLEN in ip link command
authorEric Dumazet <eric.dumazet@gmail.com>
Thu, 22 Oct 2009 18:13:21 +0000 (18:13 +0000)
committerStephen Hemminger <shemminger@vyatta.com>
Thu, 12 May 2011 15:55:49 +0000 (08:55 -0700)
commitf78e316f25f8795e3e2b8d05ce2ecb908b62db9c
tree8a61c7bbf636ec94ccd2445157c1e63e8114de0f
parent892eba309fab1bad2a15868163c0d10b6ed88592
ip: Support IFLA_TXQLEN in ip link command

Eric Dumazet a écrit :
> We currently use an expensive ioctl() to get device txqueuelen, while
> rtnetlink gave it to us for free. This patch speeds up ip link operation
> when many devices are registered.
>

Here is a 2nd version od this patch, not displaying "qlen 0" useless info

[PATCH iproute2] ip: Support IFLA_TXQLEN in ip link show command

We currently use an expensive ioctl() to get device txqueuelen, while
rtnetlink gave it to us for free. This patch speeds up ip link operation
when many devices are registered.

Signed-off-by: Eric Dumazet <eric.dumazet@gmail.com>
ip/ipaddress.c