git: da4068c4e1a0 - main - mlx5ib(4): Mark driver knows net epoch
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 05 Apr 2023 16:09:02 UTC
The branch main has been updated by zlei: URL: https://cgit.FreeBSD.org/src/commit/?id=da4068c4e1a090915a1a763c0d9fa5dc5b80842c commit da4068c4e1a090915a1a763c0d9fa5dc5b80842c Author: Zhenlei Huang <zlei@FreeBSD.org> AuthorDate: 2023-04-05 16:06:15 +0000 Commit: Zhenlei Huang <zlei@FreeBSD.org> CommitDate: 2023-04-05 16:08:23 +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 --- 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 0b0a4b2019a0..b6b610848a1b 100644 --- a/sys/dev/mlx5/mlx5_ib/mlx5_ib_main.c +++ b/sys/dev/mlx5/mlx5_ib/mlx5_ib_main.c @@ -681,7 +681,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;