From nobody Fri Aug 04 00:17:47 2023 X-Original-To: freebsd-net@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4RH5s96Y8LzZRbD for ; Fri, 4 Aug 2023 00:18:05 +0000 (UTC) (envelope-from kevin.bowling@kev009.com) Received: from mail-oa1-x2c.google.com (mail-oa1-x2c.google.com [IPv6:2001:4860:4864:20::2c]) (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 1D4" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4RH5s46Zcrz4SQp for ; Fri, 4 Aug 2023 00:18:00 +0000 (UTC) (envelope-from kevin.bowling@kev009.com) Authentication-Results: mx1.freebsd.org; dkim=none ("invalid DKIM record") header.d=kev009.com header.s=google header.b=MDIMPBMn; spf=pass (mx1.freebsd.org: domain of kevin.bowling@kev009.com designates 2001:4860:4864:20::2c as permitted sender) smtp.mailfrom=kevin.bowling@kev009.com; dmarc=none Received: by mail-oa1-x2c.google.com with SMTP id 586e51a60fabf-1bb5dac1df4so1112653fac.3 for ; Thu, 03 Aug 2023 17:18:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kev009.com; s=google; t=1691108278; x=1691713078; h=content-transfer-encoding:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=vX/lvyIivLICcqafOgszmVR8v4MQrVV9iWihVsRCLg0=; b=MDIMPBMnw+H0PT0YD2A2GZF/Qdebpr8paAIjK33DfXQPVrCmFYZhKVdpouttKUOKAW CMx6AwtonUig3Wu0OeniOqzrzWZHVMKvLQNpmsnwloDHywfuqzU4hy5zKksv9b3y1/Av 8r31RS5UVwzfSyAUjQyOEwk1/KGxR0pF6knD0= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1691108278; x=1691713078; h=content-transfer-encoding:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=vX/lvyIivLICcqafOgszmVR8v4MQrVV9iWihVsRCLg0=; b=TwmkYb9+JAXFqhiXcW4r1zrGI21koBzFyj3ZvLL6iLd7/v7aPt0HwraedHv6eu3F/R /JGvmN5RcH7zUfCTTQV/nSm3dja0ySeaFKXFGLIET/9SA/wQQc8cDwWV2miJt9FBLHzG Jz/62BE0IJVRGZwyvSYWWGwN/w0y6ksjmUViJbZVDZjl9ExxlmjTGsqICK3tp/ipFmA7 QtiJjj01q2i/Y1+9eT1lzHtYguX1IF5fDOOdVSxpY73lhfRVFAdZgJNMfb4vHFZoQUjw A3n0Bt6vP4kvN7zI2oYOZZB81FJv88S86lborTxx13THb+ozBXV4VNkotSjjYpMZbAvT Brxw== X-Gm-Message-State: AOJu0YyJnvsUKljAIxdhxMn+loNRgVyvQvJhSQjR5fFg0QIafJe0WCFd 1Q8DO4Yfbge0LrS+aQSOaHNC7YqWwFpChBwVFFXbr6xYsYsEc37FOWk= X-Google-Smtp-Source: AGHT+IEh8OsVmm/73B+TKRMDCINiTAXHVladWHqEOYB2vFOGyp7d0o7lxvKOq+wEhunJHVYJcrB6O0YcPGtvp88Kpdg= X-Received: by 2002:a05:6871:888:b0:1b0:805:8678 with SMTP id r8-20020a056871088800b001b008058678mr199978oaq.24.1691108278449; Thu, 03 Aug 2023 17:17:58 -0700 (PDT) List-Id: Networking and TCP/IP with FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-net List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-net@freebsd.org MIME-Version: 1.0 References: In-Reply-To: From: Kevin Bowling Date: Thu, 3 Aug 2023 17:17:47 -0700 Message-ID: Subject: Re: CFT: lem(4), em(4) e1000 Ethernet TSO testing To: FreeBSD Net Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Spamd-Result: default: False [0.68 / 15.00]; NEURAL_SPAM_SHORT(0.98)[0.985]; R_SPF_ALLOW(-0.20)[+ip6:2001:4860:4000::/36]; MIME_GOOD(-0.10)[text/plain]; MLMMJ_DEST(0.00)[freebsd-net@freebsd.org]; R_DKIM_PERMFAIL(0.00)[kev009.com:s=google]; RCVD_COUNT_ONE(0.00)[1]; ARC_NA(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[2001:4860:4864:20::2c:from]; MIME_TRACE(0.00)[0:+]; BLOCKLISTDE_FAIL(0.00)[2001:4860:4864:20::2c:server fail]; TO_DN_ALL(0.00)[]; RCVD_TLS_LAST(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; FROM_HAS_DN(0.00)[]; DKIM_TRACE(0.00)[kev009.com:~]; PREVIOUSLY_DELIVERED(0.00)[freebsd-net@freebsd.org]; RCPT_COUNT_ONE(0.00)[1]; DMARC_NA(0.00)[kev009.com]; ASN(0.00)[asn:15169, ipnet:2001:4860:4864::/48, country:US] X-Spamd-Bar: / X-Rspamd-Queue-Id: 4RH5s46Zcrz4SQp Committed as https://cgit.freebsd.org/src/commit/?id=3Df1b5488f7bba7f25a577= 50f87cbcbccbd5b9d16b On Tue, Jul 25, 2023 at 7:38=E2=80=AFPM Kevin Bowling wrote: > > Hi, > > I have been working through various bugs and have come to a point > where TSO is working on systems I have available for testing. > > This results in higher throughput on resource constrained systems, and > less CPU/power usage on unconstrained systems. > > As of this mail, you will need to manually apply > https://reviews.freebsd.org/D41170 on top of main to use TSO6 on > em(4). > > I plan to enable TSO by default for lem(4) and em(4) during the > FreeBSD 14 release cycle, so I would appreciate testing to address any > remaining issues. Below, a list of chipsets that will be exempt due > to known issues. > > lem(4) exclusions: > * <82544 (although it does seem ok to manually enable for emulations > in qemu, virtualbox, etc) > * 82547 > > em(4) exclusions.. These chips have a stability workaround for high > throughput with rapid link-flap applied that results in the TSO engine > not being able to run at line speed. Thus, TSO would not be enabled > by default here: > * Intel(R) I219-LM and I219-V > * Intel(R) I219-LM and I219-V (2) > * Intel(R) I219-LM and I219-V (3) > * Intel(R) I219-LM and I219-V (4) > * Intel(R) I219-LM and I219-V (5) > > Regards, > Kevin Bowling