]> err.no Git - linux-2.6/commit
IB/ehca: Prevent sending UD packets to QP0
authorJoachim Fenkes <fenkes@de.ibm.com>
Thu, 24 Jan 2008 16:59:08 +0000 (17:59 +0100)
committerRoland Dreier <rolandd@cisco.com>
Tue, 5 Feb 2008 04:20:42 +0000 (20:20 -0800)
commit2b7274c39228d7a8c81a411dc3969763e9069c56
tree596f69786ab9957a69a1d1e5da82d2fc900602c1
parent3971c9f6dbf26f077b929dbe14ced60a697ebcf0
IB/ehca: Prevent sending UD packets to QP0

The IB spec doesn't allow packets to QP0 sent on any other VL than VL15.
Hardware doesn't filter those packets on the send side, so we need to do
this in the driver and firmware.

As eHCA doesn't support QP0, we can just filter out all traffic going to
QP0, regardless of SL or VL.

Signed-off-by: Joachim Fenkes <fenkes@de.ibm.com>
Signed-off-by: Roland Dreier <rolandd@cisco.com>
drivers/infiniband/hw/ehca/ehca_reqs.c