[dpdk-dev] [PATCH] stats: remove useless memset's

2015-01-27 Thread Thomas Monjalon
2015-01-21 14:08, David Marchand: > Hello Stephen, > > > From: Stephen Hemminger > > > > The rte_eth_stats_get is the only API that should call the device > > statistics function directly, and it already does a memset of the > > resulting structure. Therefore doing memset() in the driver is > >

[dpdk-dev] [PATCH] stats: remove useless memset's

2015-01-21 Thread David Marchand
Hello Stephen, On Wed, Jan 21, 2015 at 5:16 AM, wrote: > From: Stephen Hemminger > > The rte_eth_stats_get is the only API that should call the device > statistics function directly, and it already does a memset of the > resulting structure. Therefore doing memset() in the driver is >

[dpdk-dev] [PATCH] stats: remove useless memset's

2015-01-21 Thread Neil Horman
On Tue, Jan 20, 2015 at 08:16:58PM -0800, stephen at networkplumber.org wrote: > From: Stephen Hemminger > > The rte_eth_stats_get is the only API that should call the device > statistics function directly, and it already does a memset of the > resulting structure. Therefore doing memset() in

[dpdk-dev] [PATCH] stats: remove useless memset's

2015-01-20 Thread step...@networkplumber.org
From: Stephen Hemminger The rte_eth_stats_get is the only API that should call the device statistics function directly, and it already does a memset of the resulting structure. Therefore doing memset() in the driver is redundant and should be removed. Signed-off-by: