diff options
| author | Daniel Zahka <daniel.zahka@gmail.com> | 2026-09-03 18:34:02 -0700 |
|---|---|---|
| committer | Jakub Kicinski <kuba@kernel.org> | 2026-09-07 16:38:37 -0700 |
| commit | da630d1da2b19442c337bcbe3bb3fa66fda1f5bb (patch) | |
| tree | bdd20a1cb70403278a7afe59d193146ab8d698ac /include | |
| parent | 1e16b303109f085880a649842bc80b08214e90a3 (diff) | |
| download | linux-next-da630d1da2b19442c337bcbe3bb3fa66fda1f5bb.tar.gz linux-next-da630d1da2b19442c337bcbe3bb3fa66fda1f5bb.zip | |
netdevsim: psp: drop tx key ops
netdevsim has no SADB. The usage of psp_assoc_drv_data() was always
obsolete given psp_validate_xmit(), so we can remove nsim_assoc_add()
and nsim_assoc_del(). netdevsim::assoc_cnt can also be removed. PSP core
can track the balance of tx_key_add vs tx_key_del calls in a future
change.
Delete psp_assoc_drv_data() because there are no more callers left in
the tree. mlx5 accesses pas->drv_data directly.
Signed-off-by: Daniel Zahka <daniel.zahka@gmail.com>
Link: https://patch.msgid.link/20260903-psp-prep-v1-4-d47e9c4c375d@gmail.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'include')
| -rw-r--r-- | include/net/psp/functions.h | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/include/net/psp/functions.h b/include/net/psp/functions.h index c5c23a54774e..b23c30898389 100644 --- a/include/net/psp/functions.h +++ b/include/net/psp/functions.h @@ -24,11 +24,6 @@ int psp_dev_rcv(struct sk_buff *skb, u16 dev_id, u8 generation, bool strip_icv); /* Kernel-facing API */ void psp_assoc_put(struct psp_assoc *pas); -static inline void *psp_assoc_drv_data(struct psp_assoc *pas) -{ - return pas->drv_data; -} - #if IS_ENABLED(CONFIG_INET_PSP) unsigned int psp_key_size(u32 version); void psp_sk_assoc_free(struct sock *sk); |
