Adrien Mazarguil c305090bba net/mlx5: replace countdown with threshold for Tx completions
Replacing the variable countdown (which depends on the number of
descriptors) with a fixed relative threshold known at compile time improves
performance by reducing the TX queue structure footprint and the amount of
code to manage completions during a burst.

Completions are now requested at most once per burst after threshold is
reached.

Signed-off-by: Adrien Mazarguil <adrien.mazarguil@6wind.com>
Signed-off-by: Nelio Laranjeiro <nelio.laranjeiro@6wind.com>
Signed-off-by: Vasily Philipov <vasilyf@mellanox.com>
2016-06-27 16:17:52 +02:00
..
2016-06-15 17:13:55 +02:00
2016-06-27 16:17:51 +02:00
2016-05-17 08:31:33 +02:00
2016-06-27 16:17:51 +02:00
2016-06-15 17:13:56 +02:00
2016-04-01 21:38:34 +02:00
2016-06-29 13:33:01 +02:00
2016-06-29 13:33:01 +02:00
2016-06-29 13:33:01 +02:00
2016-06-27 16:17:51 +02:00
2016-06-20 17:21:54 +02:00