From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wi0-f171.google.com (mail-wi0-f171.google.com [209.85.212.171]) by dpdk.org (Postfix) with ESMTP id 3158F7E8C for ; Mon, 20 Oct 2014 23:43:53 +0200 (CEST) Received: by mail-wi0-f171.google.com with SMTP id em10so8365393wid.16 for ; Mon, 20 Oct 2014 14:52:06 -0700 (PDT) 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:organization :user-agent:in-reply-to:references:mime-version :content-transfer-encoding:content-type; bh=NrjYT36BHDz88ILpOgI9VlE71/jD0zlWS4XuoNeqobk=; b=fiBhWhLq6LkR1hSnc3z34GcvxXupuPVtP0L0Gb3HGkYiB4rd9Wuv/tuiBWhJ1SZ1Xo VNBb0YaVQk2h7n7ZAGZzLfq2/wegReyKDmFIRUZisj8oD+yIFmBSBgP8R5bXL2fIpDBi J7p7b9NH0qcF4tFrfayoJ4HN4/K0fU0wyEgk94PVHroOgAaOwarw92PHp2I0kalVHfBw jsoHT/0HTwCrf7jk7S8HNjRh0p3W+au1E3R3SI9uQVBvVpTNoGMV4vUU1sdDuAlk1GcB B4gwGS87RezKk6F7vl50Kplid706yj63E+BQJZAuBXbrbbFa9tKD0FQfjm/DbOLOoLRG uQyQ== X-Gm-Message-State: ALoCoQnZx6nTyLZ0+ce+MwUmEQYxNNyYxITZONf3Rjuqax53q63EveDhmaBy5tK1SLKIhJ2A8Swk X-Received: by 10.180.206.173 with SMTP id lp13mr22221223wic.78.1413841926244; Mon, 20 Oct 2014 14:52:06 -0700 (PDT) Received: from xps13.localnet (136-92-190-109.dsl.ovh.fr. [109.190.92.136]) by mx.google.com with ESMTPSA id bj7sm13218074wjc.33.2014.10.20.14.52.04 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 20 Oct 2014 14:52:05 -0700 (PDT) From: Thomas Monjalon To: Pablo de Lara Date: Mon, 20 Oct 2014 23:51:50 +0200 Message-ID: <2067605.H7N45QYIro@xps13> Organization: 6WIND User-Agent: KMail/4.14.1 (Linux/3.16.4-1-ARCH; KDE/4.14.1; x86_64; ; ) In-Reply-To: <1413825995-4509-1-git-send-email-pablo.de.lara.guarch@intel.com> References: <1413825995-4509-1-git-send-email-pablo.de.lara.guarch@intel.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Cc: dev@dpdk.org Subject: Re: [dpdk-dev] [PATCH] ethdev: Fixed memory corruption in rte_eth_rx_queue_setup and rte_eth_tx_queue_setup 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: Mon, 20 Oct 2014 21:43:53 -0000 2014-10-20 18:26, Pablo de Lara:> Commit fbde27f1 (ethdev: get default Rx/Tx configuration from dev info), > introduced a bug, which caused memory corruption in dev_info. > To get RX/TX configuration, both rx/tx queue setup functions were calling > dev_info_get from PMDs, so dev_info structure was not being reseted > before being populated. > > Signed-off-by: Pablo de Lara Acked-by: Thomas Monjalon Applied Thanks -- Thomas