IB/hfi1: Right size user_sdma sequence numbers and related variables
authorMichael J. Ruhl <michael.j.ruhl@intel.com>
Mon, 10 Sep 2018 16:39:20 +0000 (09:39 -0700)
committerJason Gunthorpe <jgg@mellanox.com>
Tue, 11 Sep 2018 16:05:17 +0000 (10:05 -0600)
commit3ca633f1ff7b1c1e8653181352485889b5636a12
treee059fdf147952822880305ee76808017555e0c5c
parent28a9a9e83ceae2cee25b9af9ad20d53aaa9ab951
IB/hfi1: Right size user_sdma sequence numbers and related variables

Hardware limits the maximum number of packets to u16 packets.

Match that size for all relevant sequence numbers in the user_sdma
engine.

Reviewed-by: Mike Marciniszyn <mike.marciniszyn@intel.com>
Signed-off-by: Michael J. Ruhl <michael.j.ruhl@intel.com>
Signed-off-by: Dennis Dalessandro <dennis.dalessandro@intel.com>
Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
drivers/infiniband/hw/hfi1/sdma.c
drivers/infiniband/hw/hfi1/sdma.h
drivers/infiniband/hw/hfi1/user_sdma.c
drivers/infiniband/hw/hfi1/user_sdma.h