ethdev: add ieee1588 functions for device clock time
authorDaniel Mrzyglod <danielx.t.mrzyglod@intel.com>
Fri, 13 Nov 2015 16:09:07 +0000 (16:09 +0000)
committerThomas Monjalon <thomas.monjalon@6wind.com>
Fri, 13 Nov 2015 16:43:05 +0000 (17:43 +0100)
commiteb1cbcba482a0fd0c40fb25c6dce6ef3b5eab15e
treecfa840ac1a6889e547979e22068e688510b5148a
parent286b4803b79752c257d2bece484b411a4efa9afa
ethdev: add ieee1588 functions for device clock time

Add additional functions to support the existing IEEE1588
functionality.

  * rte_eth_timesync_write_time():  set the device clock time.
  * rte_eth_timesync_read_time():   get the device clock time.
  * rte_eth_timesync_adjust_time(): adjust the device clock time.

Signed-off-by: Daniel Mrzyglod <danielx.t.mrzyglod@intel.com>
Signed-off-by: Pablo de Lara <pablo.de.lara.guarch@intel.com>
Reviewed-by: John McNamara <john.mcnamara@intel.com>
doc/guides/rel_notes/release_2_2.rst
lib/librte_ether/rte_ethdev.c
lib/librte_ether/rte_ethdev.h
lib/librte_ether/rte_ether_version.map