IB/ipath: Add capability to modify PBC word
authorMichael Albaugh <Michael.Albaugh@qlogic.com>
Mon, 18 Jun 2007 21:24:47 +0000 (14:24 -0700)
committerRoland Dreier <rolandd@cisco.com>
Tue, 10 Jul 2007 03:12:26 +0000 (20:12 -0700)
commite8e7ad711509f576b1bffd92c3ae4672fe92ec48
treebdb211849ca0354632882161ff46647bc4a1f015
parentbacf4013530e7fc230a8aa0c6ea3c17fc2f47665
IB/ipath: Add capability to modify PBC word

During compliance testing and when debugging some interconnect issues,
it is very useful to be able to send malformed packets, without having
the device signal them as malformed (drop, or terminate with EBP). The
hardware supports this, but the driver "diagnostic packet" interface
did not.

Extend capability to send specific malformed packets for testing.

Signed-off-by: Michael Albaugh <Michael.Albaugh@qlogic.com>
Signed-off-by: Roland Dreier <rolandd@cisco.com>
drivers/infiniband/hw/ipath/ipath_common.h
drivers/infiniband/hw/ipath/ipath_diag.c