diff options
author | Nithin Dabilpuram <ndabilpuram@marvell.com> | 2020-09-24 23:22:19 +0530 |
---|---|---|
committer | Matias Elo <matias.elo@nokia.com> | 2020-11-02 17:32:42 +0200 |
commit | ddfb9a95e21b8ea39f155ad0c5abdf737ef3f76b (patch) | |
tree | 07792a4e59f78fc1af6491f6c78102c6fe27e057 /platform/linux-generic/pktio/dpdk.c | |
parent | 4689d5d769b439dc5493dc76b2172f9ffab07958 (diff) |
linux-gen: pktio: update rx and tx timestamp implementation
This patch adds framework for new pktio and packet API
to support retrieval of timestamps from Packet IO time source.
Signed-off-by: Matias Elo <matias.elo@nokia.com>
Signed-off-by: Nithin Dabilpuram <ndabilpuram@marvell.com>
Reviewed-by: Janne Peltonen <janne.peltonen@nokia.com>
Reviewed-by: Petri Savolainen <petri.savolainen@nokia.com>
Diffstat (limited to 'platform/linux-generic/pktio/dpdk.c')
-rw-r--r-- | platform/linux-generic/pktio/dpdk.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/platform/linux-generic/pktio/dpdk.c b/platform/linux-generic/pktio/dpdk.c index 7aee73dc1..8e07c3c69 100644 --- a/platform/linux-generic/pktio/dpdk.c +++ b/platform/linux-generic/pktio/dpdk.c @@ -2168,8 +2168,9 @@ const pktio_if_ops_t dpdk_pktio_ops = { .mac_get = dpdk_mac_addr_get, .mac_set = dpdk_mac_addr_set, .capability = dpdk_capability, - .pktin_ts_res = NULL, - .pktin_ts_from_ns = NULL, + .pktio_ts_res = NULL, + .pktio_ts_from_ns = NULL, + .pktio_time = NULL, .config = NULL, .input_queues_config = dpdk_input_queues_config, .output_queues_config = dpdk_output_queues_config |