]> 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)
commit89d0f579943fab024d87ae7a0f08f5248cbcf106
tree51416857c97b1c98f5ea64531b27c565aecbfb48
parent8e3a3160565dc8924dc1478c72cc4bbe47405deb
qed: Fix timestamping issue for L2 unicast ptp packets.

commit 70528500e482 ("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: 70528500e482 ("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