Olivier Matz 8788fec1f2 net/mlx5: implement descriptor status API
Since there is no "descriptor done" flag like on Intel drivers, the
approach is different on mlx5 driver.
- for Tx, we call txq_complete() to free descriptors processed by
  the hw, then we check if the descriptor is between tail and head
- for Rx, we need to browse the cqes, managing compressed ones,
  to get the number of used descriptors.

Signed-off-by: Olivier Matz <olivier.matz@6wind.com>
2017-03-30 15:27:42 +02:00
..
2015-03-31 01:33:22 +02:00
2016-10-13 15:30:59 +02:00
2017-03-01 20:39:58 +01:00
2017-03-01 20:39:58 +01:00
2017-01-17 19:40:50 +01:00
2017-03-01 20:39:58 +01:00
2017-03-01 20:39:58 +01:00
2017-01-18 14:21:37 +01:00
2017-03-01 20:39:58 +01:00
2017-01-30 22:18:26 +01:00
2017-02-10 12:25:49 +01:00