net/mlx5_core: Fix caching ATOMIC endian mode capability
authorLeon Romanovsky <leonro@mellanox.com>
Tue, 23 Feb 2016 08:25:21 +0000 (10:25 +0200)
committerDoug Ledford <dledford@redhat.com>
Mon, 21 Mar 2016 20:29:07 +0000 (16:29 -0400)
commit91d9ed8443b88cc50b81cf5ec900172515270f6f
tree1a3b277b8ef7a59bcd23aa530a53bb874e3e288e
parent5658600e7f67063e75b8fb8fa6c697183d305dd3
net/mlx5_core: Fix caching ATOMIC endian mode capability

Add caching of maximum device capability of ATOMIC endian mode.

Fixes: f91e6d8941bf ('net/mlx5_core: Add setting ATOMIC endian mode')
Signed-off-by: Leon Romanovsky <leonro@mellanox.com>
Reviewed-by: Saeed Mahameed <saeedm@mellanox.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
drivers/net/ethernet/mellanox/mlx5/core/main.c