Re: [net PATCH 3/9] octeontx2-af: mcs: Config parser to skip 8B header

From: Leon Romanovsky
Date: Sun Apr 23 2023 - 12:48:44 EST


On Sun, Apr 23, 2023 at 03:24:48PM +0530, Geetha sowjanya wrote:
> When ptp timestamp is enabled in RPM, RPM will append 8B
> timestamp header for all RX traffic. MCS need to skip these
> 8 bytes header while parsing the packet header, so that
> correct tcam key is created for lookup.
> This patch fixes the mcs parser configuration to skip this
> 8B header for ptp packets.
>
> Fixes: ca7f49ff8846 ("octeontx2-af: cn10k: Introduce driver for macsec block.")
> Signed-off-by: Sunil Goutham <sgoutham@xxxxxxxxxxx>
> Signed-off-by: Geetha sowjanya <gakula@xxxxxxxxxxx>
> ---
> .../ethernet/marvell/octeontx2/af/mcs_reg.h | 1 +
> .../marvell/octeontx2/af/mcs_rvu_if.c | 37 +++++++++++++++++++
> .../net/ethernet/marvell/octeontx2/af/rvu.h | 1 +
> .../ethernet/marvell/octeontx2/af/rvu_cgx.c | 2 +
> 4 files changed, 41 insertions(+)
>

Thanks,
Reviewed-by: Leon Romanovsky <leonro@xxxxxxxxxx>