Breno Leitao 0e1a4d427f crypto: caam: Unembed net_dev structure in dpaa2
Embedding net_device into structures prohibits the usage of flexible
arrays in the net_device structure. For more details, see the discussion
at [1].

Un-embed the net_devices from struct dpaa2_caam_priv_per_cpu by
converting them into pointers, and allocating them dynamically. Use the
leverage alloc_netdev_dummy() to allocate the net_device object at
dpaa2_dpseci_setup().

The free of the device occurs at dpaa2_dpseci_disable().

Link: https://lore.kernel.org/all/20240229225910.79e224cf@kernel.org/ [1]
Signed-off-by: Breno Leitao <leitao@debian.org>
Link: https://patch.msgid.link/20240702185557.3699991-5-leitao@debian.org
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
2024-07-04 10:19:24 -07:00
..
2024-06-21 12:55:12 +02:00
2024-05-22 10:45:12 -07:00
2024-06-12 16:58:05 -07:00
2024-04-23 13:16:03 +02:00
2024-05-16 08:50:32 -07:00
2024-06-22 07:58:21 -07:00
2024-06-08 10:48:11 -07:00
2024-05-23 00:29:19 +02:00
2024-06-24 14:36:11 -04:00
2024-05-17 09:05:46 -07:00
2024-05-14 18:25:53 -07:00
2024-05-16 08:56:49 -07:00
2024-05-21 09:51:42 -07:00
2024-05-23 12:04:36 -07:00
2024-06-13 14:19:57 -06:00
2024-05-17 13:01:24 +02:00
2024-05-23 12:09:22 -07:00
2024-05-27 08:18:31 -07:00
2024-05-23 12:04:36 -07:00
2024-05-07 23:40:46 +02:00
2024-06-21 14:28:28 -07:00
2024-05-08 19:21:51 +01:00
2024-06-25 17:15:06 -07:00
2024-06-27 13:53:43 -07:00
2024-04-29 22:29:44 +02:00
2024-04-23 13:16:03 +02:00
2024-06-21 14:28:28 -07:00
2024-05-23 12:04:36 -07:00
2024-05-22 10:45:12 -07:00
2024-05-23 12:04:36 -07:00
2024-05-24 10:24:49 -07:00
2024-04-29 16:45:53 +02:00