+3
−2
Loading
Update the WQE metadata assignment to avoid overriding existing metadata when setting the sysport timestamp ID. Since timestamp IDs are limited to 256 values, they use only the lower 8 bits of the metadata field. To avoid conflicts, move IPsec and MACsec metadata ID to bits 8 and 9, and shift the MACsec fs_id accordingly. This ensures safe coexistence of timestamping and offload features that use the same metadata field. Signed-off-by:Carolina Jubran <cjubran@nvidia.com> Reviewed-by:
Jianbo Liu <jianbol@nvidia.com> Reviewed-by:
Patrisious Haddad <phaddad@nvidia.com> Reviewed-by:
Dragos Tatulea <dtatulea@nvidia.com> Signed-off-by:
Tariq Toukan <tariqt@nvidia.com> Link: https://patch.msgid.link/1757574619-604874-4-git-send-email-tariqt@nvidia.com Reviewed-by:
Simon Horman <horms@kernel.org> Signed-off-by:
Leon Romanovsky <leon@kernel.org>