Re: [PATCH rdma-rc V1 2/4] IB/rxe: Fix duplicate atomic request handling

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, Sep 7, 2016 at 2:04 PM, Leon Romanovsky <leon@xxxxxxxxxx> wrote:
> From: Yonatan Cohen <yonatanc@xxxxxxxxxxxx>
>
> When handling ack for atomic opcodes like "fetch&add"
> or "cmp&swp", the method send_atomic_ack() saves the ack
> before sending it, in case it gets lost and never reach the
> requester. In which case the method duplicate_request()
> will need to find it using the duplicated request.psn.
> But send_atomic_ack() used a wrong psn value and thus
> the above ack was never found.
> This fix uses the ack.psn to locate the ack in case
> its needed.
> This fix also copies the ack packet to the skb's control buffer
> since duplicate_request() will need it when calling rxe_xmit_packet()

Are you using tiny screen? any special  reason to limit the change-log lines
to be ~55 chars long and not 70 or 80?
--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Photo]     [Yosemite News]     [Yosemite Photos]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux