• Kaike Wan's avatar
    IB/hfi1: Add functions to receive TID RDMA READ response · 9905bf06
    Kaike Wan authored
    This patch adds the functions to receive TID RDMA READ response. The TID
    resource information in the KDETH packet header will direct the hardware
    to deliver the packet payload to the user buffer automatically and the
    software will handle the packet header for the last packet of a segment
    as all other packet headers are suppressed by default. The TID entries
    will be freed when all packets for a segment have been received. This
    patch also adds the functions to handle KDETH eflag errors, including
    flow sequence and generation errors, when a TID RDMA READ response
    packet is received . The flow sequence error can be recovered by software
    checking of the flow sequence and will disappear when the hardware flow
    is programmed with a new generation number.
    Reviewed-by: default avatarMike Marciniszyn <mike.marciniszyn@intel.com>
    Signed-off-by: default avatarKaike Wan <kaike.wan@intel.com>
    Signed-off-by: default avatarDennis Dalessandro <dennis.dalessandro@intel.com>
    Signed-off-by: default avatarDoug Ledford <dledford@redhat.com>
    9905bf06
tid_rdma.c 74.5 KB