[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <1288121720.2652.15.camel@edumazet-laptop>
Date: Tue, 26 Oct 2010 21:35:20 +0200
From: Eric Dumazet <eric.dumazet@...il.com>
To: Ben Greear <greearb@...delatech.com>
Cc: NetDev <netdev@...r.kernel.org>
Subject: Re: netlink stats: Ability to get stats for a single device?
Le mardi 26 octobre 2010 à 12:31 -0700, Ben Greear a écrit :
> From what I can tell, it's impossible to request stats for a single
> network device via netlink. When you have thousands of interfaces,
> this means a lot of wasted effort to get stats for a particular
> device.
>
> Am I missing something, or do I just need to write up a patch
> to have netlink pay attention to the ifindex?
>
Its already done
rtnl_register(PF_UNSPEC, RTM_GETLINK, rtnl_getlink, rtnl_dump_ifinfo);
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists