David Wei 5883a3e0ba bnxt_en: refactor tpa_info alloc/free into helpers
Refactor bnxt_rx_ring_info->tpa_info operations into helpers that work
on a single tpa_info in prep for queue API using them.

There are 2 pairs of operations:

* bnxt_alloc_one_tpa_info()
* bnxt_free_one_tpa_info()

These alloc/free the tpa_info array itself.

* bnxt_alloc_one_tpa_info_data()
* bnxt_free_one_tpa_info_data()

These alloc/free the frags stored in tpa_info array.

Reviewed-by: Somnath Kotur <somnath.kotur@broadcom.com>
Signed-off-by: David Wei <dw@davidwei.uk>
Reviewed-by: Michael Chan <michael.chan@broadcom.com>
Link: https://patch.msgid.link/20241204041022.56512-2-dw@davidwei.uk
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
2024-12-04 19:23:35 -08:00
..
2024-11-26 18:05:44 -08:00
2024-11-20 12:55:41 -08:00
2024-11-20 15:40:54 -08:00
2024-11-26 14:00:26 -08:00
2024-11-21 08:28:08 -08:00
2024-11-23 10:44:31 -08:00
2024-11-26 18:05:44 -08:00
2024-11-22 12:33:52 -08:00
2024-11-25 18:31:48 -08:00
2024-11-27 13:25:47 -08:00
2024-11-23 10:44:31 -08:00
2024-11-25 17:12:54 -08:00
2024-11-26 18:05:44 -08:00
2024-11-27 13:23:13 -08:00
2024-11-26 14:00:26 -08:00
2024-11-19 12:43:11 -08:00
2024-11-25 10:31:39 -08:00
2024-11-27 14:24:34 -08:00
2024-11-09 09:14:12 -08:00
2024-11-20 14:05:34 -08:00
2024-11-25 15:22:35 -08:00
2024-11-20 12:51:32 -08:00
2024-11-27 13:11:58 -08:00
2024-11-18 16:50:08 -08:00
2024-11-15 14:03:59 -06:00
2024-11-26 18:05:44 -08:00
2024-11-18 18:10:37 -08:00
2024-11-27 13:33:43 -08:00
2024-11-25 10:31:39 -08:00
2024-11-15 00:32:29 +11:00
2024-11-28 09:40:53 -08:00
2024-11-26 18:36:55 -08:00
2024-11-18 17:45:41 -08:00
2024-11-25 18:50:55 -08:00
2024-11-21 08:28:08 -08:00
2024-11-27 13:38:09 -08:00
2024-11-28 10:06:00 -08:00
2024-11-21 08:28:08 -08:00
2024-11-25 18:50:55 -08:00
2024-11-12 15:48:08 +01:00
2024-11-26 18:05:44 -08:00
2024-11-25 18:50:55 -08:00
2024-11-27 12:57:03 -08:00
2024-11-27 13:11:58 -08:00
2024-11-20 15:13:02 -08:00