]> git.baikalelectronics.ru Git - kernel.git/commit
net/mlx5e: Check for BlueFlame capability before allocating SQ uar
authorGal Pressman <galp@mellanox.com>
Mon, 27 Jun 2016 09:08:35 +0000 (12:08 +0300)
committerDavid S. Miller <davem@davemloft.net>
Wed, 29 Jun 2016 08:28:46 +0000 (04:28 -0400)
commit42fcdb8d46b9ae4a2e67337aa9457ae06a247d0d
tree5e3f82eb988ee5bc7e863c997923c26753e18e33
parentb38bc6d91b9cfb279addf6966dbb860b22627e65
net/mlx5e: Check for BlueFlame capability before allocating SQ uar

Previous to this patch mapping was always set to write combining without
checking whether BlueFlame is supported in the device.

Fixes: f95c792ba257 ('net/mlx5: Fix global UAR mapping')
Signed-off-by: Gal Pressman <galp@mellanox.com>
Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/mellanox/mlx5/core/en_main.c