]> 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)
commit49b80b831a224013c71b734ee1edbad47d5420d4
treee059fdf147952822880305ee76808017555e0c5c
parent61edbdf51a6691c3d0f0694d39e8a28397f90a8f
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