From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wm0-f44.google.com (mail-wm0-f44.google.com [74.125.82.44]) by dpdk.org (Postfix) with ESMTP id 209706936 for ; Thu, 31 Mar 2016 14:47:27 +0200 (CEST) Received: by mail-wm0-f44.google.com with SMTP id 191so125161986wmq.0 for ; Thu, 31 Mar 2016 05:47:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=6wind-com.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:organization:user-agent :in-reply-to:references:mime-version:content-transfer-encoding; bh=e3ZZIkWIbRzRrxCPKkKfDmrSBWzZp4Q6ReNSaKDl/wg=; b=0otDqxR2APUWAIL7k4xtudLOjKbJTa8rHTS8yReNZh9PHBt55xumljedm57jFRC8UN aWJG83oZ17i2+wWIvgh5TQU9y+xwL0Wl28cMpHCTnPQ54syFh1cpQe5720djBKogxIv6 GAaabREMaKsiq6bYD0O6XqPccZJxUEDIA627JuYjFHKfLXx5UMmgS7AA7QB7eltmCdu6 LcCgM0CX8ZSsKkghL798HyVtWiFxOWPOEBPzWU+0BdIxenDdaa2nF41VUeb2yPXL6kMf xsUGsIUYMLJ1VkkfKgqHE/k6czs/CnafPTZe69dMwFWrIbKjB4MRFtMJ4UexewUxMCV6 lRfg== 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; bh=e3ZZIkWIbRzRrxCPKkKfDmrSBWzZp4Q6ReNSaKDl/wg=; b=McEdnmP2SdOr23ggMDI1zj9G5AzqazFkNSCA2TabDlDUIw3kLfZhcCIJJqjFkwA0W6 KDmfneqGYeU544rDH5AGJNlbVFgw7Ix4SZm03NwJv60kLmAZAMuPk5tdWqGsdjzfm3n2 OZpOGM4dMDTbbqPGCTBUxNoTjSjMymZr0ZEeqCanmKdl51lYTXQA0E7/W59KWzWRpoRO 9cfHU3O6mCB/RptL2lXriZ0in86cLjY65+DjHQIbZXlbmgdjeQSVRtEtTVCCSsnm6OVT 6jHm1q/NX9EABKXPJHGpoMafqlUn43g9x+lIeZ4QjvqHGYASw1+B0HSAgxZtmYUSd19t Yw6Q== X-Gm-Message-State: AD7BkJKo0SP6GbND09pHwcbL4w1pPWXP666OZvU8fN3kHjy/ImylmVqLKaDctTWqueH2dZQE X-Received: by 10.194.76.161 with SMTP id l1mr15209358wjw.108.1459428446911; Thu, 31 Mar 2016 05:47:26 -0700 (PDT) Received: from xps13.localnet (91.111.75.86.rev.sfr.net. [86.75.111.91]) by smtp.gmail.com with ESMTPSA id yn10sm6887798wjc.45.2016.03.31.05.47.26 (version=TLSv1/SSLv3 cipher=OTHER); Thu, 31 Mar 2016 05:47:26 -0700 (PDT) From: Thomas Monjalon To: Jingjing Wu Cc: dev@dpdk.org, helin.zhang@intel.com, yulong.pei@intel.com Date: Thu, 31 Mar 2016 14:45:33 +0200 Message-ID: <1919693.V9jZxBxyjW@xps13> Organization: 6WIND User-Agent: KMail/4.14.10 (Linux/4.1.6-1-ARCH; KDE/4.14.11; x86_64; ; ) In-Reply-To: <1459150648-11052-1-git-send-email-jingjing.wu@intel.com> References: <1459150648-11052-1-git-send-email-jingjing.wu@intel.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Subject: Re: [dpdk-dev] [PATCH] i40e: fix crash when dcb query 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: Thu, 31 Mar 2016 12:47:27 -0000 2016-03-28 15:37, Jingjing Wu: > Calling rte_eth_dev_get_dcb_info to get dcb info from i40e > driver if VMDQ is disabled, results in a segmentation fault. > This patch fixes it by treating VMDQ and No-VMDQ respectively > when querying dcb information. > > Fixes: 5135f3ca49a7 ("i40e: enable DCB in VMDQ VSIs") > > Signed-off-by: Jingjing Wu Applied, thanks