Re: [PATCH net-next 4/4] netdevsim: psp: drop tx key ops

From: Willem de Bruijn

Date: Sun Sep 06 2026 - 13:14:57 EST


Daniel Zahka wrote:
> 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@xxxxxxxxx>

Reviewed-by: Willem de Bruijn <willemb@xxxxxxxxxx>