]> Gitweb @ Texas Instruments - Open Source Git Repositories - git.TI.com/gitweb - keystone-rtos/icss-emac.git/commit
dualemac: add functionality to run PTP over VLAN
authorAaron Kramer <a-kramer@ti.com>
Mon, 1 Apr 2019 21:16:27 +0000 (17:16 -0400)
committerAaron Kramer <a-kramer@ti.com>
Wed, 14 Aug 2019 13:15:48 +0000 (09:15 -0400)
commitd11f96c0e87e5944191cbead78129e7f12222997
tree8919005889c6cb3e5c0c72e330457bc9561abc7a
parent0a8652d531d5990e57336bbf35e017c441432a62
dualemac: add functionality to run PTP over VLAN

This change adds ability to process PTP frames sent over VLAN. The
firmware now checks for the presence of a VLAN tag in the frame, and if
present compensates for the VLAN tag to retrieve the PTP info from the
correct offset.

Signed-off-by: Aaron Kramer <a-kramer@ti.com>
firmware/icss_dualemac/src/emac_ptp.asm
firmware/icss_dualemac/src/icss_ptp.h