[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20151021.190728.758804935928190351.davem@davemloft.net>
Date: Wed, 21 Oct 2015 19:07:28 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: james.morse@....com
Cc: netdev@...r.kernel.org, pshelar@...ira.com, dev@...nvswitch.org
Subject: Re: [PATCH net v3] openvswitch: Allocate memory for ovs internal
device stats.
From: James Morse <james.morse@....com>
Date: Mon, 19 Oct 2015 16:31:55 +0100
> "openvswitch: Remove vport stats" removed the per-vport statistics, in
> order to use the netdev's statistics fields.
> "openvswitch: Fix ovs_vport_get_stats()" fixed the export of these stats
> to user-space, by using the provided netdev_ops to collate them - but ovs
> internal devices still use an unallocated dev->tstats field to count
> packets, which are no longer exported by this api.
>
> Allocate the dev->tstats field for ovs internal devices, and wire up
> ndo_get_stats64 with the original implementation of
> ovs_vport_get_stats().
>
> On its own, "openvswitch: Fix ovs_vport_get_stats()" fixes the OOPs,
> unmasking a full-on panic on arm64:
...
> Fixes: 8c876639c985 ("openvswitch: Remove vport stats.")
> Signed-off-by: James Morse <james.morse@....com>
Applied, thanks.
--
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