From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-pa0-f44.google.com (mail-pa0-f44.google.com [209.85.220.44]) by dpdk.org (Postfix) with ESMTP id 92DBC2A5F for ; Wed, 2 Dec 2015 04:24:06 +0100 (CET) Received: by pacdm15 with SMTP id dm15so25959339pac.3 for ; Tue, 01 Dec 2015 19:24:06 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=nIRDt6zTxmfoEoc/UXtslUZkvR0C55RldJDjeUpI4Dw=; b=cwbG486+VT4XIrFUZOwqLiXV1W+hdK0rrKpVlBpnLTpdzZVcSv/2MTpNpWgpmFi6Kd YXrFKhY23Vtb4Uak8jNfwnK06GHOElb4q3uGZ3Fq5d+T59QL8jdS8+qE7qdKMP0yBkWC C3APp64Cc7r3bNcdBv8x44oVSokUMFR/8kUxXh3le1hrRpkvGh+GuWI0B6AdRtUycE6O sze0i/3cSQ8okl/txK818n0Y0UhfKrC0hPkO7lbtR5YJ7vaaEvD2szxH0mgGfZr0kx8H lV9LWOHCjJxJFXyOF5/FkIZI1+4rOWkWiwLE5/g3HhdZ1ZpRLm0ohyPh+QPJMu5rDubY qb3w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=nIRDt6zTxmfoEoc/UXtslUZkvR0C55RldJDjeUpI4Dw=; b=UVH4yKriTsbHCYyZD+ex5pxuTx0a9QtR0FMXxac5l2dsaZcb9vkuz+yxnFAuZdZ44W nlh+EEh6bzHcxYY0dDV84KCUNlxEqgCsbHQdY5bZgPjTBYzFDVNssxcuP5Qil+/eUUtZ G5D0dWRSxnPWOEIcm6z2W1MwaZutV/oyLbjyM4dsE/vwOTA+/2QT9JLMyRr9nAZQ5neh dguW1rkNtnYDtx7EtPA/FFpxoCp0ZX6tzowadEueApiXn4ZrdiINmmdikk/uSmP9mtCq Jx+DK4ReM8rHxG8pqC30ch4M8Qlt75taOE6FUHGfO8NGmfOZMviV6SWwOoBSxgwOBeHD vEiA== X-Gm-Message-State: ALoCoQkwMmHcf/hekAAgNxwmOLzA0YRgeFPpuz3Twk5dxbrQdQRGbbP8PTHWymk3O8hNYTaP2jXT X-Received: by 10.67.5.164 with SMTP id cn4mr1223505pad.141.1449026646026; Tue, 01 Dec 2015 19:24:06 -0800 (PST) Received: from xeon-e3.home.lan (static-50-53-82-155.bvtn.or.frontiernet.net. [50.53.82.155]) by smtp.gmail.com with ESMTPSA id n88sm713752pfb.26.2015.12.01.19.24.05 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Tue, 01 Dec 2015 19:24:05 -0800 (PST) From: Stephen Hemminger To: dev@dpdk.org Date: Tue, 1 Dec 2015 19:24:11 -0800 Message-Id: <1449026652-7320-3-git-send-email-stephen@networkplumber.org> X-Mailer: git-send-email 2.1.4 In-Reply-To: <1449026652-7320-1-git-send-email-stephen@networkplumber.org> References: <1449026652-7320-1-git-send-email-stephen@networkplumber.org> Subject: [dpdk-dev] [PATCH 2/3] xen-virt: use memset not bzero X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 02 Dec 2015 03:24:07 -0000 Signed-off-by: Stephen Hemminger --- drivers/net/xenvirt/rte_eth_xenvirt.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/net/xenvirt/rte_eth_xenvirt.c b/drivers/net/xenvirt/rte_eth_xenvirt.c index e83c08c..3353bcb 100644 --- a/drivers/net/xenvirt/rte_eth_xenvirt.c +++ b/drivers/net/xenvirt/rte_eth_xenvirt.c @@ -640,7 +640,8 @@ eth_dev_xenvirt_create(const char *name, const char *params, struct pmd_internals *internals = NULL; struct rte_eth_dev *eth_dev = NULL; struct xenvirt_dict dict; - bzero(&dict, sizeof(struct xenvirt_dict)); + + memset(&dict, 0, sizeof(struct xenvirt_dict)); RTE_LOG(INFO, PMD, "Creating virtio rings backed ethdev on numa socket %u\n", numa_node); -- 2.1.4