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-11-15 16:50:35 +01:00
2022-02-16 00:48:06 +01:00
2021-11-26 11:28:34 +01:00
2020-11-03 16:23:03 +01:00
2021-07-31 20:03:47 +02:00
2021-10-18 19:20:20 +02:00
2020-11-03 16:23:03 +01:00
2021-11-26 11:28:34 +01:00
2021-11-26 11:28:34 +01:00
2020-11-03 16:23:03 +01:00
2020-11-03 16:23:03 +01:00
2020-11-03 23:35:07 +01:00
2022-01-12 15:36:32 +01:00
2021-11-26 11:28:34 +01:00
2020-11-03 16:23:03 +01:00
2021-10-24 13:37:43 +02:00
2022-02-02 21:54:21 +01:00
2020-11-03 16:23:03 +01:00
2021-11-24 17:13:26 +01:00
2022-01-11 12:16:53 +01:00
2021-11-26 11:28:34 +01:00
2022-02-15 14:53:41 +01:00
2021-11-26 11:28:34 +01:00
2021-10-30 00:53:19 +02:00
2021-11-26 11:28:34 +01:00
2021-05-18 19:06:56 +02:00
2020-11-03 16:23:03 +01:00
2020-11-03 16:23:03 +01:00
2021-11-26 11:28:34 +01:00
2020-11-03 16:23:03 +01:00
2021-11-26 11:28:34 +01:00
2021-04-22 00:06:47 +02:00