liquidio: pass date and time info to NIC firmware
authorVeerasenareddy Burru <veerasenareddy.burru@cavium.com>
Tue, 24 Oct 2017 03:33:25 +0000 (20:33 -0700)
committerDavid S. Miller <davem@davemloft.net>
Tue, 24 Oct 2017 09:57:10 +0000 (18:57 +0900)
commit907aaa6babe1a606f3da4eb76e76e3ce6286f97f
tree0efe13801ced48424601dc9d1652816c9832bd17
parent87b1af8dcc084d3d509d55067185ca74aed70ce2
liquidio: pass date and time info to NIC firmware

Pass date and time information to NIC at the time of loading
firmware and periodically update the host time to NIC firmware.
This is to make NIC firmware use the same time reference as Host,
so that it is easy to correlate logs from firmware and host for debugging.

Signed-off-by: Veerasenareddy Burru <veerasenareddy.burru@cavium.com>
Signed-off-by: Felix Manlunas <felix.manlunas@cavium.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/cavium/liquidio/lio_main.c
drivers/net/ethernet/cavium/liquidio/liquidio_common.h
drivers/net/ethernet/cavium/liquidio/octeon_console.c
drivers/net/ethernet/cavium/liquidio/octeon_network.h