linux/drivers/infiniband/sw
Andrew Boyer d4fb59256a IB/rxe: Add support for zero-byte operations
The last_psn algorithm fails in the zero-byte case: it calculates
first_psn = N, last_psn = N-1. This makes the operation unretryable since
the res structure will fail the (first_psn <= psn <= last_psn) test in
find_resource().

While here, use BTH_PSN_MASK to mask the calculated last_psn.

Signed-off-by: Andrew Boyer <andrew.boyer@dell.com>
Reviewed-by: Moni Shoua <monis@mellanox.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
2016-12-12 16:31:45 -05:00
..
rdmavt kthread: kthread worker API cleanup 2016-10-11 15:06:33 -07:00
rxe IB/rxe: Add support for zero-byte operations 2016-12-12 16:31:45 -05:00
Makefile Soft RoCE driver 2016-08-04 11:13:12 -04:00