Re: [dpdk-dev] [PATCH] eal: fix rte_zalloc_socket to zero memory

2018-12-10 Thread Burakov, Anatoly
On 10-Dec-18 10:26 AM, Bruce Richardson wrote: On Fri, Dec 07, 2018 at 05:24:20PM -0500, David Harton wrote: The zalloc and calloc functions do not actually zero the memory. Added memset to rte_zmalloc_socket() so allocated memory is cleared. Signed-off-by: David Harton --- lib/librte_eal/co

Re: [dpdk-dev] [PATCH] eal: fix rte_zalloc_socket to zero memory

2018-12-10 Thread Bruce Richardson
On Fri, Dec 07, 2018 at 05:24:20PM -0500, David Harton wrote: > The zalloc and calloc functions do not actually zero the memory. > Added memset to rte_zmalloc_socket() so allocated memory is cleared. > > Signed-off-by: David Harton > --- > lib/librte_eal/common/rte_malloc.c | 4 +++- > 1 file ch

Re: [dpdk-dev] [PATCH] eal: fix rte_zalloc_socket to zero memory

2018-12-09 Thread Mattias Rönnblom
On 2018-12-07 23:24, David Harton wrote: The zalloc and calloc functions do not actually zero the memory. Added memset to rte_zmalloc_socket() so allocated memory is cleared. Signed-off-by: David Harton --- lib/librte_eal/common/rte_malloc.c | 4 +++- 1 file changed, 3 insertions(+), 1 delet

Re: [dpdk-dev] [PATCH] eal: fix rte_zalloc_socket to zero memory

2018-12-07 Thread Wiles, Keith
gt;> Cc: dev@dpdk.org; Burakov, Anatoly >> Subject: Re: [dpdk-dev] [PATCH] eal: fix rte_zalloc_socket to zero memory >> >> >> >>> On Dec 7, 2018, at 3:24 PM, David Harton wrote: >>> >>> The zalloc and calloc functions do not actu

Re: [dpdk-dev] [PATCH] eal: fix rte_zalloc_socket to zero memory

2018-12-07 Thread Wiles, Keith
t;mailto:dev@dpdk.org>; Burakov, Anatoly mailto:anatoly.bura...@intel.com>> Subject: Re: [dpdk-dev] [PATCH] eal: fix rte_zalloc_socket to zero memory On Dec 7, 2018, at 3:24 PM, David Harton mailto:dhar...@cisco.com>> wrote: The zalloc and calloc functions do not actua

Re: [dpdk-dev] [PATCH] eal: fix rte_zalloc_socket to zero memory

2018-12-07 Thread David Harton (dharton)
> -Original Message- > From: Wiles, Keith > Sent: Friday, December 07, 2018 6:41 PM > To: David Harton (dharton) > Cc: dev@dpdk.org; Burakov, Anatoly > Subject: Re: [dpdk-dev] [PATCH] eal: fix rte_zalloc_socket to zero memory > > > > > On Dec

Re: [dpdk-dev] [PATCH] eal: fix rte_zalloc_socket to zero memory

2018-12-07 Thread Wiles, Keith
> On Dec 7, 2018, at 3:24 PM, David Harton wrote: > > The zalloc and calloc functions do not actually zero the memory. > Added memset to rte_zmalloc_socket() so allocated memory is cleared. > > Signed-off-by: David Harton > --- > lib/librte_eal/common/rte_malloc.c | 4 +++- > 1 file changed, 3

[dpdk-dev] [PATCH] eal: fix rte_zalloc_socket to zero memory

2018-12-07 Thread David Harton
The zalloc and calloc functions do not actually zero the memory. Added memset to rte_zmalloc_socket() so allocated memory is cleared. Signed-off-by: David Harton --- lib/librte_eal/common/rte_malloc.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/lib/librte_eal/common/rt