Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp1632141ybl; Tue, 3 Dec 2019 10:08:32 -0800 (PST) X-Google-Smtp-Source: APXvYqynOr9mzZh0CETTjxQVMqpWU3hwRk+BfV3G9Nxa/dcyIY7aWXHm6YySVJ+AZTXWPJvOWI+G X-Received: by 2002:aca:de88:: with SMTP id v130mr4804455oig.108.1575396512235; Tue, 03 Dec 2019 10:08:32 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1575396512; cv=none; d=google.com; s=arc-20160816; b=Y7+7eNzqMsDe9tRwFy3lmQgljSrhlWkHw4TfvIgozqZr1GoARKfz7UwMN2GiLy/lcj p/7qJp15JMsEWkrIk/IavKxaoalfT7N/nNW8k2+c6OMBrn7hA4oT2mC6EMK8tO8D3O4Z /jJy4NAX/iXiXmv7Vr2TW8XZNGMEY0GNUqBz+X0EGFjIc0neBp9viwBnJyI/WD3msT05 9pPz1kOp9vwz+ha689kKKjpqkzi6wKsK88h5qRWYeYeYeuKlJSVB7rowmrkY8oQDGJ7p hdAxN5zGoyap5lYv+2aWaBKWKfhPOH+4FJpf0KHUBXGxnRjksDWWG5WetSkatlK0xBo3 0T+g== 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=/sxFBO+A4bmmlzeA7kuVL6WCWUyudTPsIA+QFiheH5M=; b=mwhzWere1aIugVCtaqRyLU0GYRUPvY+63JpcZzWsVlW813dWKGr7zxXN5eeDBeg0Us 1+loDq/wtLJ7DTG8fJEpZwaGbXwfx9zRAFeY9ZuAZIHSTkcOBSrqz+YrOh1KDDPSTIX0 B9/xHmR0oatnevPs4HZsVknDu2Fq+UayDhujgDHsbW5vAcDCZ9p9xktBR9frbNgg4NH4 3hsPO+pMC981gE5C0GxFk4DtKUCHxrFQEtyAmvDriY5Yxz6OQe5BgZBngeP2ohgu8i1K 97lzik2SQkU0XKLiCAf0JGDZaMWuBnXNJQZ5W9y3/eWTKfI671H13tv2ifpA+E3vNloU rphQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@netronome-com.20150623.gappssmtp.com header.s=20150623 header.b="BAw/Dmna"; 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 q10si1651144otn.53.2019.12.03.10.08.16; Tue, 03 Dec 2019 10:08:32 -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="BAw/Dmna"; 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 S1727111AbfLCSHO (ORCPT + 99 others); Tue, 3 Dec 2019 13:07:14 -0500 Received: from mail-pj1-f68.google.com ([209.85.216.68]:37359 "EHLO mail-pj1-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726847AbfLCSHO (ORCPT ); Tue, 3 Dec 2019 13:07:14 -0500 Received: by mail-pj1-f68.google.com with SMTP id ep17so1831738pjb.4 for ; Tue, 03 Dec 2019 10:07:13 -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=/sxFBO+A4bmmlzeA7kuVL6WCWUyudTPsIA+QFiheH5M=; b=BAw/Dmnay1FLKQCIDZm7gksS5lhoF8Z8pN9rRw+7OMz3u6YDyu7z3zqsQPxKaUT5kQ HNyBORMDB003vrTmJ/ICK2nWe0X3SsrYlGRHuqmfAG0QDvTlw+lWuZhyWFExBGGiFbaj Em4mMOyfhrZj3nv3/oSol59HVfCLyDhAki2qhRoseCWCqaJwU/3P1bUAsq7UW0E1C6Y0 ++PVI76pMnSdBJaQqS+19sszKnOCTSpuNPRcPvFpRlzscwFKE5BHiyFY4lygTOG3wL6k b16qMzks5zFEYvv8yQnkGojVS95Vm6a8zPGfTIh2kcVcMr/mfW0MkXJqxoBizSRIx+Tb ypmQ== 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=/sxFBO+A4bmmlzeA7kuVL6WCWUyudTPsIA+QFiheH5M=; b=opTS5R1XCJ03o4hrYcxk7MHXMWMGvRRSfnHRcUEQTfjVBvnVS6tYR4EKIjq3WsdrWX cPc4rr9G/d2ee/eimunhEYxxqTxC5ad49UNJfz6tGjAAWFGmjy2TJgolI/mjZMsohVcS a6x9Fwku8Srgi71d4DUwA4RwQPW8uPDdIWxwEHfFIArjmoFOEP3eiwue4fz8DJ9bdZ00 mg6k/unf++buP1+OzKJDEh0zsGxZGcFCA60tne+8wA1Sb7X9g5o70HBZ2jpNzTv1QhY3 sLeyzJf+UoWa7kkzHaqfocAC+8AZicbQqjrYxx2FREut+06HYyI3u9PHH2MHto/Zxz+o OQ1w== X-Gm-Message-State: APjAAAWVkhPSS53GRSz1CVRnG4hAYfPwrpZGiCwd/Ncy7X9kH20hTemV JLcW/bNyirVrgpKEPlYFwUywiA== X-Received: by 2002:a17:902:8f96:: with SMTP id z22mr5932828plo.11.1575396433357; Tue, 03 Dec 2019 10:07:13 -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 h6sm4103397pgq.61.2019.12.03.10.07.12 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 03 Dec 2019 10:07:13 -0800 (PST) Date: Tue, 3 Dec 2019 10:07:01 -0800 From: Jakub Kicinski To: "Michael S. Tsirkin" Cc: jcfaracco@gmail.com, linux-kernel@vger.kernel.org, netdev@vger.kernel.org, davem@davemloft.net, jasowang@redhat.com, virtualization@lists.linux-foundation.org, dnmendes76@gmail.com Subject: Re: [PATCH RFC v7 net-next] netdev: pass the stuck queue to the timeout handler Message-ID: <20191203100701.0d6a367e@cakuba.netronome.com> In-Reply-To: <20191203071101.427592-1-mst@redhat.com> References: <20191203071101.427592-1-mst@redhat.com> 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 Tue, 3 Dec 2019 02:12:48 -0500, Michael S. Tsirkin wrote: > This allows incrementing the correct timeout statistic without any mess. > Down the road, devices can learn to reset just the specific queue. > > The patch was generated with the following script: Still: Acked-by: Jakub Kicinski