From nobody Tue Dec 3 00:51:29 2024 X-Original-To: dev-commits-src-all@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 4Y2MXy3NHxz5fGgN; Tue, 03 Dec 2024 00:51:30 +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 "R10" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Y2MXy0lJ8z4TgN; Tue, 3 Dec 2024 00:51:30 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1733187090; 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=EWRYBqKtVRR9fJ6COKALotltH9Y7cWGiJSoqcmtYuDQ=; b=jNhz8KWLquHehUQO+04BgMl77MWek/pLJUMGu5zUm1JsQYWAY/3aE0SoF6sKt0VRpJLGTc Uyx4DhvlPU/9YeLwRXwl3SawtJEYvtSynJTtmXUcU4KZ4aPYLeg4sgFTPVUKp3y2Egfvuh B418wZINbLEojl5NIfUI4bHdwaJD5DHuCL9lvpLqEyJZ6iNQlkiW7Vl2SwTOjqGNglgp4N CgsvL+zCOsAVYPI7LKJSFOeEh0GZUpvLLwwh/EfJw1JR+0BkS6fa7JjxFviSjfXhcxlwiv XaXKfl5yeDrBMRYbq1sX9QEL++d1hw0P+ZYjMFkoieQip64hN0o1RUtqVw6UUA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1733187090; 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=EWRYBqKtVRR9fJ6COKALotltH9Y7cWGiJSoqcmtYuDQ=; b=jBCiZ6Twm+5Ue6F529aoFRdyvF4VL+f0FseQts4UXrNGjLkPMr1pxmyCbVcLK9QGvnp2Zm IyClW8zuvbtPjh6CY7Y93UzDKDlNlRKB1BQeDMYxvJTEOuK4/a5Is8+UXKz3B77kCZ3X1L OqD7bvmPvR0IW7nDzp1xjQiJWIXcRyNuT2H+vLgQ4E7VFmuWh1CriB0CBRbWMqDq0Ykzh4 7lYPViBCTwfwF1QR7rjSkMw1cPrb9IoowzNSuc/xuVPUxwjP0nNwi5+tPPLVAQtaxUBGJB 5q/QkykxLOoNAgJgmwToVpfl10GEIBx9mPbsnwc8/1RkVdrgpZAkhcRyTNwJlg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1733187090; a=rsa-sha256; cv=none; b=RcAgoFpuSYweVbuAUYZ5zyNlkWP8zWSTTqoMkOfpqNED32ZM8K5pMw9w6Wu8LlrG1F7Cm7 U7F0kxcJw1rQu/xvkCj2WZLuzuagzxGN945Og1xBm9CKGLVDoFq2AaVBoD4XXWmxpRLn37 xekfGtjSO9A7fim3eJxEl9FN/yEajbn5P85etrJGrHaSglee2BFfgRelwFOvpaJsji5zMT 21Vvbj4jnfjELJ8OsxtX3m1IMHbz9rqEXF3AiRexCOwU+eh5di7j45xC9BxnRYPphz0VU9 6QyMw+3KUSADdzkilkpUkZdkagGAz6nflxZ7D4lwv0y9sukrf0y5hp5NOvuu6w== 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 4Y2MXx6yDmz11hy; Tue, 3 Dec 2024 00:51:29 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.18.1/8.18.1) with ESMTP id 4B30pT8K016485; Tue, 3 Dec 2024 00:51:29 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 4B30pTMW016482; Tue, 3 Dec 2024 00:51:29 GMT (envelope-from git) Date: Tue, 3 Dec 2024 00:51:29 GMT Message-Id: <202412030051.4B30pTMW016482@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org From: Konstantin Belousov Subject: git: 7211ab584ecf - stable/14 - mlx5e tls: use non-sleeping malloc flag is it was intended List-Id: Commit messages for all branches of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-src-all@freebsd.org Sender: owner-dev-commits-src-all@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: kib X-Git-Repository: src X-Git-Refname: refs/heads/stable/14 X-Git-Reftype: branch X-Git-Commit: 7211ab584ecf5e0a7053733188c90797bd20fcb9 Auto-Submitted: auto-generated The branch stable/14 has been updated by kib: URL: https://cgit.FreeBSD.org/src/commit/?id=7211ab584ecf5e0a7053733188c90797bd20fcb9 commit 7211ab584ecf5e0a7053733188c90797bd20fcb9 Author: Gleb Smirnoff AuthorDate: 2024-11-25 18:45:09 +0000 Commit: Konstantin Belousov CommitDate: 2024-12-03 00:39:23 +0000 mlx5e tls: use non-sleeping malloc flag is it was intended (cherry picked from commit 67f93079075be4a2f5b7198fb3bda6d10bbd54e7) --- sys/dev/mlx5/mlx5_en/mlx5_en_hw_tls.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/dev/mlx5/mlx5_en/mlx5_en_hw_tls.c b/sys/dev/mlx5/mlx5_en/mlx5_en_hw_tls.c index 66ecf33e67b2..af280abcdcd2 100644 --- a/sys/dev/mlx5/mlx5_en/mlx5_en_hw_tls.c +++ b/sys/dev/mlx5/mlx5_en/mlx5_en_hw_tls.c @@ -407,7 +407,7 @@ mlx5e_tls_snd_tag_alloc(if_t ifp, union if_snd_tag_alloc_params *params, if (priv->gone != 0 || priv->tls.init == 0) return (EOPNOTSUPP); - ptag = uma_zalloc(priv->tls.zone, M_WAITOK); + ptag = uma_zalloc(priv->tls.zone, M_NOWAIT); if (ptag == NULL) return (ENOMEM);