From: Jan-Bernd Themann Date: Tue, 15 Jun 2010 05:35:16 +0000 (+0000) Subject: ehea: fix delayed packet processing X-Git-Tag: 2.1b_release~7640^2~96 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=a91fb143de61dce847e319ca79b9937a665ad622;p=platform%2Fkernel%2Fkernel-mfld-blackbay.git ehea: fix delayed packet processing In the eHEA poll function an rmb() is required. Without that some packets on the receive queue are not seen and thus delayed until the next interrupt is handled for the same receive queue. Signed-off-by: Jan-Bernd Themann Signed-off-by: Jay Vosburgh Signed-off-by: David S. Miller --- diff --git a/drivers/net/ehea/ehea_main.c b/drivers/net/ehea/ehea_main.c index f547894..fd890fa 100644 --- a/drivers/net/ehea/ehea_main.c +++ b/drivers/net/ehea/ehea_main.c @@ -867,6 +867,7 @@ static int ehea_poll(struct napi_struct *napi, int budget) ehea_reset_cq_ep(pr->send_cq); ehea_reset_cq_n1(pr->recv_cq); ehea_reset_cq_n1(pr->send_cq); + rmb(); cqe = ehea_poll_rq1(pr->qp, &wqe_index); cqe_skb = ehea_poll_cq(pr->send_cq);