From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wm0-f49.google.com (mail-wm0-f49.google.com [74.125.82.49]) by dpdk.org (Postfix) with ESMTP id 75EE35599 for ; Fri, 15 Jul 2016 23:33:22 +0200 (CEST) Received: by mail-wm0-f49.google.com with SMTP id f65so39966919wmi.0 for ; Fri, 15 Jul 2016 14:33:22 -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:user-agent:in-reply-to :references:mime-version:content-transfer-encoding; bh=cP+7yh10ec+4xLOen4S5jtodRpzswna+QVdMdd2mvdY=; b=U2Hi+B8MNekdSfwnhiwh0/1n6tuoUIhkwIHCMlOnd42oJwyzWs4BGcbLyyUEvUhO3i 4OO7dQ2aQz4YwC2jyrVhlBTsz1HrDpsgCIGhmU52iiEUTrmzAMIcq485vzcCwY/oF6tj jyRyfYPHx0LEZQfej0s2AePPgsD0pC2McG/rMqE4EHhZf4Eb/Yoxmf9EYzfs4xh6Vd8o AexBN9zVFgJPLnO3WF9wR7Rp/pl/DHdEJtGuWmDhoTqb/Hc+LwYKjg6ncqkhbc1hpELC 2bXdEXSQ7lNJBIAfFhWYFmLtX4BMIJP+WtEil9uEMKvokFW4ESPH136s0G/2B8sGqj+V rpeA== 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:user-agent :in-reply-to:references:mime-version:content-transfer-encoding; bh=cP+7yh10ec+4xLOen4S5jtodRpzswna+QVdMdd2mvdY=; b=dh582/bcOyvEl/+1jO+mQKHX35GjSmNCmGb/GXmawE6M0RNS2CYczz9GacNbcwgUNe Gt4LuWRPg25sZiYwhzBAAZ1l/qxqZ7/cRwVh0xI9alQeJj3l5P2HQYS9ga44pxlEh2vY 847UbHODabtTQv0fbVt/90wVFLLdzAsKYQoMveEF+5vlAfLGul9jp1ZwM6No7dKbSLys GoUCRCauEkOpKRvFtHg/7IN9+eG2LlGRV53vwaWAfnhOtbh7yPAM8khQwGBXlFbdROwC w9Zp9gueHXEVOm8ittMaIMwm88stVzemlf5rZjKpbqMsI4D373gHmMViqb9DvgDlBUjZ qqkw== X-Gm-Message-State: ALyK8tJJ+Z51f+/tSXtWNV96uIkNWN+qfND9rZDyDy5zXOs38Zw3gAgQddCKxCZ4whCfU6GK X-Received: by 10.194.142.77 with SMTP id ru13mr2488550wjb.156.1468618402324; Fri, 15 Jul 2016 14:33:22 -0700 (PDT) Received: from xps13.localnet (184.203.134.77.rev.sfr.net. [77.134.203.184]) by smtp.gmail.com with ESMTPSA id q187sm1310292wma.17.2016.07.15.14.33.21 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 15 Jul 2016 14:33:21 -0700 (PDT) From: Thomas Monjalon To: Nelson Escobar Cc: dev@dpdk.org, bruce.richardson@intel.com Date: Fri, 15 Jul 2016 23:33:20 +0200 Message-ID: <1489897.9sSbybFCKM@xps13> User-Agent: KMail/4.14.10 (Linux/4.5.4-1-ARCH; KDE/4.14.11; x86_64; ; ) In-Reply-To: <1468458557-17989-1-git-send-email-neescoba@cisco.com> References: <1468458557-17989-1-git-send-email-neescoba@cisco.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Subject: Re: [dpdk-dev] [PATCH] net/enic: fix segfault after receiving error interrupt 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: Fri, 15 Jul 2016 21:33:22 -0000 2016-07-13 18:09, Nelson Escobar: > When enic's interrupt handler is called indicating an error, it scans > through the receive queues (RQs) on the adapter looking for errors. > But since the inclusion of rx scatter, some of the RQs may not be in > use, and you shouldn't check them for errors. > > Fixes: 856d7ba7ed22 ("net/enic: support scattered Rx") > > Signed-off-by: Nelson Escobar > Reviewed-by: John Daley Applied, thanks