Date: Fri, 7 Feb 2025 15:33:59 GMT From: Andrew Gallatin <gallatin@FreeBSD.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org Subject: git: d942e2828cab - stable/14 - mlx5en: Fix SIOCSIFCAPNV Message-ID: <202502071533.517FXx9t096256@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
The branch stable/14 has been updated by gallatin: URL: https://cgit.FreeBSD.org/src/commit/?id=d942e2828cab1d6999e199f53ac7682e5e0c3279 commit d942e2828cab1d6999e199f53ac7682e5e0c3279 Author: Andrew Gallatin <gallatin@FreeBSD.org> AuthorDate: 2025-01-31 01:07:06 +0000 Commit: Andrew Gallatin <gallatin@FreeBSD.org> CommitDate: 2025-02-07 15:31:40 +0000 mlx5en: Fix SIOCSIFCAPNV In 4cc5d081d8c23, a change was introduced that manipulated drv_ioctl_data->reqcap using IFCAP2 bits. This was noticed when creating a mixed lagg with mce0 and ixl0 caused the interfaces' txcsum caps to be disabled. Fixes: 4cc5d081d8c23 Reviewed by: glebius Sponsored by: Netflix MFC After: 7 days (cherry picked from commit 36fdc42c6a4c828d334471438c4f852e4b5a25e2) --- sys/dev/mlx5/mlx5_en/mlx5_en_main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/dev/mlx5/mlx5_en/mlx5_en_main.c b/sys/dev/mlx5/mlx5_en/mlx5_en_main.c index 0e1de4d304a9..051669e7f85a 100644 --- a/sys/dev/mlx5/mlx5_en/mlx5_en_main.c +++ b/sys/dev/mlx5/mlx5_en/mlx5_en_main.c @@ -3542,7 +3542,7 @@ siocsifcap_driver: IFCAP_TXTLS6); } if (!mlx5e_is_tlsrx_capable(priv->mdev)) { - drv_ioctl_data->reqcap &= ~( + drv_ioctl_data->reqcap2 &= ~( IFCAP2_BIT(IFCAP2_RXTLS4) | IFCAP2_BIT(IFCAP2_RXTLS6)); }
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202502071533.517FXx9t096256>