]> git.baikalelectronics.ru Git - kernel.git/commit
IB/mlx4: Fix value of pkey_index in QP1 completions
authorDotan Barak <dotanb@dev.mellanox.co.il>
Mon, 7 Jan 2008 07:01:25 +0000 (09:01 +0200)
committerRoland Dreier <rolandd@cisco.com>
Tue, 8 Jan 2008 20:05:53 +0000 (12:05 -0800)
commita98c7d5be2c5ee472e544cdff3fcca5a62f7f738
tree7bbbf893b743468e8d1b4d4b914a612721f6acb8
parentffc74bc6a1d9a9fd420e805deb565151e626d5bc
IB/mlx4: Fix value of pkey_index in QP1 completions

Fix the value of pkey_index in completions to get a valid value for
GSI QPs.  Without this fix, incoming GSI packets on port 2 get an
invalid P_Key index in the completion, which prevents the MAD layer
from sending back a response, which can make the second port of
ConnectX HCAs completely useless.

Signed-off-by: Dotan Barak <dotanb@dev.mellanox.co.il>
Signed-off-by: Roland Dreier <rolandd@cisco.com>
drivers/infiniband/hw/mlx4/cq.c