Received: by 2002:a25:7ec1:0:0:0:0:0 with SMTP id z184csp2211692ybc; Sun, 24 Nov 2019 15:40:43 -0800 (PST) X-Google-Smtp-Source: APXvYqze6dc1onnVnqLOBElwFwzJvJ8eQAHPBwumBuUZnQbQEwRBdBv6vIHvHqZsVsX+NFmYT3zF X-Received: by 2002:a50:ac2c:: with SMTP id v41mr14915348edc.11.1574638843133; Sun, 24 Nov 2019 15:40:43 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1574638843; cv=none; d=google.com; s=arc-20160816; b=t0x4LWxqGgpH4NTTz2/FuzHKDF8hJ9HdA1BRIXn9Zi/7iweNooiycv6A0icUZD71zS ni99WRxwFxOVscG/WMFyMp/pGM5iuJBWqSAdo3n8dTA/WfTyfwrHjgBMK7s7mTJi5Hz7 PXT0fJbpzLdZ5Es08p0SRImGZ+XKZLUo3DASIBb1S43Ga/raKIBmD1aZ9Hl55/aTEE61 nTXCQYDwVrAlmjwD9ydma3kOfYesXFhOl3aH4P6otdDuTMnVz+yF26Khqb90YGe4n+gj AO2ovzgFUZ4ooYTsjRK5ldJrguzXAnhmuhQwLV0lAjbDpMqrXHa0mB/Q1dXEnUjbLafa 8bAQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :organization:references:in-reply-to:message-id:subject:cc:to:from :date:dkim-signature; bh=6we/MzgfhyrkDi1CPOUTtTgeIKvvzsxgig47t8jJM8Y=; b=LPBxywJ/iRMUqOBh0kqiBVoRC6pNsM7QtgehUhV63gut3mN7LmbwaQ/ErzM10ir7zb I7tMJ1mqP/W4mjOtc5BMQwfanMk2ku6W+mQ4xmJdY/9C48pANPL13njPDRETKPFMbA3o Gj0b99JfhtTnrQVKDHhXG08y53EMqiC4+IDM4r3eneJnm/Qib4akTXTDseJwQ51Wn8bf M8L7xGUr7Ft8Ij5I8BnxmZDfvESiYT+txqa9sO67hXU81jolgi1fwBFgw2NXUjFjCNNM mc/EPEnPf9bY2KewHQHcbUUhDXdxWp5mcSBWwBFK2CrbxqJN0yQC2eOdnS3cuv2dBTou WgzA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@netronome-com.20150623.gappssmtp.com header.s=20150623 header.b=OEtVeEEs; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id b10si3711431eds.63.2019.11.24.15.40.18; Sun, 24 Nov 2019 15:40:43 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@netronome-com.20150623.gappssmtp.com header.s=20150623 header.b=OEtVeEEs; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727113AbfKXXh0 (ORCPT + 99 others); Sun, 24 Nov 2019 18:37:26 -0500 Received: from mail-pl1-f175.google.com ([209.85.214.175]:35622 "EHLO mail-pl1-f175.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727029AbfKXXhZ (ORCPT ); Sun, 24 Nov 2019 18:37:25 -0500 Received: by mail-pl1-f175.google.com with SMTP id s10so5595842plp.2 for ; Sun, 24 Nov 2019 15:37:23 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=netronome-com.20150623.gappssmtp.com; s=20150623; h=date:from:to:cc:subject:message-id:in-reply-to:references :organization:mime-version:content-transfer-encoding; bh=6we/MzgfhyrkDi1CPOUTtTgeIKvvzsxgig47t8jJM8Y=; b=OEtVeEEsQDSTgHMJqp7VqvE8uzd0KsJDG/6U5B9xDGR+tD3BkP+zbNLwz1ZiWmA00Q yy4vDEjHrvDB4haPaWtrGoYi2e2c2JY4hbX4tS3m5zNc5les6QcVrWZNGuRs6PoNU1cQ 1gZnTLtuN7c1lxQPrhM6iBLYPZ/Ka2ZkPmQY1fU7n1vpXsny1fTXFEd8ApPNT+HjGOu4 jAdWLxV5D+rtihHjDK7irsel13mbrNwxnCF2N00XBgKXfpJPqSPhbWWLmlCxKPVxpBeK 65sXZHduK21B32XKwpPGhgTLjiZAHHCrllwOzZ2Bp46wTa5IwugxdToCN4W6+kcZ2z4f d7Kg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:in-reply-to :references:organization:mime-version:content-transfer-encoding; bh=6we/MzgfhyrkDi1CPOUTtTgeIKvvzsxgig47t8jJM8Y=; b=NakO+50fQti4nSZBfG4DPwOPoBOnem7XITl21Szpj7MVM4bmr17JKJrcC85bEV25dR pJZxkHz+SdNt85h/r4JJodhgYeo5dBA3mjYHKt69qlc5OyiIxn2fQTiAWTV3x9x6I1AO lNtwG54GFwf9nYx5AFl76I+nUQ9mqlzxGY8xOiFj8zgB98ovnzDsjGUBsbMVG8ZrxVeI pHx/Egryi70+4yut0TwtzaIQYHS2PU7aBfYyP+fXgFaowNIpd6HNL5n40l45NHJBSzyc AgL5sIgVlaWv0t49/MYikgC5mJYFy/59lmUdVIM1d5l3qtWa1yKdeqG6F1Aij/whRLMd ea3w== X-Gm-Message-State: APjAAAWuJ8fCPtRjWJ6PiL6GZUYWzwnN7Pn23d3A8GN3WBllMfzavxGf 37AVAOaCTXDEFEgvQMzvu+uaWA== X-Received: by 2002:a17:90a:a612:: with SMTP id c18mr35029024pjq.49.1574638643235; Sun, 24 Nov 2019 15:37:23 -0800 (PST) Received: from cakuba.netronome.com (c-73-202-202-92.hsd1.ca.comcast.net. [73.202.202.92]) by smtp.gmail.com with ESMTPSA id e7sm5525228pfi.29.2019.11.24.15.37.22 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 24 Nov 2019 15:37:23 -0800 (PST) Date: Sun, 24 Nov 2019 15:37:17 -0800 From: Jakub Kicinski To: "Michael S. Tsirkin" Cc: Julio Faracco , netdev@vger.kernel.org, Daiane Mendes , Jason Wang , "David S. Miller" , virtualization@lists.linux-foundation.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH net-next v2] drivers: net: virtio_net: Implement a dev_watchdog handler Message-ID: <20191124153717.6edefa85@cakuba.netronome.com> In-Reply-To: <20191124182426-mutt-send-email-mst@kernel.org> References: <20191122013636.1041-1-jcfaracco@gmail.com> <20191122052506-mutt-send-email-mst@kernel.org> <20191124100157-mutt-send-email-mst@kernel.org> <20191124164411-mutt-send-email-mst@kernel.org> <20191124150352.5cab3209@cakuba.netronome.com> <20191124182426-mutt-send-email-mst@kernel.org> Organization: Netronome Systems, Ltd. MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sun, 24 Nov 2019 18:29:49 -0500, Michael S. Tsirkin wrote: > netdev: pass the stuck queue to the timeout handler > > This allows incrementing the correct timeout statistic without any mess. > Down the road, devices can learn to reset just the specific queue. FWIW Acked-by: Jakub Kicinski