Dawid Gorecki a52b317e7d net/ena: support Tx mbuf free on demand
ENA driver did not allow applications to call tx_cleanup. Freeing Tx
mbufs was always done by the driver and it was not possible to manually
request the driver to free mbufs.

Modify ena_tx_cleanup function to accept maximum number of packets to
free and return number of packets that was freed.

Signed-off-by: Dawid Gorecki <dgr@semihalf.com>
Reviewed-by: Michal Krawczyk <mk@semihalf.com>
Reviewed-by: Shai Brandes <shaibran@amazon.com>
2022-02-23 19:01:03 +01:00
..
2021-10-22 17:26:07 +02:00
2021-10-22 17:26:07 +02:00
2021-10-22 17:26:07 +02:00
2021-10-22 17:26:07 +02:00
2021-10-22 17:26:07 +02:00
2021-10-22 17:26:07 +02:00
2021-10-22 17:26:07 +02:00
2021-10-22 17:26:07 +02:00
2021-10-22 17:26:07 +02:00
2021-10-22 17:26:07 +02:00
2021-11-15 16:26:17 +01:00
2022-01-31 12:14:54 +01:00
2021-10-22 17:26:07 +02:00
2021-10-22 17:26:07 +02:00
2021-10-22 17:26:07 +02:00
2021-10-22 17:26:07 +02:00
2021-10-22 17:26:07 +02:00
2021-10-22 17:26:07 +02:00
2021-10-29 04:22:04 +02:00
2021-10-22 17:26:07 +02:00
2021-10-22 17:26:07 +02:00
2021-10-22 17:26:07 +02:00
2021-10-22 17:26:07 +02:00
2021-10-22 17:26:07 +02:00
2021-10-22 17:26:07 +02:00
2021-10-22 17:26:07 +02:00
2021-10-22 17:26:07 +02:00
2021-10-22 17:26:07 +02:00
2021-11-04 22:55:50 +01:00
2021-10-22 17:26:07 +02:00
2021-10-22 17:26:07 +02:00
2021-10-22 17:26:07 +02:00
2021-10-30 00:53:19 +02:00
2021-10-22 17:26:07 +02:00
2021-10-22 17:26:07 +02:00
2021-10-22 17:26:07 +02:00
2021-10-22 17:26:07 +02:00
2021-05-18 19:06:56 +02:00
2021-10-22 17:26:07 +02:00
2021-10-22 17:26:07 +02:00
2018-04-27 15:54:56 +01:00
2021-10-29 11:23:10 +02:00
2021-10-22 17:26:07 +02:00