RDMA/ocrdma: Fail connection for MTU lesser than 512
authorNaga Irrinki <naga.irrinki@avagotech.com>
Tue, 19 May 2015 06:02:39 +0000 (11:32 +0530)
committerDoug Ledford <dledford@redhat.com>
Mon, 18 May 2015 14:25:24 +0000 (10:25 -0400)
commit72d8a013d75fc845a34451bdce3d3a3dd97488f1
tree623ad182c82fc9cab8678bdc5beb702fe7357a84
parentd27b2f15eb535b4f02a75070108c08cefb540257
RDMA/ocrdma: Fail connection for MTU lesser than 512

HW currently restricts the IB MTU range between 512 and 4096.
Fail connection for MTUs lesser than 512.

Signed-off-by: Naga Irrinki <naga.irrinki@avagotech.com>
Signed-off-by: Selvin Xavier <selvin.xavier@avagotech.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
drivers/infiniband/hw/ocrdma/ocrdma_hw.c