diff options
author | Huy Nguyen | 2016-12-28 13:58:40 +0100 |
---|---|---|
committer | David S. Miller | 2016-12-28 20:36:53 +0100 |
commit | 4525a45bfad55a00ef218c5fbe5d98a3d8170bf5 (patch) | |
tree | 98c82fc485103ee2b3b0372c3a9fe0ac1e96c3b8 /drivers/reset | |
parent | Revert "net/mlx5: Add MPCNT register infrastructure" (diff) | |
download | kernel-qcow2-linux-4525a45bfad55a00ef218c5fbe5d98a3d8170bf5.tar.gz kernel-qcow2-linux-4525a45bfad55a00ef218c5fbe5d98a3d8170bf5.tar.xz kernel-qcow2-linux-4525a45bfad55a00ef218c5fbe5d98a3d8170bf5.zip |
net/mlx5e: Check ets capability before initializing ets settings
During the initial setup, the ets command is sent to firmware
without checking if the HCA supports ets. This causes the invalid
command error. Add the ets capiblity check before sending firmware
command to initialize ets settings.
Fixes: e207b7e99176 ("net/mlx5e: ConnectX-4 firmware support for DCBX")
Signed-off-by: Huy Nguyen <huyn@mellanox.com>
Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/reset')
0 files changed, 0 insertions, 0 deletions