Date: Tue, 10 Nov 2020 09:35:27 +0000 From: nostalgiatbl76225@gmail.com To: freebsd-net@freebsd.org Subject: =?UTF-8?B?5LiA5aWX5Y+v5Lul55u05o6l5om+5Yiw5YWo55CD6YeH6LSt5ZWG55qE5bmz5Y+w?= Message-ID: <000000000000d909c705b3bd655a@google.com>
next in thread | raw e-mail | index | archive | help
SSd2ZSBpbnZpdGVkIHlvdSB0byBmaWxsIGluIHRoZSBmb2xsb3dpbmcgZm9ybToNCuS4gOWll+WP r+S7peebtOaOpeaJvuWIsOWFqOeQg+mHh+i0reWVhueahOW5s+WPsA0KDQpUbyBmaWxsIGl0IGlu LCB2aXNpdDoNCmh0dHBzOi8vZG9jcy5nb29nbGUuY29tL2Zvcm1zL2QvZS8xRkFJcFFMU2ZNeklk eG9nZGtvUE5KZ3NxWlM1djI1ZE9nekN1c0pwM1d6a1g1RnZvbHkyX2xPZy92aWV3Zm9ybT92Yz0w JmFtcDtjPTAmYW1wO3c9MSZhbXA7ZmxyPTAmYW1wO3VzcD1tYWlsX2Zvcm1fbGluaw0KDQpJJiMz OTt2ZSBpbnZpdGVkIHlvdSB0byBmaWxsIGluIGEgZm9ybToNCg0KR29vZ2xlIEZvcm1zOiBDcmVh dGUgYW5kIGFuYWx5c2Ugc3VydmV5cy4NCg== From owner-freebsd-net@freebsd.org Tue Nov 10 09:35:43 2020 Return-Path: <owner-freebsd-net@freebsd.org> 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 DDE3B2E8CDB for <freebsd-net@mailman.nyi.freebsd.org>; Tue, 10 Nov 2020 09:35:43 +0000 (UTC) (envelope-from 36l6qXxEJC1UABFGx835xGy8UTPPS39x58.zB92E11yF0-A1G2E11yF0.BE3@trix.bounces.google.com) Received: from mail-yb1-xb48.google.com (mail-yb1-xb48.google.com [IPv6:2607:f8b0:4864:20::b48]) (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 4CVjQl3Fz8z3NLV for <freebsd-net@freebsd.org>; Tue, 10 Nov 2020 09:35:43 +0000 (UTC) (envelope-from 36l6qXxEJC1UABFGx835xGy8UTPPS39x58.zB92E11yF0-A1G2E11yF0.BE3@trix.bounces.google.com) Received: by mail-yb1-xb48.google.com with SMTP id t71so5335167ybi.3 for <freebsd-net@freebsd.org>; Tue, 10 Nov 2020 01:35:43 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:reply-to:message-id:date:subject:from:to; bh=6T7sQVYebJQD+xvmgfUzt5dcsBVbnGSy9bc7nx0m+dw=; b=IZBKmsQIle+aGJgnt+KnSo/Gjx8JraEVFZwgWG0wLhxqMS4oNwmGhWWK34rZw2aHV4 W7Tsi9pBi+A//RpXIKnmP6AAvILUgKKq8VjTK4Ne1jAXTxM8ek/Cy0S345sLez0pzsRA qCdXDRB4Jga/EHRTGG1AxlrslP0cM0uueVBmnqPsgCxns41Cb5/yApnXgd2h7bLlJq7g C193sM1+V5Do8z9rBVpmuhX9ZZX/rgZCjdRc3drITgdvGEcoplblBvViILZoMm61fgEi hmeBm3GLGPyarxw+YKRJ5mlsfoDZanZW2Srv8KGcjw8ZqeU12K7SY0VUzpp04LtX9IvB TfcQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:reply-to:message-id:date:subject :from:to; bh=6T7sQVYebJQD+xvmgfUzt5dcsBVbnGSy9bc7nx0m+dw=; b=LDV2YtxpfRPJzA+mYHyIQQhyXS7hMDHUO9Xjjqda2G5/9WnAJV51L8VqPp48qyOu+k Hd0ZyLgLJ1p01WIpko5CyeImaGkSfPWDSPNCcWTBZ6GGwV+Wr65tMw0QMNvxSEXHQlCH ToCfp2XFEmFYGA/cKMxlFVYPFTD1skAmn8yginUl3lCj8rwDFTPf2g+j0QHJYIk2eCjr rsuC1BmhPWD5qelRo4Wj94lRrI4MM4VNxucADe1iQUNV+/Mh8zd8lFBbN8Ki7Jt5Eo6g 06iH86npQhQAXxlbR+NR8QTANV2NnAo8aCzH2+tmlv5LqUvUMyVqNMTb9jZyzA4xDFWV QzyQ== X-Gm-Message-State: AOAM5329B5RdbwMf9mJOSLNzOoMqOUoImbnrt/EDH/qENtLo01nX24YG hwAzMowWbYRwnD+rnhw+KaFNYTgctiQX6IQMkVDY MIME-Version: 1.0 X-Received: by 2002:a25:86cb:: with SMTP id y11mt16749299ybm.18.1605000938637; Tue, 10 Nov 2020 01:35:38 -0800 (PST) Reply-To: nostalgiatbl76225@gmail.com X-No-Auto-Attachment: 1 Message-ID: <000000000000d0098d05b3bd663a@google.com> Date: Tue, 10 Nov 2020 09:35:43 +0000 Subject: =?UTF-8?B?5LiA5aWX5Y+v5Lul55u05o6l5om+5Yiw5YWo55CD6YeH6LSt5ZWG55qE5bmz5Y+w?= From: nostalgiatbl76225@gmail.com To: freebsd-net@freebsd.org X-Rspamd-Queue-Id: 4CVjQl3Fz8z3NLV X-Spamd-Bar: / Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20161025 header.b=IZBKmsQI; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (mx1.freebsd.org: domain of 36l6qXxEJC1UABFGx835xGy8UTPPS39x58.zB92E11yF0-A1G2E11yF0.BE3@trix.bounces.google.com designates 2607:f8b0:4864:20::b48 as permitted sender) smtp.mailfrom=36l6qXxEJC1UABFGx835xGy8UTPPS39x58.zB92E11yF0-A1G2E11yF0.BE3@trix.bounces.google.com X-Spamd-Result: default: False [0.40 / 15.00]; HAS_REPLYTO(0.00)[nostalgiatbl76225@gmail.com]; R_SPF_ALLOW(-0.20)[+ip6:2607:f8b0:4000::/36:c]; FREEMAIL_FROM(0.00)[gmail.com]; TO_DN_NONE(0.00)[]; DKIM_TRACE(0.00)[gmail.com:+]; MIME_BASE64_TEXT(0.10)[]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; FORGED_SENDER(0.30)[nostalgiatbl76225@gmail.com,36l6qXxEJC1UABFGx835xGy8UTPPS39x58.zB92E11yF0-A1G2E11yF0.BE3@trix.bounces.google.com]; MIME_TRACE(0.00)[0:+,1:+,2:~]; RBL_DBL_DONT_QUERY_IPS(0.00)[2607:f8b0:4864:20::b48:from]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US]; FROM_NEQ_ENVFROM(0.00)[nostalgiatbl76225@gmail.com,36l6qXxEJC1UABFGx835xGy8UTPPS39x58.zB92E11yF0-A1G2E11yF0.BE3@trix.bounces.google.com]; DWL_DNSWL_NONE(0.00)[gmail.com:dkim]; ARC_NA(0.00)[]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20161025]; REPLYTO_EQ_FROM(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; FREEMAIL_REPLYTO(0.00)[gmail.com]; PREVIOUSLY_DELIVERED(0.00)[freebsd-net@freebsd.org]; NEURAL_SPAM_MEDIUM(1.00)[1.000]; RCPT_COUNT_ONE(0.00)[1]; SPAMHAUS_ZRD(0.00)[2607:f8b0:4864:20::b48:from:127.0.2.255]; NEURAL_SPAM_SHORT(1.00)[1.000]; FROM_NO_DN(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[2607:f8b0:4864:20::b48:from]; RCVD_COUNT_TWO(0.00)[2]; RCVD_TLS_ALL(0.00)[]; MAILMAN_DEST(0.00)[freebsd-net] Content-Type: text/plain; charset="UTF-8"; format=flowed; delsp=yes Content-Transfer-Encoding: base64 X-Content-Filtered-By: Mailman/MimeDel 2.1.34 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Networking and TCP/IP with FreeBSD <freebsd-net.freebsd.org> List-Unsubscribe: <https://lists.freebsd.org/mailman/options/freebsd-net>, <mailto:freebsd-net-request@freebsd.org?subject=unsubscribe> List-Archive: <http://lists.freebsd.org/pipermail/freebsd-net/> List-Post: <mailto:freebsd-net@freebsd.org> List-Help: <mailto:freebsd-net-request@freebsd.org?subject=help> List-Subscribe: <https://lists.freebsd.org/mailman/listinfo/freebsd-net>, <mailto:freebsd-net-request@freebsd.org?subject=subscribe> X-List-Received-Date: Tue, 10 Nov 2020 09:35:43 -0000 SSd2ZSBpbnZpdGVkIHlvdSB0byBmaWxsIGluIHRoZSBmb2xsb3dpbmcgZm9ybToNCuS4gOWll+WP r+S7peebtOaOpeaJvuWIsOWFqOeQg+mHh+i0reWVhueahOW5s+WPsA0KDQpUbyBmaWxsIGl0IGlu LCB2aXNpdDoNCmh0dHBzOi8vZG9jcy5nb29nbGUuY29tL2Zvcm1zL2QvZS8xRkFJcFFMU2ZNeklk eG9nZGtvUE5KZ3NxWlM1djI1ZE9nekN1c0pwM1d6a1g1RnZvbHkyX2xPZy92aWV3Zm9ybT92Yz0w JmFtcDtjPTAmYW1wO3c9MSZhbXA7ZmxyPTAmYW1wO3VzcD1tYWlsX2Zvcm1fbGluaw0KDQpJJiMz OTt2ZSBpbnZpdGVkIHlvdSB0byBmaWxsIGluIGEgZm9ybToNCg0KR29vZ2xlIEZvcm1zOiBDcmVh dGUgYW5kIGFuYWx5c2Ugc3VydmV5cy4NCg== From owner-freebsd-net@freebsd.org Tue Nov 10 16:02:55 2020 Return-Path: <owner-freebsd-net@freebsd.org> 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 80B87434F25 for <freebsd-net@mailman.nyi.freebsd.org>; Tue, 10 Nov 2020 16:02:55 +0000 (UTC) (envelope-from rysto32@gmail.com) Received: from mail-ed1-x534.google.com (mail-ed1-x534.google.com [IPv6:2a00:1450:4864:20::534]) (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 4CVt1V677Wz4b5V; Tue, 10 Nov 2020 16:02:54 +0000 (UTC) (envelope-from rysto32@gmail.com) Received: by mail-ed1-x534.google.com with SMTP id k9so13282955edo.5; Tue, 10 Nov 2020 08:02:54 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=R2vSgB2EAEql15weBs+GeDRLpXoI7zSyXSNGhjwuqUc=; b=E1uT7WSRHH+eFPQwEXfmOySh/n3KCe0ISR16Kh324LVXCryCuhAcIQpQGxXOXr/PW4 mFE4z9ezAIll09T2FiXrk3b2km6AN+L7iZeF9rxovymXKSTvawE9H7ey3oGRbNMie1sw tb8qi8bvribTraE0IisPr11+5G12+miSz2YLUz0HuP6pGxAlH0KlFHt8Ll5pu5XWo4PH /wLPt9ShH1MwaJyZce1HQDoX74v2tMJeeYCLniSWksMHFgCVyyhj7k3Ftm443GIfJNHy 1CpjDhAej6mj+5Dl/5KgZWSb+H+6ipBTs6QwN9HmMv81ruuxQ7WhTxS8+NrE697OksSv /X+A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=R2vSgB2EAEql15weBs+GeDRLpXoI7zSyXSNGhjwuqUc=; b=aZljgWHAc7BEdbcomYWQBEk85vOntVmjFwBthSvqdzJSwfs7HiajSVLOUe6H/OyZsR 2VfhDHjf/8hGvTF9ZZ3J9v8VtxN0fpFTwcwOyFXzajK5b0FYcZTAKcf40h++gIIueOPJ xVrpswVm4HzG7NJX8oSK+vaoePJUCOOYF1tazE3xsXHEgTr+bYDCBudeJWiQ+kIcQUw3 hageW4MvcbvpJKIRXnyb3iYTPSFGQcWvKHiGWfZSm3etY1MiXgX6y61Eb4IrviUcM0nJ wzgOlDu+jXozXusi76IiE5TzT/lgv6ktS32Zeykx71iQZ83jzFbA0NtofOTYv+k408rF T9fQ== X-Gm-Message-State: AOAM531pO6O4DX8tPAM7OQhAyTdG69KGLAf1xcMnw9Qk2iz5qvuZ3mMD pY1xT7pSK4cDihmNCKHCKFWe2ua3IQ+sgG5Rm1pye4dY X-Google-Smtp-Source: ABdhPJzp/PGB49U2pHV1Fys8VnhH1rnxpbg8etdKp1uBIeHJxhiYo6CyKgvufSnoRattQOXYl+7Inrio1kKLpXP2co4= X-Received: by 2002:a50:eb96:: with SMTP id y22mr21786405edr.116.1605024169476; Tue, 10 Nov 2020 08:02:49 -0800 (PST) MIME-Version: 1.0 References: <CAFMmRNw+-1Hn4HyKqXsAMxx40aUPPOVubppAivUieBdedMSF1Q@mail.gmail.com> <CA+b0zg9R2N6C6vzi5oC=VDZvX92FoYOZBKx=8b_B2W9G1uZwyQ@mail.gmail.com> In-Reply-To: <CA+b0zg9R2N6C6vzi5oC=VDZvX92FoYOZBKx=8b_B2W9G1uZwyQ@mail.gmail.com> From: Ryan Stone <rysto32@gmail.com> Date: Tue, 10 Nov 2020 11:02:38 -0500 Message-ID: <CAFMmRNycGwWzo9h0LLxhhNWDutER64Zvowu9yg+v7Zvx4sGJUQ@mail.gmail.com> Subject: Re: iflib tx watchdog doesn't appear that it can work anymore To: Eric Joyner <erj@freebsd.org> Cc: freebsd-net <freebsd-net@freebsd.org>, Piotr.Pietruszewski@intel.com Content-Type: text/plain; charset="UTF-8" X-Rspamd-Queue-Id: 4CVt1V677Wz4b5V X-Spamd-Bar: / Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20161025 header.b=E1uT7WSR; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (mx1.freebsd.org: domain of rysto32@gmail.com designates 2a00:1450:4864:20::534 as permitted sender) smtp.mailfrom=rysto32@gmail.com X-Spamd-Result: default: False [-0.00 / 15.00]; RCVD_TLS_ALL(0.00)[]; ARC_NA(0.00)[]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20161025]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[3]; FREEMAIL_FROM(0.00)[gmail.com]; R_SPF_ALLOW(-0.20)[+ip6:2a00:1450:4000::/36]; MIME_GOOD(-0.10)[text/plain]; NEURAL_SPAM_SHORT(1.00)[1.000]; RBL_DBL_DONT_QUERY_IPS(0.00)[2a00:1450:4864:20::534:from]; TO_DN_SOME(0.00)[]; NEURAL_SPAM_MEDIUM(1.00)[1.000]; SPAMHAUS_ZRD(0.00)[2a00:1450:4864:20::534:from:127.0.2.255]; TO_MATCH_ENVRCPT_SOME(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::534:from]; NEURAL_HAM_LONG(-1.00)[-1.000]; 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.34 Precedence: list List-Id: Networking and TCP/IP with FreeBSD <freebsd-net.freebsd.org> List-Unsubscribe: <https://lists.freebsd.org/mailman/options/freebsd-net>, <mailto:freebsd-net-request@freebsd.org?subject=unsubscribe> List-Archive: <http://lists.freebsd.org/pipermail/freebsd-net/> List-Post: <mailto:freebsd-net@freebsd.org> List-Help: <mailto:freebsd-net-request@freebsd.org?subject=help> List-Subscribe: <https://lists.freebsd.org/mailman/listinfo/freebsd-net>, <mailto:freebsd-net-request@freebsd.org?subject=subscribe> X-List-Received-Date: Tue, 10 Nov 2020 16:02:55 -0000 We hit the bug of the watchdog firing on idle NICs and were working on merging r356310 into our tree when we noticed the problem through code inspection. I don't think that it's really a bug with r356310, just a latent one that has become exposed. On Mon, Nov 9, 2020 at 2:48 PM Eric Joyner <erj@freebsd.org> wrote: > > I'll add Piotr, the author of your linked patch, to this thread. > > Are you seeing a problem connected to the watchdog? Piotr tells me that IFLIB_QUEUE_WORKING isn't used now, but it wasn't even used before his patch. > > - Eric > > On Wed, Nov 4, 2020 at 8:47 AM Ryan Stone <rysto32@gmail.com> wrote: >> >> 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. >> _______________________________________________ >> freebsd-net@freebsd.org mailing list >> https://lists.freebsd.org/mailman/listinfo/freebsd-net >> To unsubscribe, send any mail to "freebsd-net-unsubscribe@freebsd.org"
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?000000000000d909c705b3bd655a>