Cosmin Ratiu
877e87a450
xfrm: Add explicit dev to .xdo_dev_state_{add,delete,free}
...
[ Upstream commit 43eca05b6a ]
Previously, device driver IPSec offload implementations would fall into
two categories:
1. Those that used xso.dev to determine the offload device.
2. Those that used xso.real_dev to determine the offload device.
The first category didn't work with bonding while the second did.
In a non-bonding setup the two pointers are the same.
This commit adds explicit pointers for the offload netdevice to
.xdo_dev_state_add() / .xdo_dev_state_delete() / .xdo_dev_state_free()
which eliminates the confusion and allows drivers from the first
category to work with bonding.
xso.real_dev now becomes a private pointer managed by the bonding
driver.
Signed-off-by: Cosmin Ratiu <cratiu@nvidia.com >
Reviewed-by: Leon Romanovsky <leonro@nvidia.com >
Reviewed-by: Nikolay Aleksandrov <razor@blackwall.org >
Signed-off-by: Steffen Klassert <steffen.klassert@secunet.com >
Stable-dep-of: fd4e41ebf6 ("bonding: Mark active offloaded xfrm_states")
Signed-off-by: Sasha Levin <sashal@kernel.org >
2025-06-19 15:39:43 +02:00
..
2025-06-19 15:39:30 +02:00
2025-04-05 10:30:12 +02:00
2025-06-19 15:39:34 +02:00
2025-03-11 14:05:43 +01:00
2025-06-10 07:17:10 -04:00
2025-04-22 16:06:05 +09:00
2025-04-05 10:30:12 +02:00
2025-04-05 10:30:12 +02:00
2025-06-19 15:39:25 +02:00
2025-06-19 15:39:20 +02:00
2025-06-10 07:17:10 -04:00
2025-04-05 10:30:12 +02:00
2025-03-20 09:11:09 +01:00
2025-05-15 04:49:15 +03:00
2025-06-10 07:17:08 -04:00
2025-05-05 15:34:49 +02:00
2025-04-15 15:18:55 +02:00
2025-04-02 18:03:34 -07:00
2025-06-10 07:17:08 -04:00
2025-03-25 20:40:51 -07:00
2025-06-19 15:39:22 +02:00
2025-04-21 08:30:13 -07:00
2025-03-17 22:06:41 -07:00
2025-05-15 11:42:13 +01:00
2025-05-14 15:31:23 +02:00
2025-03-20 21:38:01 +01:00
2025-06-19 15:39:27 +02:00
2025-04-05 10:30:12 +02:00
2025-06-19 15:39:34 +02:00
2025-04-11 17:32:38 -07:00
2025-04-11 20:47:45 -03:00
2025-05-22 09:08:54 -07:00
2025-06-19 15:39:38 +02:00
2025-04-05 10:30:12 +02:00
2025-05-15 10:57:24 -07:00
2025-04-05 10:30:12 +02:00
2025-04-05 10:30:12 +02:00
2025-05-15 10:40:49 -07:00
2025-04-05 10:30:12 +02:00
2025-03-21 17:12:04 -05:00
2025-04-15 13:29:03 +02:00
2025-05-14 17:28:24 +02:00
2025-03-31 11:44:00 +02:00
2025-03-25 15:00:18 -07:00
2025-05-01 17:47:49 +02:00
2025-06-19 15:39:39 +02:00
2025-05-24 18:54:18 -07:00
2025-06-04 14:46:27 +02:00
2025-05-15 16:01:50 +02:00
2025-04-05 10:30:12 +02:00
2025-04-05 10:30:12 +02:00
2025-04-05 10:30:12 +02:00
2025-04-05 10:30:12 +02:00
2025-04-15 18:21:39 +02:00
2025-05-06 08:14:20 -07:00
2025-06-19 15:39:37 +02:00
2025-04-05 10:30:12 +02:00
2025-04-05 10:30:12 +02:00
2025-03-26 19:57:34 -07:00
2025-03-29 14:33:13 -07:00
2025-04-26 13:02:36 -07:00
2025-05-19 14:26:12 +02:00
2025-04-05 10:30:12 +02:00
2025-04-07 09:02:49 +02:00
2025-06-19 15:39:43 +02:00
2025-04-05 10:30:12 +02:00
2025-04-04 14:23:07 -07:00
2025-04-02 20:27:18 -07:00
2025-05-22 13:08:21 -07:00
2025-06-10 07:17:10 -04:00
2025-03-29 11:23:16 -07:00
2025-03-09 22:27:54 +01:00
2025-04-05 10:30:12 +02:00
2025-05-08 08:29:13 -07:00
2025-04-05 10:30:12 +02:00
2025-06-19 15:39:35 +02:00
2025-05-14 12:28:43 +01:00
2025-06-19 15:39:42 +02:00
2025-06-19 15:39:24 +02:00
2025-05-08 13:29:30 +02:00
2025-04-02 18:09:17 -07:00
2025-06-19 15:39:24 +02:00
2025-03-25 15:00:18 -07:00
2025-04-15 18:22:32 +02:00
2025-05-16 15:43:44 -07:00
2025-04-12 08:11:19 -07:00
2025-03-10 17:37:25 +01:00
2025-04-08 19:30:58 +02:00
2025-05-14 11:16:52 +02:00
2025-05-13 10:34:33 -05:00
2025-03-29 17:18:50 -07:00
2025-06-10 07:17:09 -04:00
2025-05-05 15:46:34 +02:00
2025-06-19 15:39:35 +02:00
2025-03-11 10:41:18 +01:00
2025-04-14 08:51:18 +02:00
2025-05-17 12:04:19 -07:00
2025-06-19 15:39:26 +02:00
2025-06-19 15:39:29 +02:00
2025-04-11 22:13:00 -04:00
2025-06-19 15:39:26 +02:00
2025-06-10 07:17:11 -04:00
2025-06-10 07:17:10 -04:00
2025-04-28 21:23:29 -04:00
2025-05-02 13:59:02 +02:00
2025-06-10 07:17:10 -04:00
2025-05-06 12:59:12 -06:00
2025-04-18 10:08:11 -04:00
2025-04-05 10:30:12 +02:00
2025-04-05 10:30:12 +02:00
2025-04-18 10:05:49 -04:00
2025-06-19 15:39:32 +02:00
2025-06-19 15:39:37 +02:00
2025-03-06 15:11:30 -04:00
2025-03-06 15:11:30 -04:00