NXP iMX8M PLUS: eQOS: PTPv2 L2 support

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

NXP iMX8M PLUS: eQOS: PTPv2 L2 support

566 Views
pierluigi_p
Senior Contributor I

Dear NXP support,

the Linux source code of eQOS driver manages the supported PTP features here

    https://github.com/varigit/linux-imx/blob/lf-6.6.y_6.6.52-2.2.0_var01/drivers/net/ethernet/stmicro/s...

    https://github.com/varigit/linux-imx/blob/lf-6.6.y_6.6.52-2.2.0_var01/drivers/net/ethernet/stmicro/s...

but we cannot find reference to L2 support.

Does the HW support L2 ?

If yes, is there any plan to add it ?

Thanks

Best Regards

Pier

0 Kudos
Reply
2 Replies

541 Views
JosephAtNXP
NXP TechSupport
NXP TechSupport

Hi,

Thank you for your interest in NXP Semiconductor products,

What features of PTP L2 do you need? I would strongly recommend you to check NXP BSP, either Linux Factory or Real Time Edge.

i.MX 8M Plus EQOS IP includes L2 (filtering) support through MAC DA/SA and VLAN filtering, RTEdge supports:

JosephAtNXP_0-1748366444277.png

Regards

0 Kudos
Reply

451 Views
pierluigi_p
Senior Contributor I

Hi @JosephAtNXP,

as far as I can see from the kernel code, PTP L2 require dedicated support in the kernel driver

  • ptpv2-l2-event => HWTSTAMP_FILTER_PTP_V2_L2_EVENT
  • ptpv2-l2-sync => HWTSTAMP_FILTER_PTP_V2_L2_SYNC
  • ptpv2-l2-delay-req => HWTSTAMP_FILTER_PTP_V2_L2_DELAY_REQ

I'm not able to find any management for them in the eqos driver as provided in the offcial NXP BSPs.
Could you please confirm ?
Thanks

Best Regards

Pier

0 Kudos
Reply