Re: [PATCH net-next v4] rtnetlink: add new RTM_GETSTATS message to dump link stats

2016-04-18 Thread roopa
On 4/18/16, 9:28 AM, David Miller wrote: > From: Roopa Prabhu > Date: Sun, 17 Apr 2016 22:35:35 -0700 > >> This patch adds a new RTM_GETSTATS message to query link stats via netlink >> from the kernel. RTM_NEWLINK also dumps stats today, but RTM_NEWLINK >> returns a lot

Re: [PATCH net-next v4] rtnetlink: add new RTM_GETSTATS message to dump link stats

2016-04-18 Thread David Miller
From: Roopa Prabhu Date: Sun, 17 Apr 2016 22:35:35 -0700 > This patch adds a new RTM_GETSTATS message to query link stats via netlink > from the kernel. RTM_NEWLINK also dumps stats today, but RTM_NEWLINK > returns a lot more than just stats and is expensive in some

[PATCH net-next v4] rtnetlink: add new RTM_GETSTATS message to dump link stats

2016-04-17 Thread Roopa Prabhu
From: Roopa Prabhu This patch adds a new RTM_GETSTATS message to query link stats via netlink from the kernel. RTM_NEWLINK also dumps stats today, but RTM_NEWLINK returns a lot more than just stats and is expensive in some cases when frequent polling for stats from