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 <themann@de.ibm.com> Signed-off-by: Jay Vosburgh <fubar@us.ibm.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
756725064f
commit
a91fb143de
1 changed files with 1 additions and 0 deletions
|
@ -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);
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue