]> git.proxmox.com Git - mirror_ubuntu-focal-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)
committerPaolo Pisati <paolo.pisati@canonical.com>
Mon, 17 Feb 2020 11:07:07 +0000 (12:07 +0100)
commit3bfebef136297fc8ec8d67fbd70daaafb7cc6365
tree415aca74b3490a6f3c5afa345f3883c240e41e0c
parent7638fe811a4d15ab20a3955bf36499b019a2e1b9
qed: Fix timestamping issue for L2 unicast ptp packets.

BugLink: https://bugs.launchpad.net/bugs/1863588
[ Upstream commit 0202d293c2faecba791ba4afc5aec086249c393d ]

commit cedeac9df4b8 ("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: cedeac9df4b8 ("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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Paolo Pisati <paolo.pisati@canonical.com>
drivers/net/ethernet/qlogic/qed/qed_ptp.c