Thread (48 messages) flat view 48 messages, 5 authors, 2017-07-07

Re: [PATCH v2 1/5] net/mlx5: change indexing for Tx SW ring

From: Nélio Laranjeiro <hidden>
Date: 2017-07-03 13:48:59

On Fri, Jun 30, 2017 at 12:23:29PM -0700, Yongseok Koh wrote:
For Tx SW ring (txq->elts[]), indexes are kept and used in
txq->elts_head/tail. Because of this, one entry must always be left unused
and it also makes code complex. Changed to store counters instead of
indexes in order to make the code simpler and to reduce a few calculations.

Signed-off-by: Yongseok Koh <redacted>
---
Already acked in V1, please keep the ack in the unchanged commits.

Acked-by: Nelio Laranjeiro <redacted>

-- 
Nélio Laranjeiro
6WIND
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help