]> git.proxmox.com Git - mirror_ubuntu-zesty-kernel.git/commit
net/mlx5e: Don't modify CQ before it was created
authorGal Pressman <galp@mellanox.com>
Tue, 1 Mar 2016 22:13:38 +0000 (00:13 +0200)
committerTim Gardner <tim.gardner@canonical.com>
Wed, 6 Apr 2016 09:27:07 +0000 (10:27 +0100)
commit72838843692226e968ca0afbfbdfa4ee73362bc2
tree256e4da826e99f6d9ce02f6b1b7b31bbad9be1b6
parent08bd257f65a711416d3e598986f438597defb61a
net/mlx5e: Don't modify CQ before it was created

BugLink: http://bugs.launchpad.net/bugs/1557950
Calling mlx5e_set_coalesce while the interface is down will result in
modifying CQs that don't exist.

Fixes: f62b8bb8f2d3 ('net/mlx5: Extend mlx5_core to support ConnectX-4
Ethernet functionality')
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>
(cherry picked from linux-next commit 2fcb92fbd04eef26dfe7e67839da6262d83d6b65)
Signed-off-by: Tim Gardner <tim.gardner@canonical.com>
drivers/net/ethernet/mellanox/mlx5/core/en_ethtool.c