Re: [PATCH V2 net-next] liquidio: pass date and time info to NIC firmware

2017-10-18 Thread Andrew Lunn
Hi Felix > +static void lio_sync_octeon_time(struct work_struct *work) > +{ > + struct cavium_wk *wk = (struct cavium_wk *)work; > + struct lio *lio = (struct lio *)wk->ctxptr; > + struct octeon_device *oct = lio->oct_dev; > + struct octeon_soft_command *sc; > + struct timespec

[PATCH V2 net-next] liquidio: pass date and time info to NIC firmware

2017-10-18 Thread Felix Manlunas
From: Veerasenareddy Burru Pass date and time information to NIC firmware 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 debugg