]> git.baikalelectronics.ru Git - kernel.git/commit
sfc: improve PTP error reporting
authorEdward Cree <ecree@solarflare.com>
Mon, 18 Dec 2017 16:56:58 +0000 (16:56 +0000)
committerDavid S. Miller <davem@davemloft.net>
Mon, 18 Dec 2017 18:07:49 +0000 (13:07 -0500)
commit2e20b097bae7d553e856dffd8dffad6f8f198980
tree8e77c76345d2078676adae185f6c99fa9e0f0686
parent9842fb17dc72c67b2a3491d26d0afecbfce83520
sfc: improve PTP error reporting

Log a message if PTP probing fails; if we then, unexpectedly, get PTP
 events, only log a message for the first one on each device.

Signed-off-by: Edward Cree <ecree@solarflare.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/sfc/ef10.c
drivers/net/ethernet/sfc/net_driver.h
drivers/net/ethernet/sfc/ptp.c