commit | 87b8de492da34942fc554f2958a570ce0642296a | [log] [tgz] |
---|---|---|
author | Eli Cohen <eli@dev.mellanox.co.il> | Wed Oct 23 09:53:20 2013 +0300 |
committer | Roland Dreier <roland@purestorage.com> | Fri Nov 08 14:43:00 2013 -0800 |
tree | 5fe03a23cd2a785eba1a20280354abe5bc8218f2 | |
parent | bf0bf77f6519e5dcd57a77b47e1d151c1e81b7ec [diff] |
mlx5: Clear reserved area in set_hca_cap() Firmware spec requires reserved fields to be cleared when calling set_hca_cap. Current code queries and copy to the set area, possibly resulting in reserved bits not cleared. This patch copies only writable fields to the set area. Fix also typo - msx => max Signed-off-by: Eli Cohen <eli@mellanox.com> Signed-off-by: Roland Dreier <roland@purestorage.com>