[ovs-dev] [PATCH v2] netdev-linux: Fix stats for ovs internal device.

Ben Pfaff blp at nicira.com
Wed Feb 29 22:01:21 UTC 2012


On Wed, Feb 29, 2012 at 01:59:43PM -0800, Pravin B Shelar wrote:
> Fixed according to comments from Ben.
> 
> v1-v2:
>         - Fixed commit msg.
>         - Added comments.
>         - Fixed return type of get_stats_via_vport().
> 
> --8<--------------------------cut here-------------------------->8-
> 
> There is no need to retrieve linux system stats for internal devices
> as all relevant stats for virtual device like internal device are
> already reported by OVS over vport-stats. As a result it also fixes
> error stats for internal-devices as they are not counted twice.
> 
> Signed-off-by: Pravin B Shelar <pshelar at nicira.com>

Thanks, looks good to me.



More information about the dev mailing list