IB/hfi1: Add RSM rule for user FECN handling
authorDean Luick <dean.luick@intel.com>
Tue, 12 Apr 2016 18:32:06 +0000 (11:32 -0700)
committerDoug Ledford <dledford@redhat.com>
Thu, 28 Apr 2016 20:32:29 +0000 (16:32 -0400)
commit8f000f7f6e0ad8973f76cc64ecbc4d84099ff959
treebbecbc3359c074fe600476d2073fbcc099bfa07d
parentb12349ae13e13b9d07dfda4c1484f91c44c4b469
IB/hfi1: Add RSM rule for user FECN handling

Add a receive side mapping rule to extract expected user packets with
the FECN bit set and place them in an eager buffer.  This will allow
user libraries to recognize that a FECN was sent when using header
suppression and respond appropriately.

Reviewed-by: Dennis Dalessandro <dennis.dalessandro@intel.com>
Signed-off-by: Dean Luick <dean.luick@intel.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
drivers/staging/rdma/hfi1/chip.c