]> git.proxmox.com Git - mirror_ubuntu-disco-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)
committerDavid S. Miller <davem@davemloft.net>
Tue, 1 Mar 2016 22:28:00 +0000 (17:28 -0500)
commit2fcb92fbd04eef26dfe7e67839da6262d83d6b65
tree61da65145f76083409cc5fe3af4a91289d8ec010
parent7524a5d88b94afef8397a79f1e664af5b7052c22
net/mlx5e: Don't modify CQ before it was created

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>
drivers/net/ethernet/mellanox/mlx5/core/en_ethtool.c