From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Monjalon Subject: Re: [PATCH] i40e: fix crash when dcb query Date: Thu, 31 Mar 2016 14:45:33 +0200 Message-ID: <1919693.V9jZxBxyjW@xps13> References: <1459150648-11052-1-git-send-email-jingjing.wu@intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7Bit Cc: dev@dpdk.org, helin.zhang@intel.com, yulong.pei@intel.com To: Jingjing Wu 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) In-Reply-To: <1459150648-11052-1-git-send-email-jingjing.wu@intel.com> List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" 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