]> git.baikalelectronics.ru Git - kernel.git/commit
IB/hfi1: Add bypass register defines and replace blind constants
authorMike Marciniszyn <mike.marciniszyn@intel.com>
Mon, 4 Jun 2018 18:43:21 +0000 (11:43 -0700)
committerJason Gunthorpe <jgg@mellanox.com>
Mon, 4 Jun 2018 20:59:21 +0000 (14:59 -0600)
commit2167ad43f252838c8abe6005f3f304dbcf2d8161
tree227bed1bbd95f5995176757eef1cc9fad3e9fe74
parentd06b3a96879365c21feadc6f1ecc4470bd65daf6
IB/hfi1: Add bypass register defines and replace blind constants

These registers were not added in the 16B work.

Add them and replace blind constants with the correct defines.

Fixes: 2bc83ac474c3 ("IB/hfi1: Add support to receive 16B bypass packets")
Reviewed-by: Don Hiatt <don.hiatt@intel.com>
Signed-off-by: Mike Marciniszyn <mike.marciniszyn@intel.com>
Signed-off-by: Dennis Dalessandro <dennis.dalessandro@intel.com>
Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
drivers/infiniband/hw/hfi1/chip.c
drivers/infiniband/hw/hfi1/chip_registers.h