]> git.baikalelectronics.ru Git - kernel.git/commit
net: stmmac: Correctly take timestamp for PTPv2
authorJose Abreu <Jose.Abreu@synopsys.com>
Mon, 30 Sep 2019 08:19:09 +0000 (10:19 +0200)
committerDavid S. Miller <davem@davemloft.net>
Tue, 1 Oct 2019 17:12:37 +0000 (10:12 -0700)
commit689d8c2d4c73c158a09af791d3a74bccb9961f0c
treea5fa69b17ed0cf7b992e3a10bba3490664d85d7d
parentcf3b8e56e12b88c381cbb19e653ec271633e2ca4
net: stmmac: Correctly take timestamp for PTPv2

The case for PTPV2_EVENT requires event packets to be captured so add
this setting to the list of enabled captures.

Fixes: ad3941293452 ("stmmac: add IEEE PTPv1 and PTPv2 support.")
Signed-off-by: Jose Abreu <Jose.Abreu@synopsys.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/stmicro/stmmac/stmmac_main.c