RDMA/cxgb4: Set the correct device physical function for iWARP connections
authorSteve Wise <swise@opengridcomputing.com>
Fri, 21 Jan 2011 17:00:34 +0000 (17:00 +0000)
committerRoland Dreier <roland@purestorage.com>
Fri, 28 Jan 2011 23:34:28 +0000 (15:34 -0800)
commit94788657c94169171971968c9d4b6222c5e704aa
tree8aef275617eda6e0b9e7b582d7b1dabc88e36ff9
parent6a09a9d6946dd516d243d072bee83fae3c683471
RDMA/cxgb4: Set the correct device physical function for iWARP connections

The PF passed to FW was 0, causing PCI failures in an SR-IOV environment.

Signed-off-by: Steve Wise <swise@opengridcomputing.com>
Cc: <stable@kernel.org>
Signed-off-by: Roland Dreier <roland@purestorage.com>
drivers/infiniband/hw/cxgb4/cm.c