Re: [PATCH for-next 1/1] RDMA-rxe: Allow retry sends for rdma read responses

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

 



On Wed, Feb 15, 2023 at 04:44:21PM -0600, Bob Pearson wrote:

> @@ -937,9 +987,15 @@ static enum resp_states read_reply(struct rxe_qp *qp,
>  	}
>  
>  	err = rxe_xmit_packet(qp, &ack_pkt, skb);
> -	if (err)
> +	delay = read_retry_delay(qp, err);
> +	if (err == -EAGAIN) {
> +		udelay(delay);

I'd be happier with this patch if it wasn't a udelay here, spinning
hoping the ip stack progresses just feels wrong

Can't this use a timer or something? Re-rx the packet generating the
reply?

Jason



[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