[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20101026.123811.13746869.davem@davemloft.net>
Date: Tue, 26 Oct 2010 12:38:11 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: greearb@...delatech.com
Cc: netdev@...r.kernel.org
Subject: Re: netlink stats: Ability to get stats for a single device?
From: Ben Greear <greearb@...delatech.com>
Date: Tue, 26 Oct 2010 12:31:12 -0700
> Am I missing something, or do I just need to write up a patch
> to have netlink pay attention to the ifindex?
Setting the ->ifi_index or IFLA_IFNAME attribute values appropriately
in the getlink request doesn't work?
That should give you back, amonst other things, the rtnl_link_stats
for the device in the netlink response.
--
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