4986b4f008c45cf846dfe76a4602b4a7b027650c |
|
20-Mar-2014 |
Richard Cochran <richardcochran@gmail.com> |
ptp: drivers: set the number of programmable pins. This patch updates the many PTP Hardware Clock drivers with the newly introduced field that advertises the number of programmable pins. Some of these devices do have programmable pins, but the implementation will have to wait for follow on patches. Signed-off-by: Richard Cochran <richardcochran@gmail.com> Acked-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com> Signed-off-by: David S. Miller <davem@davemloft.net>
|
8f355e5cee63c2c0c145d8206c4245d0189f47ff |
|
25-Feb-2014 |
Edward Cree <ecree@solarflare.com> |
sfc: check for NULL efx->ptp_data in efx_ptp_event If we receive a PTP event from the NIC when we haven't set up PTP state in the driver, we attempt to read through a NULL pointer efx->ptp_data, triggering a panic. Signed-off-by: Edward Cree <ecree@solarflare.com> Acked-by: Shradha Shah <sshah@solarflare.com> Signed-off-by: David S. Miller <davem@davemloft.net>
|
92d8f766ecce190dc2aa5d1aa9a5f5381e831641 |
|
12-Feb-2014 |
Ben Hutchings <bhutchings@solarflare.com> |
sfc: Rewrite adjustment of PPS event in a clearer way There is substantial latency in generation and handling of PPS events from the NIC, which we have to correct for before passing a host timestamp to the PPS subsystem. We compare clocks with the MC, giving us two offsets to subtract from the timestamp generated by pps_get_ts(): (a) Time from the last good sync (where we got host and NIC timestamps for nearly the same instant) to the time we called pps_get_ts() (b) Time from NIC top of second to the last good sync We currently calculate (a) + (b) in a quite confusing way. Instead, calculate (a) completely, then add (b) to it. Signed-off-by: Ben Hutchings <bhutchings@solarflare.com> Signed-off-by: Shradha Shah <sshah@solarflare.com> Signed-off-by: David S. Miller <davem@davemloft.net>
|
ce320f44d677549a29ae8d6ae79e66d1c997f87a |
|
12-Feb-2014 |
Ben Hutchings <bhutchings@solarflare.com> |
sfc: Cache skb->data in local variable in efx_ptp_rx() Signed-off-by: Ben Hutchings <bhutchings@solarflare.com> Signed-off-by: Shradha Shah <sshah@solarflare.com> Signed-off-by: David S. Miller <davem@davemloft.net>
|
f9fd7ec786e41a3730916bbc1bc1d9d347f07ec5 |
|
12-Feb-2014 |
Laurence Evans <levans@solarflare.com> |
sfc: Removed adhoc scheme to rate limit PTP event queue overflow message Use conventional net_ratelimit() instead. Signed-off-by: Ben Hutchings <bhutchings@solarflare.com> Signed-off-by: Shradha Shah <sshah@solarflare.com> Signed-off-by: David S. Miller <davem@davemloft.net>
|
13c92e82e821d87e388a73ffeddeb62d753dab96 |
|
17-Jan-2014 |
Ben Hutchings <bhutchings@solarflare.com> |
sfc: Fix transposed ptp_{under, over}size_sync_windows statistics Somehow I transposed these two while bringing the original statistics support upstream. Fixes: 99691c4ac112 ('sfc: Add PTP counters to ethtool stats') Signed-off-by: Ben Hutchings <bhutchings@solarflare.com> Signed-off-by: Shradha Shah <sshah@solarflare.com> Signed-off-by: David S. Miller <davem@davemloft.net>
|
99691c4ac112666fe8aef30cffef1cc9f6f94f79 |
|
11-Dec-2013 |
Ben Hutchings <bhutchings@solarflare.com> |
sfc: Add PTP counters to ethtool stats These were implemented by Andrew Jackson and Laurence Evans but not previously included in-tree. Signed-off-by: Ben Hutchings <bhutchings@solarflare.com>
|
bbbe7149bf0bd14432373de39315505e7a133acc |
|
28-Nov-2013 |
Ben Hutchings <bhutchings@solarflare.com> |
sfc: Remove unnecessary condition for processing the TX timestamp queue Signed-off-by: Ben Hutchings <bhutchings@solarflare.com>
|
a45a3a5cdc8dca283e4373045aae8af485f07a07 |
|
28-Nov-2013 |
Ben Hutchings <bhutchings@solarflare.com> |
sfc: Don't clear timestamps in efx_ptp_rx() A freshly allocated skb starts with timestamps clear. Signed-off-by: Ben Hutchings <bhutchings@solarflare.com>
|
9aecda95d0a2865ed7139d19fe4ae9d819e738be |
|
05-Dec-2013 |
Ben Hutchings <bhutchings@solarflare.com> |
sfc: Enable PTP clock and timestamping for all functions on EF10 The SFC9100 family has only one clock per controller, shared by all functions. Therefore only create a clock device under the primary function, and make all other functions refer to the primary's clock device. Since PTP functionality is limited to port 0 and PF 0 on the earlier SFN[56]322F boards, and we also set the primary flag for that function, we can make the creation of a clock device conditional only on this flag. Signed-off-by: Ben Hutchings <bhutchings@solarflare.com>
|
bd9a265db26cdbfe74a303111381d90e66f56877 |
|
18-Nov-2013 |
Jon Cooper <jcooper@solarflare.com> |
sfc: Add RX packet timestamping for EF10 The EF10 firmware can optionally insert RX timestamps in the packet prefix. These only include the clock minor value. We must also enable periodic time sync events on each event queue which provide the high bits of the clock value. [bwh: Combined and rebased several changes. Added the above description and some sanity checks for inline vs separate timestamps. Changed efx_rx_skb_attach_timestamp() to read the packet prefix from the skb head area.] Signed-off-by: Ben Hutchings <bhutchings@solarflare.com>
|
9ec0659595c8020f1efa55aa00870e8773f8ee89 |
|
21-Nov-2013 |
Daniel Pieczko <dpieczko@solarflare.com> |
sfc: split setup of hardware timestamping into NIC-type operation I added efx_ptp_get_mode() to avoid moving the definition for efx_ptp_data, since the current PTP mode is needed for siena.c:siena_set_ptp_hwtstamp. [bwh: Also move the rx_filters mask, and add kernel-doc] Signed-off-by: Ben Hutchings <bhutchings@solarflare.com>
|
a6f73460b592404cca4ceafa69a835a61cdc20d8 |
|
05-Dec-2013 |
Laurence Evans <levans@solarflare.com> |
sfc: Add support for SFC9100 timestamp format The clock minor tick on the SFC9100 family is 2^-27 s, not 1 ns. There are also various pipeline delays which we need to correct for when interpreting timestamps. We query the firmware for the clock format and corrections at run-time. [bwh: Combined and rebased several changes] Signed-off-by: Ben Hutchings <bhutchings@solarflare.com>
|
dfd8d581fbdce9f3b4777a7c59d28ca35ed194be |
|
21-Nov-2013 |
Laurence Evans <levans@solarflare.com> |
sfc: Tidy up PTP synchronization code Signed-off-by: Ben Hutchings <bhutchings@solarflare.com>
|
94cd60d09eba9e8de0522d416d867fb16858fccd |
|
21-Nov-2013 |
Laurence Evans <levans@solarflare.com> |
sfc: PTP - tidy up unused/useless variables Signed-off-by: Ben Hutchings <bhutchings@solarflare.com>
|
bc0f3c1392ddfb6342fb22438faf23d09760e4c8 |
|
06-Dec-2013 |
Ben Hutchings <bhutchings@solarflare.com> |
sfc: Remove kernel-doc for efx_ptp_data fields not present in this version Signed-off-by: Ben Hutchings <bhutchings@solarflare.com>
|
5d0dab01175bff0e7f14f76c769a4c7dee864139 |
|
16-Oct-2013 |
Ben Hutchings <bhutchings@solarflare.com> |
sfc: Initialise efx_ptp_data::phc_clock_info from a static template Signed-off-by: Ben Hutchings <bhutchings@solarflare.com>
|
c1dbdea98d9b32090d5d3e575d60464eb68616d1 |
|
16-Oct-2013 |
Ben Hutchings <bhutchings@solarflare.com> |
sfc: Do not use MAC address as clock name We'll be sharing clocks between multiple functions with their own MAC addresses. The name field is now documented as 'A short "friendly name" to identify the clock ...' and '... not meant to be a unique id.' So use the name 'sfc'. Signed-off-by: Ben Hutchings <bhutchings@solarflare.com>
|
ac36baf817c39fc9b53eff190f5901610c5dc5b7 |
|
15-Oct-2013 |
Ben Hutchings <bhutchings@solarflare.com> |
sfc: Remove dependency of PTP on having a dedicated channel We need a dedicated channel on Siena to ensure we can match up the separate RX and timestamp events for each PTP packet. We won't do this for EF10 as timestamps are delivered inline. Pass a channel index of 0 to MC_CMD_PTP_OP_ENABLE when there is no dedicated channel. Signed-off-by: Ben Hutchings <bhutchings@solarflare.com>
|
62a1c703568b696c2775a9618840865751cd07d8 |
|
15-Oct-2013 |
Ben Hutchings <bhutchings@solarflare.com> |
sfc: Split PTP multicast filter insertion/removal out of efx_ptp_{start,stop}() Signed-off-by: Ben Hutchings <bhutchings@solarflare.com>
|
1e0b8120b2aef503f480b0e0182d7a7304acfb3d |
|
31-May-2013 |
Edward Cree <ecree@solarflare.com> |
sfc: Log all unexpected MCDI errors Split each of efx_mcdi_rpc, efx_mcdi_rpc_finish, and efx_mcdi_rpc_async into a normal and a _quiet version; made the former log MCDI errors with netif_err (and include the raw MCDI error code), and the latter never log them at all. Changed various callers; any where some errors are expected (but others are not) call the _quiet version and then if necessary log the MCDI error themselves. Said logging is done by new efx_mcdi_display_error. Callers of efx_mcdi_rpc*_quiet functions which may want to log the error need to ensure that their outbuf is big enough to hold an MCDI error; to this end, they now use MCDI_DECLARE_BUF_OUT_OR_ERR, which always allocates at least 8 bytes. Signed-off-by: Ben Hutchings <bhutchings@solarflare.com>
|
cd6fe65e923175e4f2e9fb585b1d78c6bf580fc6 |
|
05-Dec-2013 |
Ben Hutchings <bhutchings@solarflare.com> |
sfc: Maintain current frequency adjustment when applying a time offset There is a single MCDI PTP operation for setting the frequency adjustment and applying a time offset to the hardware clock. When applying a time offset we should not change the frequency adjustment. These two operations can now be requested separately but this requires a flash firmware update. Keep using the single operation, but remember and repeat the previous frequency adjustment. Fixes: 7c236c43b838 ('sfc: Add support for IEEE-1588 PTP') Signed-off-by: Ben Hutchings <bhutchings@solarflare.com>
|
2ea4dc28a5bcec408e01a8772763871638a5ec79 |
|
08-Nov-2013 |
Alexandre Rames <arames@solarflare.com> |
sfc: Stop/re-start PTP when stopping/starting the datapath. This disables PTP when we bring the interface down to avoid getting unmatched RX timestamp events, and tries to re-enable it when bringing the interface up. [bwh: Make efx_ptp_stop() safe on Falcon. Introduce efx_ptp_{start,stop}_datapath() functions; we'll expand them later.] Fixes: 7c236c43b838 ('sfc: Add support for IEEE-1588 PTP') Signed-off-by: Ben Hutchings <bhutchings@solarflare.com>
|
35f9a7a380728a94d417e5824a866f969423ac83 |
|
06-Dec-2013 |
Ben Hutchings <bhutchings@solarflare.com> |
sfc: Rate-limit log message for PTP packets without a matching timestamp event In case of a flood of PTP packets, the timestamp peripheral and MC firmware on the SFN[56]322F boards may not be able to provide timestamp events for all packets. Don't complain too much about this. Fixes: 7c236c43b838 ('sfc: Add support for IEEE-1588 PTP') Signed-off-by: Ben Hutchings <bhutchings@solarflare.com>
|
f32116003c39f3a6815215a7512e1ea8d1e4bbc7 |
|
28-Jan-2013 |
Laurence Evans <levans@solarflare.com> |
sfc: PTP: Moderate log message on event queue overflow Limit syslog flood if a PTP packet storm occurs. Fixes: 7c236c43b838 ('sfc: Add support for IEEE-1588 PTP') Signed-off-by: Ben Hutchings <bhutchings@solarflare.com>
|
e5a498e943fbc497f236ab8cf31366c75f337ce6 |
|
06-Dec-2013 |
Ben Hutchings <bhutchings@solarflare.com> |
sfc: Add length checks to efx_xmit_with_hwtstamp() and efx_ptp_is_ptp_tx() efx_ptp_is_ptp_tx() must be robust against skbs from raw sockets that have invalid IPv4 and UDP headers. Add checks that: - the transport header has been found - there is enough space between network and transport header offset for an IPv4 header - there is enough space after the transport header offset for a UDP header Fixes: 7c236c43b838 ('sfc: Add support for IEEE-1588 PTP') Signed-off-by: Ben Hutchings <bhutchings@solarflare.com>
|
433dc9b3d123e72a0f5988c1f0d1c9319a735276 |
|
14-Nov-2013 |
Ben Hutchings <bhutchings@solarflare.com> |
sfc: Implement the SIOCGHWTSTAMP ioctl Signed-off-by: Ben Hutchings <bhutchings@solarflare.com>
|
f7a6d2c4427790cc8695401576dc594fcce8fc80 |
|
30-Aug-2013 |
Ben Hutchings <bhutchings@solarflare.com> |
sfc: Update copyright banners Update the dates for files that have been added to in 2012-2013. Drop the 'Solarstorm' brand name that's still lingering here. Signed-off-by: Ben Hutchings <bhutchings@solarflare.com>
|
977a5d5d32f4797ace5ef65ee3f2232a1c88a274 |
|
07-Mar-2013 |
Laurence Evans <levans@solarflare.com> |
sfc: Add a function pointer to abstract write of host time into NIC shared memory Signed-off-by: Ben Hutchings <bhutchings@solarflare.com>
|
c1d828bdca00f29e00c1650750ce0445d8b4458d |
|
06-Mar-2013 |
Laurence Evans <levans@solarflare.com> |
sfc: PTP MCDI requests need to initialise periph ID field This field is ignored by Siena firmware but is significant to EF10 firmware. Signed-off-by: Ben Hutchings <bhutchings@solarflare.com>
|
df2cd8af097850bb3440817fdb6b08922ff4b327 |
|
19-Sep-2012 |
Ben Hutchings <bhutchings@solarflare.com> |
sfc: Add support for MCDI v2 MCDI v2 adds a second header dword with wider command and length fields. It also defines extra error codes. Change the fallback error number for unknown MCDI error codes from EIO to EPROTO. EIO is treated as indicating the MCDI transport has failed and we need to reset the function, which is rather drastic. v2 error codes and lengths don't fit into completion events, so for a v2-capable transport, always read the response header rather then using the event fields. Signed-off-by: Ben Hutchings <bhutchings@solarflare.com>
|
8b8a95a11aa985b7f6f6df8a0ffa597e56ff8310 |
|
18-Sep-2012 |
Ben Hutchings <bhutchings@solarflare.com> |
sfc: Rename Falcon-architecture register definitions The EF10 architecture has a very different register layout from previous controllers, so we'll use separate files for the two sets of register definitions. Use 'farch' as an abbreviation for Falcon-architecture. Signed-off-by: Ben Hutchings <bhutchings@solarflare.com>
|
0d19a540beb78493cd5acb7428760af0dc1ea154 |
|
18-Sep-2012 |
Ben Hutchings <bhutchings@solarflare.com> |
sfc: Add GFP flags to efx_nic_alloc_buffer() and make most callers allow blocking Most call sites for efx_nic_alloc_buffer() are part of the probe or reconfiguration paths and can allocate with GFP_KERNEL. A few others should use GFP_NOIO (I think). Only one is in atomic context and must use the current GFP_ATOMIC. Signed-off-by: Ben Hutchings <bhutchings@solarflare.com>
|
338f74df399d652788cf3bab247257ae90419c7d |
|
11-Oct-2012 |
Ben Hutchings <bhutchings@solarflare.com> |
sfc: Add and use MCDI_SET_QWORD() and MCDI_SET_ARRAY_QWORD() No need to keep open-coding the assignment of high and low dwords. Signed-off-by: Ben Hutchings <bhutchings@solarflare.com>
|
9528b9219348e0a013f4b587958a8ba9c96d7e20 |
|
14-Sep-2012 |
Ben Hutchings <bhutchings@solarflare.com> |
sfc: Ensure MCDI buffers, but not lengths, are dword aligned We currently require that MCDI request and response lengths are multiples of 4 bytes, because we will copy dwords in and out of shared memory and we want to be sure we won't read or write out of bounds. But all we really need to know is that there is sufficient padding for that. Also, we should ensure that buffers are dword-aligned, as on some architectures misaligned access will result in data corruption or a crash. Change the buffer type to array-of-efx_dword_t and remove the requirement that the lengths are multiples of 4. Signed-off-by: Ben Hutchings <bhutchings@solarflare.com>
|
c5bb0e9891ba1f7c871adc09d9ef727e1c0c1c1e |
|
14-Sep-2012 |
Ben Hutchings <bhutchings@solarflare.com> |
sfc: Use proper macros to declare and access MCDI arrays A few functions are using heap buffers; change them to use stack buffers as we really don't need to resort to the heap for a 252 byte buffer in process context. MC_CMD_MEMCPY is quite weird in that it can use inline data placed in the request buffer after the array of records. Thus there are two variable-length arrays and we can't use the normal accessors for the second. So we have to use _MCDI_PTR() in efx_sriov_memcpy(). Signed-off-by: Ben Hutchings <bhutchings@solarflare.com>
|
59cfc479b2c8ba344c8497d5c913b6cba2ce3755 |
|
14-Sep-2012 |
Ben Hutchings <bhutchings@solarflare.com> |
sfc: Introduce and use MCDI_DECLARE_BUF macro MCDI_DECLARE_BUF declares a variable as an MCDI buffer of the requested length, adding any necessary padding. Signed-off-by: Ben Hutchings <bhutchings@solarflare.com>
|
62ebac926b7a5cd7cb6dc02a8d6fa925fa206a23 |
|
08-Apr-2013 |
Ben Hutchings <bhutchings@solarflare.com> |
sfc: Report software timestamping capabilities The kernel can generate software receive timestamps and we should report those for all ports regardless of hardware capabilities. Signed-off-by: Ben Hutchings <bhutchings@solarflare.com>
|
155d940a78fd0761c2d73c5bd95a9dd287d58054 |
|
07-May-2013 |
Wei Yongjun <yongjun_wei@trendmicro.com.cn> |
sfc: fix return value check in efx_ptp_probe_channel() In case of error, the function ptp_clock_register() returns ERR_PTR() and never returns NULL. The NULL test in the return value check should be replaced with IS_ERR(). Signed-off-by: Wei Yongjun <yongjun_wei@trendmicro.com.cn> Reviewed-by: Ben Hutchings <bhutchings@solarflare.com> Signed-off-by: David S. Miller <davem@davemloft.net>
|
97d48a10c670f87bba9e5b2241e32f2eccd3fef0 |
|
11-Jan-2013 |
Alexandre Rames <arames@solarflare.com> |
sfc: Remove rx_alloc_method SKB [bwh: Remove more dead code, and make efx_ptp_rx() pull the data it needs into the header area.] Signed-off-by: Ben Hutchings <bhutchings@solarflare.com>
|
9230451af9efcf5e3d60ce7f4fec2468e8ce54b1 |
|
11-Feb-2013 |
Laurence Evans <levans@solarflare.com> |
sfc: tidy up PTP synchronize function efx_ptp_process_times() Signed-off-by: Ben Hutchings <bhutchings@solarflare.com>
|
c939a316459783e5cd6c6bd9dc90ea11b18ecd7f |
|
15-Nov-2012 |
Laurence Evans <levans@solarflare.com> |
sfc: PTP changes to support improved UUID filtering mode There is a long-standing problem with the packet-timestamp matching in the driver. When a PTP packet is received by the MC, the FPGA timestamps the packet and the MC sends the timestamp and 6 bytes of the UUID to the driver. The driver then matches the timestamp against received packets using the same 6 bytes of UUID. The problem comes from the choice of which 6 bytes to use. The PTP spec is slightly contradictory and misleading in one of the two places where the UUIDs are discussed. From section 7.2.2.2 of the spec, a PTPD2 UUID can be either a EUI-64 or a EUI-64 constructed from a EUI-48. The typical ethernet based implementation uses a EUI-64 constructed from a EUI-48. This works by taking the first 3 bytes of the MAC address of the NIC being used for PTP (the OUI), then inserting 0xFF, 0xFE, then taking the last 3 bytes of the MAC address giving MAC[0], MAC[1], MAC[2], 0xFF, 0xFE, MAC[3], MAC[4], MAC[5] The current MC firmware and driver discard the first two bytes of this UUID and packets are matched against timestamps using bytes 2 to 7 so there is a small risk that in a deployment of Solarflare PTP NICs used with other vendors NICs, that a PTP packet could be matched against the wrong timestamp. This applies to all other organisations whose third byte of the OUI is 0x53. It's a long list but I notice that it includes Cisco. The necessary modifications to use bytes 0-2 and 5-7 of the UUID to match against are quite small but introduce incompatibility between older version of the firmware and driver. When PTP is enabled via SO_TIMESTAMPING specifying PTP V2, the driver will try to enable PTP in the firmware using the enhanced mode (above). If the firmware returns an error, the driver will enable PTP in the firmware using the old mode. [bwh: Fix some style errors; remove private ioctl bits] Signed-off-by: Ben Hutchings <bhutchings@solarflare.com>
|
4a74dc65e3ad825a66dfbcb256f98c550f96445b |
|
05-Mar-2013 |
Ben Hutchings <bhutchings@solarflare.com> |
sfc: Allow efx_channel_type::receive_skb() to reject a packet Instead of having efx_ptp_rx() call netif_receive_skb() for an invalid PTP packet, make it return false for rejected packets and have efx_rx_deliver() pass them up. Signed-off-by: Ben Hutchings <bhutchings@solarflare.com>
|
56567c6f8751c633581ca7c8e1cf08eed503f5ea |
|
21-Jan-2013 |
Julia Lawall <Julia.Lawall@lip6.fr> |
drivers/net/ethernet/sfc/ptp.c: adjust duplicate test Delete successive tests to the same location. rc was previously tested and not subsequently updated. efx_phc_adjtime can return an error code, so the call is updated so that is tested instead. A simplified version of the semantic match that finds this problem is as follows: (http://coccinelle.lip6.fr/) // <smpl> @s exists@ local idexpression y; expression x,e; @@ *if ( \(x == NULL\|IS_ERR(x)\|y != 0\) ) { ... when forall return ...; } ... when != \(y = e\|y += e\|y -= e\|y |= e\|y &= e\|y++\|y--\|&y\) when != \(XT_GETPAGE(...,y)\|WMI_CMD_BUF(...)\) *if ( \(x == NULL\|IS_ERR(x)\|y != 0\) ) { ... when forall return ...; } // </smpl> Signed-off-by: Julia Lawall <Julia.Lawall@lip6.fr> Acked-by: Ben Hutchings <bhutchings@solarflare.com> Signed-off-by: David S. Miller <davem@davemloft.net>
|
9545f4e2beb1b4faae5b57250f18b0047fa191fc |
|
07-Oct-2012 |
Wei Yongjun <yongjun_wei@trendmicro.com.cn> |
ptp: use list_move instead of list_del/list_add Using list_move() instead of list_del() + list_add(). dpatch engine is used to auto generate this patch. (https://github.com/weiyj/dpatch) Signed-off-by: Wei Yongjun <yongjun_wei@trendmicro.com.cn> Signed-off-by: David S. Miller <davem@davemloft.net>
|
1ef761582c074448bae5be97abde5934667e7710 |
|
22-Sep-2012 |
Richard Cochran <richardcochran@gmail.com> |
ptp: link the phc device to its parent device PTP Hardware Clock devices appear as class devices in sysfs. This patch changes the registration API to use the parent device, clarifying the clock's relationship to the underlying device. Signed-off-by: Richard Cochran <richardcochran@gmail.com> Acked-by: Ben Hutchings <bhutchings@solarflare.com> Acked-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com> Signed-off-by: David S. Miller <davem@davemloft.net>
|
7c236c43b838221e17220bcb39e8e8d8c7123713 |
|
03-Sep-2012 |
Stuart Hodgson <smhodgson@solarflare.com> |
sfc: Add support for IEEE-1588 PTP Add PTP IEEE-1588 support and make accesible via the PHC subsystem. This work is based on prior code by Andrew Jackson Signed-off-by: Stuart Hodgson <smhodgson@solarflare.com> [bwh: - Add byte order conversion in efx_ptp_send_times() - Simplify conversion of PPS event times - Add the built-in vs module check to CONFIG_SFC_PTP dependencies] Signed-off-by: Ben Hutchings <bhutchings@solarflare.com>
|