]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitb0b05703c444077533cbb4387e3f952eb6a730f4
treee059fdf147952822880305ee76808017555e0c5c
parentae8d9dafa6eda4dc04fa2c61d8fbd11eda66586d
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