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
..
2017-03-27 23:28:43 +02:00
2017-03-27 23:28:43 +02:00
2017-03-27 23:28:43 +02:00
2017-03-27 23:28:43 +02:00
2017-03-27 23:28:43 +02:00
2017-03-27 23:28:43 +02:00
2017-03-27 23:28:43 +02:00
2017-03-27 23:28:43 +02:00
2017-03-27 23:28:43 +02:00
2017-03-27 23:28:43 +02:00
2017-03-27 23:28:43 +02:00
2017-03-27 23:28:43 +02:00
2017-03-27 23:28:43 +02:00
2017-03-27 23:28:43 +02:00