[dpdk-dev] [PATCH v4 0/7] ethdev: add support for ieee1588 timestamping

Thomas Monjalon thomas.monjalon at 6wind.com
Fri Jul 10 02:43:23 CEST 2015


2015-07-09 14:30, John McNamara:
> This patchset adds ethdev API to enable and read IEEE1588/802.1AS PTP
> timestamps from devices that support it. The following functions are added:
> 
>     rte_eth_timesync_enable()
>     rte_eth_timesync_disable()
>     rte_eth_timesync_read_rx_timestamp()
>     rte_eth_timesync_read_tx_timestamp()
> 
> The "ieee1588" forwarding mode in testpmd is also refactored to demonstrate
> the new API and to clean up the code.
> 
> Adds support for igb, ixgbe and i40e.
> 
> V4:
> * Added timesync field to end of mbuf to pass IEEE1588 registers and flags.
>   Removed previous ABI deprecation notice.
> 
> V3:
> * Fixed issued with version.map.
> 
> V2:
> * Added i40e support.
> 
> * Renamed ethdev functions from rte_eth_ieee15888_*() to rte_eth_timesync_*()
>   since 802.1AS can be supported through the same interfaces.
> 
> V1:
> * Initial version for igb and ixgbe.
> 
> 
> John McNamara (7):
>   ethdev: add support for ieee1588 timestamping
>   mbuf: add field for ieee1588 timesync index
>   e1000: add support for ieee1588 timestamping
>   ixgbe: add support for ieee1588 timestamping
>   i40e: add support for ieee1588 timestamping
>   app/testpmd: refactor ieee1588 forwarding
>   doc: document ieee1588 forwarding mode

Was previously acked by Wenzhuo except the new mbuf field.
Applied, thanks


More information about the dev mailing list