commit | 5920869f1ec263fee4255ec71d333c118406a419 | [log] [tgz] |
---|---|---|
author | Jack Morgenstein <jackm@dev.mellanox.co.il> | Mon Dec 10 05:25:23 2007 +0200 |
committer | Roland Dreier <rolandd@cisco.com> | Fri Jan 25 14:15:29 2008 -0800 |
tree | f9d4c2739feb0c110a65a690b09f323ef5212221 | |
parent | 3c8450860ba9d6279dbc969633eacf99161860d9 [diff] |
mlx4_core: Fix max_eqs masking in QUERY_DEV_CAP log_max_eqs is a 4-bit field, not a 3-bit field in the response to the QUERY_DEV_CAP FW command, so we should mask with 0xf instead of 0x7 when reading it. Found by Yossi Leybovitch of Mellanox. Signed-off-by: Jack Morgenstein <jackm@dev.mellanox.co.il> Signed-off-by: Roland Dreier <rolandd@cisco.com>