Re: [PATCH 13/18] rpmsg: glink: Add rx done command

2017-08-22 Thread Arun Kumar Neelakantam
On 8/22/2017 7:46 PM, Sricharan R wrote: Hi, +    /* Take it off the tree of receive intents */ +    if (!intent->reuse) { +    spin_lock(&channel->intent_lock); +    idr_remove(&channel->liids, intent->id); +    spin_unlock(&channel->intent_lock); +    } + +    /* Schedule the sen

Re: [PATCH 13/18] rpmsg: glink: Add rx done command

2017-08-22 Thread Sricharan R
Hi, >> +    /* Take it off the tree of receive intents */ >> +    if (!intent->reuse) { >> +    spin_lock(&channel->intent_lock); >> +    idr_remove(&channel->liids, intent->id); >> +    spin_unlock(&channel->intent_lock); >> +    } >> + >> +    /* Schedule the sending of a rx_done indi

Re: [PATCH 13/18] rpmsg: glink: Add rx done command

2017-08-22 Thread Arun Kumar Neelakantam
On 8/16/2017 10:49 PM, Sricharan R wrote: Send RX data receive ack to remote and also inform that local intent buffer is used and freed. This informs the remote to request for next set of intent buffers before doing a send operation. Signed-off-by: Sricharan R Signed-off-by: Bjorn Andersson

[PATCH 13/18] rpmsg: glink: Add rx done command

2017-08-16 Thread Sricharan R
Send RX data receive ack to remote and also inform that local intent buffer is used and freed. This informs the remote to request for next set of intent buffers before doing a send operation. Signed-off-by: Sricharan R Signed-off-by: Bjorn Andersson --- drivers/rpmsg/qcom_glink_native.c | 83 ++