]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit154fc55bcfbc58e3931c368b54e389463da2bae5
tree0efe13801ced48424601dc9d1652816c9832bd17
parente6b1acf01813211c64ddba885141969aa3f9c9bd
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