commit | 38463e2c290426262cd9a75fe66cbbe2925a68c2 | [log] [tgz] |
---|---|---|
author | Eugenia Emantayev <eugenia@mellanox.com> | Thu Sep 12 18:11:20 2013 +0300 |
committer | David S. Miller <davem@davemloft.net> | Thu Sep 12 23:42:15 2013 -0400 |
tree | a229a81f1e3eed88dc788bad9c8317200e16a426 | |
parent | be4f154d5ef0ca147ab6bcd38857a774133f5450 [diff] |
net/mlx4_en: Check device state when setting coalescing When the device is down, CQs are freed. We must check the device state to avoid issuing firmware commands on non existing CQs. CC: Or Gerlitz <ogerlitz@mellanox.com> Signed-off-by: Eugenia Emantayev <eugenia@mellanox.com> Signed-off-by: Amir Vadai <amirv@mellanox.com> Signed-off-by: David S. Miller <davem@davemloft.net>