diff options
author | Matan Barak <matanb@mellanox.com> | 2014-05-04 16:07:23 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2014-05-05 21:48:21 +0200 |
commit | 0254bc8205195c96b47abe33c67f8ccd2f2dad69 (patch) | |
tree | db60ab06d01c7e08a73dea7da80dedd5a5a9d171 /drivers/acpi | |
parent | net/mlx4_core: Adjust port number in qp_attach wrapper when detaching (diff) | |
download | linux-0254bc8205195c96b47abe33c67f8ccd2f2dad69.tar.xz linux-0254bc8205195c96b47abe33c67f8ccd2f2dad69.zip |
net/mlx4_core: Fix slave id computation for single port VF
The code that deals with computing the slave id based on a given GID
gave wrong results when the number of single port VFs wasn't the
same for port 1 vs. port 2 and the relevant VF is single ported on
port 2. As a result, incoming CM MADs were dispatched to the wrong VF.
Fixed that and added documentation to clarify the computation steps.
Fixes: 449fc48 ('net/mlx4: Adapt code for N-Port VF')
Signed-off-by: Matan Barak <matanb@mellanox.com>
Signed-off-by: Or Gerlitz <ogerlitz@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/acpi')
0 files changed, 0 insertions, 0 deletions