Skip to contentSkip to conversation

Patch "net/mlx5_core: Fix caching ATOMIC endian mode capability" has been added to the 4.5-stable tree

PATCH [email protected] 1 participant 1 message May 6, 2016

Subsystems (3)
lore
Share & tools
lore

[email protected]

author maintainer Applied
#0 lore raw

This is a note to let you know that I've just added the patch titled

net/mlx5_core: Fix caching ATOMIC endian mode capability

to the 4.5-stable tree which can be found at:
http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary

The filename of the patch is:
net-mlx5_core-fix-caching-atomic-endian-mode-capability.patch
and it can be found in the queue-4.5 subdirectory.

If you, or anyone else, feels it should not be added to the stable tree, please let <[email protected]> know about it.

Quoted 1 line

From 91d9ed8443b88cc50b81cf5ec900172515270f6f Mon Sep 17 00:00:00 2001

From: Leon Romanovsky <[email protected]>
Date: Tue, 23 Feb 2016 10:25:21 +0200
Subject: net/mlx5_core: Fix caching ATOMIC endian mode capability

From: Leon Romanovsky <[email protected]>

commit 91d9ed8443b88cc50b81cf5ec900172515270f6f upstream.

Add caching of maximum device capability of ATOMIC endian mode.

Fixes f91e6d8941bf ('net/mlx5_core: Add setting ATOMIC endian mode')
---
 drivers/net/ethernet/mellanox/mlx5/core/main.c |    4 ++++
 1 file changed, 4 insertions(+)
drivers/net/ethernet/mellanox/mlx5/core/main.c +4 -0
@@ -423,6 +423,10 @@ static int handle_hca_cap_atomic(struct
 					 HCA_CAP_OPMOD_GET_CUR);
 		if (err)
 			return err;
+		err = mlx5_core_get_caps(dev, MLX5_CAP_ATOMIC,
+					 HCA_CAP_OPMOD_GET_MAX);
+		if (err)
+			return err;
 	} else {
 		return 0;
 	}

Patches currently in stable-queue which might be from [email protected] are

queue-4.5/net-mlx5_core-fix-caching-atomic-endian-mode-capability.patch