From nobody Sun Apr 30 06:58:11 2023 X-Original-To: dev-commits-src-branches@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 4Q8HH73rrpz48sRq; Sun, 30 Apr 2023 06:58:11 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Q8HH739JCz3NgC; Sun, 30 Apr 2023 06:58:11 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1682837891; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=L8rF+OibIgmfxuGZB2T+RWdNkYq6Q7NaQ3CnLoZ7PhY=; b=NJo0lV+DQQOJ0k2Q8UfuDobuhF6fNwZGZFCZz0/oitc94nhyhyHgAhxM7cKhX9G8l5sove BAxpcTTTkZNyuG3nSWC5IyhYLClLNvRxyhneEZJCFqpaYiHaSGLIqYazY99teMX59QXZl0 hQl7xcoOGbyAwxn/Ov69rfQhrgt47WTHeIbQ86MUOzghiakddMGKTL35sOrELaqU1oWR6N IFW0vefDOqWhuw+LzovopEvKYEsJpIdkltOq7oiWlWrZnD3kjanHxEmf9kVRmANyVIbzeq aGIuYCaOONXk+34ED2zLp7j+YtSCW6WhHF5cHy3KDEM2RfviOFbX9TDIYFf0YA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1682837891; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=L8rF+OibIgmfxuGZB2T+RWdNkYq6Q7NaQ3CnLoZ7PhY=; b=A6c/bMOMolypk4t564PQqPrem3lZSFrXjMINC9o3hP/uPDQxmkXDq8Zd8nanqFQfqt230q W668YF8XA3qe0s+WeIvh5aofIfazmK0aKXKdNrIq0eGki20FJHBeqgzyAeHyjRcREVFW8J hxoUSRZm6wiFDfR88skHlknc6ckbgTHmDw1lFlOPq0dGGT6GnWbf9c9++XlH22jb5md+bx FXZXO5cMRiDl5crTyAGei9oRYAm2ykfoC2x/CnnytEPMCWRRAPH1SxOexJ0++xA61IEL6p jJJ4F0icvf/gFhlxoS8li4voSVY1XVcMiKSASjmQ0spZ7tHwd/sxplMik6CTUw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1682837891; a=rsa-sha256; cv=none; b=pW2IKEpWNTHFqe9YOESmRJPWlC2CGOBJ7v0JJaLBrWynmruLAt0XI+36kwc2NhIsOIq2S+ XzAzQNZDK9eqi+p1TPuyxGf952zV7tdukRfMV8XizCVBWRERntJqDYVjpUZE2/ajPnoevb ddVhrQubBVVdcHPhOpjAAFutihhBg/qhudZluJGLaU7ipD5j+Wx2VzRv3VebQ87PSiTfRX DrJkh09//RcIkafMaqphDaKyXENAwWLjvYR3UB7IyCvty5tqhndBnSJWE5zfye+WUmfSG6 gh3rJqDDJOvTLNAm3HbdmTuEMZXh3XrBDrpaWOeYVayg2/PBsK/mgSEmK3NRTQ== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4Q8HH72CYyzDsx; Sun, 30 Apr 2023 06:58:11 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 33U6wBT0071870; Sun, 30 Apr 2023 06:58:11 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 33U6wBru071869; Sun, 30 Apr 2023 06:58:11 GMT (envelope-from git) Date: Sun, 30 Apr 2023 06:58:11 GMT Message-Id: <202304300658.33U6wBru071869@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org From: Hans Petter Selasky Subject: git: 6148777d8692 - stable/13 - mlx5en(4): Explain why CQE zipping is off. List-Id: Commits to the stable branches of the FreeBSD src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-branches List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-src-branches@freebsd.org X-BeenThere: dev-commits-src-branches@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: hselasky X-Git-Repository: src X-Git-Refname: refs/heads/stable/13 X-Git-Reftype: branch X-Git-Commit: 6148777d8692c4f31df011babe4deb16f308292b Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch stable/13 has been updated by hselasky: URL: https://cgit.FreeBSD.org/src/commit/?id=6148777d8692c4f31df011babe4deb16f308292b commit 6148777d8692c4f31df011babe4deb16f308292b Author: Hans Petter Selasky AuthorDate: 2023-04-18 11:12:32 +0000 Commit: Hans Petter Selasky CommitDate: 2023-04-30 06:56:19 +0000 mlx5en(4): Explain why CQE zipping is off. Sponsored by: NVIDIA Networking (cherry picked from commit 6bd4bb9bdbadb76c5502c7972df9f525b909e2f5) --- sys/dev/mlx5/mlx5_en/mlx5_en_main.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/sys/dev/mlx5/mlx5_en/mlx5_en_main.c b/sys/dev/mlx5/mlx5_en/mlx5_en_main.c index 7b754d901beb..97dcc04d7ae8 100644 --- a/sys/dev/mlx5/mlx5_en/mlx5_en_main.c +++ b/sys/dev/mlx5/mlx5_en/mlx5_en_main.c @@ -3841,9 +3841,10 @@ mlx5e_build_ifp_priv(struct mlx5_core_dev *mdev, priv->params.lro_wqe_sz = MLX5E_PARAMS_DEFAULT_LRO_WQE_SZ; /* - * CQE zipping is currently defaulted to off. when it won't - * anymore we will consider the HW capability: - * "!!MLX5_CAP_GEN(mdev, cqe_compression)" + * CQE zipping is off, because the per-packet 32-bit Toeplitz hash + * is then not supported. The 32-bit Toeplitz hash is needed to + * correctly demultiplex incoming traffic into the expected + * network queues. */ priv->params.cqe_zipping_en = false;