linux/drivers/infiniband/hw
Don Hiatt 243d9f436f IB/hfi1: Add transmit fault injection feature
Add ability to fault packets on transmit by opcode.
Dropping by packet can be achieved by setting the mask to 0.

In order to drop non-verbs traffic we set PbcInsertHrc
to NONE (0x2). The packet will still be delivered to
the receiving node but a KHdrHCRCErr (KDETH packet
with a bad HCRC) will be triggered and the packet will
not be delivered to the correct context.

In order to drop regular verbs traffic we set the
PbcTestEbp flag. The packet will still be delivered
to the receiving node but a 'late ebp error' will
be triggered and will be dropped.

A global toggle (/sys/kernel/debug/hfi1/hfi1_X/fault_suppress_err)
has been added to suppress the error messages on the receive
node when a packet was faulted on the sending node.

Reviewed-by: Dennis Dalessandro <dennis.dalessandro@intel.com>
Signed-off-by: Mike Marciniszyn <mike.marciniszyn@intel.com>
Signed-off-by: Don Hiatt <don.hiatt@intel.com>
Signed-off-by: Dennis Dalessandro <dennis.dalessandro@intel.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
2017-04-05 14:45:09 -04:00
..
bnxt_re This is a tree wide change and has been kept separate for that reason. 2017-02-25 13:45:43 -08:00
cxgb3 sched/headers: Prepare to remove the <linux/mm_types.h> dependency from <linux/sched.h> 2017-03-02 08:42:37 +01:00
cxgb4 sched/headers: Prepare to remove the <linux/mm_types.h> dependency from <linux/sched.h> 2017-03-02 08:42:37 +01:00
hfi1 IB/hfi1: Add transmit fault injection feature 2017-04-05 14:45:09 -04:00
hns IB/hns: Explicitly include linux/of.h 2017-04-05 13:45:53 -04:00
i40iw This is a tree wide change and has been kept separate for that reason. 2017-02-25 13:45:43 -08:00
mlx4 sched/headers: Prepare to move the get_task_struct()/put_task_struct() and related APIs from <linux/sched.h> to <linux/sched/task.h> 2017-03-02 08:42:40 +01:00
mlx5 sched/headers: Prepare to move the get_task_struct()/put_task_struct() and related APIs from <linux/sched.h> to <linux/sched/task.h> 2017-03-02 08:42:40 +01:00
mthca This is a tree wide change and has been kept separate for that reason. 2017-02-25 13:45:43 -08:00
nes This is a tree wide change and has been kept separate for that reason. 2017-02-25 13:45:43 -08:00
ocrdma This is a tree wide change and has been kept separate for that reason. 2017-02-25 13:45:43 -08:00
qedr This is a tree wide change and has been kept separate for that reason. 2017-02-25 13:45:43 -08:00
qib IB/rdmavt, IB/hfi1, IB/qib: Make wc opcode translation driver dependent 2017-04-05 14:45:09 -04:00
usnic sched/headers: Prepare for new header dependencies before moving code to <linux/sched/signal.h> 2017-03-02 08:42:29 +01:00
vmw_pvrdma This is a tree wide change and has been kept separate for that reason. 2017-02-25 13:45:43 -08:00
Makefile RDMA/bnxt_re: Add bnxt_re driver build support 2017-02-14 09:51:28 -05:00