]> git.baikalelectronics.ru Git - kernel.git/commit
qed: Fix timestamping issue for L2 unicast ptp packets.
authorSudarsana Reddy Kalluru <skalluru@marvell.com>
Wed, 5 Feb 2020 13:10:55 +0000 (05:10 -0800)
committerDavid S. Miller <davem@davemloft.net>
Wed, 5 Feb 2020 14:19:34 +0000 (15:19 +0100)
commit1aac34c54ee74498f72a09ddc80fe3252ab38420
tree51416857c97b1c98f5ea64531b27c565aecbfb48
parent0285629b9a8a4ca65ca3ffb3ab06fafc5cad9b46
qed: Fix timestamping issue for L2 unicast ptp packets.

commit 52117024cde2 ("qed: Add support for Timestamping the unicast
PTP packets.") handles the timestamping of L4 ptp packets only.
This patch adds driver changes to detect/timestamp both L2/L4 unicast
PTP packets.

Fixes: 52117024cde2 ("qed: Add support for Timestamping the unicast PTP packets.")
Signed-off-by: Sudarsana Reddy Kalluru <skalluru@marvell.com>
Signed-off-by: Ariel Elior <aelior@marvell.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/qlogic/qed/qed_ptp.c