ofproto/bond: only display hash entries with tx_byptes > 1KB
authorAndy Zhou <azhou@nicira.com>
Wed, 16 Apr 2014 08:36:59 +0000 (01:36 -0700)
committerAndy Zhou <azhou@nicira.com>
Wed, 16 Apr 2014 15:58:33 +0000 (08:58 -0700)
commitf6ba1f355075900221ffbfba127a75e540841bc5
tree5c709cb4e7e4fe333fc5b38478cf6f750e57bf03
parentbeb1c69a3a661dbc0232aeb9831c14788f84eb24
ofproto/bond: only display hash entries with tx_byptes > 1KB

When recirculation is used to implement bond, all bond entries are
always populated regardless whether there is traffic going through
them or not. This change cuts down the noise when running
'ovs-appctl bond/show', by skipping '0KB' entries.

Signed-off-by: Andy Zhou <azhou@nicira.com>
Acked-by: Jarno Rajahalme <jrajahalme@nicira.com>
ofproto/bond.c