git: a023d986e462 - stable/13 - mlx5ib(4): Mark driver knows net epoch
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 21 Apr 2023 10:11:29 UTC
The branch stable/13 has been updated by zlei: URL: https://cgit.FreeBSD.org/src/commit/?id=a023d986e462ff12d2316842ceb8a5bddddb3b93 commit a023d986e462ff12d2316842ceb8a5bddddb3b93 Author: Zhenlei Huang <zlei@FreeBSD.org> AuthorDate: 2023-04-05 16:06:15 +0000 Commit: Zhenlei Huang <zlei@FreeBSD.org> CommitDate: 2023-04-21 10:10:11 +0000 mlx5ib(4): Mark driver knows net epoch This driver has already been EPOCH(9) aware since e48813009c6a. Reviewed by: hselasky Tested by: hselasky MFC after: 2 weeks Differential Revision: https://reviews.freebsd.org/D39406 (cherry picked from commit da4068c4e1a090915a1a763c0d9fa5dc5b80842c) --- sys/dev/mlx5/mlx5_ib/mlx5_ib_main.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/sys/dev/mlx5/mlx5_ib/mlx5_ib_main.c b/sys/dev/mlx5/mlx5_ib/mlx5_ib_main.c index 1d4842160d4a..b509bc9982fc 100644 --- a/sys/dev/mlx5/mlx5_ib/mlx5_ib_main.c +++ b/sys/dev/mlx5/mlx5_ib/mlx5_ib_main.c @@ -680,7 +680,8 @@ static int mlx5_ib_query_device(struct ib_device *ibdev, props->device_cap_flags = IB_DEVICE_CHANGE_PHY_PORT | IB_DEVICE_PORT_ACTIVE_EVENT | IB_DEVICE_SYS_IMAGE_GUID | - IB_DEVICE_RC_RNR_NAK_GEN; + IB_DEVICE_RC_RNR_NAK_GEN | + IB_DEVICE_KNOWSEPOCH; if (MLX5_CAP_GEN(mdev, pkv)) props->device_cap_flags |= IB_DEVICE_BAD_PKEY_CNTR;