From owner-freebsd-net@freebsd.org Wed Nov 4 16:47:50 2020 Return-Path: Delivered-To: freebsd-net@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id EDC2A461B5A for ; Wed, 4 Nov 2020 16:47:50 +0000 (UTC) (envelope-from rysto32@gmail.com) Received: from mail-ed1-x52b.google.com (mail-ed1-x52b.google.com [IPv6:2a00:1450:4864:20::52b]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4CRCJ60B1Nz41Fy for ; Wed, 4 Nov 2020 16:47:49 +0000 (UTC) (envelope-from rysto32@gmail.com) Received: by mail-ed1-x52b.google.com with SMTP id a71so17773931edf.9 for ; Wed, 04 Nov 2020 08:47:49 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=ge0ZqCD9Kc7FKNOEV2+QMEi6AxvHz9+JT1H2uB7enqU=; b=Sszuy0iazPpaaKTD/jCkyH3r6YizcoeObeBL4sHJr2Ih51OLFcBEJv3P4irEExne6p JowqMGdb7pkWkjtv/sxD4cKjzhZmKCuHSd5oS6DEUz2uJ0vJ37Euz9YkL3y/HIYnlgvC JNYVOlv8eZrzp7E7hLn9FD1rh65g7pA1AToyWlmBdhbCF2dnOolXKSBnRROeSJ5KRMPM xHv9cRr5uWgUXNk8gkpcG7sBNrALTX1gGqpIdGbc1oBqiSnNjy5+7qPlJgJeeB4tGANc yUWzTQ/XwH9j4zx4XY+kUmhYGNs4TnYeCXaXYZzljr2m8dfa/+lnJ54hwtfAwB5kdNzi zlOg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=ge0ZqCD9Kc7FKNOEV2+QMEi6AxvHz9+JT1H2uB7enqU=; b=dK3tFX+WrzKfmfgraDZzgIUWuVlEVdczUVWkueiLE6u023wiZ/U5gKotuc/8garpz2 /larHHJ8B3+E8/33uwBXJ6NJTE2AIdkQhjOVcjwd1xP3iKvpAC98UV27Av3O/p//csl1 GTqzA4FQkt8nObEXLudaiOJnhZSVdo6bU18T00ep0iYEgBBnlfnEx61/dkRU8gRe2KDZ RDSiQuimm28gMENb5vMVF4IXKOxNBvvbzQSKfhMRgvNnDluP8Fck2vVXcpqqJloplH0b ZIbAiA0qynqs4aSo9RDtm7gVdnh2esjbyNl2Bjm3pTCaAd2hNl2qTviaID881FRf+be6 wlAw== X-Gm-Message-State: AOAM533PQyXkGkEUiE2CgqC5UdfpJ3xan+vCiDZu6E720Tn/lnHPXkMZ wkpZSkylQiPBhdsIidCSiAXyFCeFzlbR+0qKHpanw/pZJVU= X-Google-Smtp-Source: ABdhPJznXBGiaOKOYmS9bBA4uLLdm8/IrZ4TGNAH9lTThjxvLIPwdqMSIHzxjxh2i2Mge+ef2ax7bXygR6AKZ3hViJ0= X-Received: by 2002:aa7:cb19:: with SMTP id s25mr7929951edt.116.1604508467353; Wed, 04 Nov 2020 08:47:47 -0800 (PST) MIME-Version: 1.0 From: Ryan Stone Date: Wed, 4 Nov 2020 11:47:36 -0500 Message-ID: Subject: iflib tx watchdog doesn't appear that it can work anymore To: freebsd-net Content-Type: text/plain; charset="UTF-8" X-Rspamd-Queue-Id: 4CRCJ60B1Nz41Fy X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20161025 header.b=Sszuy0ia; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (mx1.freebsd.org: domain of rysto32@gmail.com designates 2a00:1450:4864:20::52b as permitted sender) smtp.mailfrom=rysto32@gmail.com X-Spamd-Result: default: False [-2.84 / 15.00]; RCVD_TLS_ALL(0.00)[]; ARC_NA(0.00)[]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20161025]; NEURAL_HAM_MEDIUM(-1.00)[-1.001]; FROM_HAS_DN(0.00)[]; FREEMAIL_FROM(0.00)[gmail.com]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-net@freebsd.org]; NEURAL_HAM_LONG(-1.02)[-1.021]; RCPT_COUNT_ONE(0.00)[1]; TO_DN_ALL(0.00)[]; DKIM_TRACE(0.00)[gmail.com:+]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; RCVD_IN_DNSWL_NONE(0.00)[2a00:1450:4864:20::52b:from]; NEURAL_SPAM_SHORT(0.18)[0.180]; R_SPF_ALLOW(-0.20)[+ip6:2a00:1450:4000::/36]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; FREEMAIL_ENVFROM(0.00)[gmail.com]; ASN(0.00)[asn:15169, ipnet:2a00:1450::/32, country:US]; RCVD_COUNT_TWO(0.00)[2]; MAILMAN_DEST(0.00)[freebsd-net]; DWL_DNSWL_NONE(0.00)[gmail.com:dkim] X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 04 Nov 2020 16:47:51 -0000 https://svnweb.freebsd.org/base?view=revision&revision=356310 As of r356310, there does not appear to be a way that ift_qstatus can be set to anything but IFLIB_QUEUE_IDLE. As a result, I don't see that there is any way for the watchdog to ever fire. I think that iflib has missed setting ift_qstatus to IFLIB_QUEUE_WORKING when packets are enqueued on the rx ring.