]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
net: mscc: ocelot: move more PTP code from the lib to ocelot_ptp.c
authorVladimir Oltean <vladimir.oltean@nxp.com>
Thu, 8 Sep 2022 16:48:10 +0000 (19:48 +0300)
committerDavid S. Miller <davem@davemloft.net>
Fri, 9 Sep 2022 09:59:12 +0000 (10:59 +0100)
commitd50e41bf023454cd3441f969f18b259a90b6aa7c
treebc0ec676a44dd6a89fe2bc1dce4be66ea0aa75db
parent97076c3cc9fed862acb7d4ac0bb846b1bdeede85
net: mscc: ocelot: move more PTP code from the lib to ocelot_ptp.c

Decongest ocelot.c a bit more by moving all PTP related logic (including
timestamp processing and PTP packet traps) to ocelot_ptp.c.

Signed-off-by: Vladimir Oltean <vladimir.oltean@nxp.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/mscc/ocelot.c
drivers/net/ethernet/mscc/ocelot_ptp.c