[dpdk-dev] [PATCH] service: separate dump and reset code

Van Haaren, Harry harry.van.haaren at intel.com
Tue Oct 27 11:57:22 CET 2020


> -----Original Message-----
> From: David Marchand <david.marchand at redhat.com>
> Sent: Thursday, October 22, 2020 9:08 AM
> To: dev at dpdk.org
> Cc: Van Haaren, Harry <harry.van.haaren at intel.com>
> Subject: [PATCH] service: separate dump and reset code
> 
> No functional change intended.
> 
> service_dump_calls_per_lcore() was always called with a 0 reset flag.
> service_dump_one() was called with either a 0 reset flag or a NULL
> FILE pointer.
> 
> We can split the code for readability sake.
> 
> Note: there is no path to resetting calls_per_service[], this is left as
> is.
> 
> Signed-off-by: David Marchand <david.marchand at redhat.com>

Simplifies logic - thanks:
Acked-by: Harry van Haaren <harry.van.haaren at intel.com>


More information about the dev mailing list