OSDN Git Service

ionic: add ts_config replay
authorShannon Nelson <snelson@pensando.io>
Wed, 7 Apr 2021 23:20:00 +0000 (16:20 -0700)
committerDavid S. Miller <davem@davemloft.net>
Thu, 8 Apr 2021 20:18:49 +0000 (13:18 -0700)
commit829600ce5e4e985a8a49c445c5e5c72ca613ce41
treeb45514031783cbcfa24a4e23d6dbcd1bd0e47648
parent99b5bea04f0f0dc9e6278536a269e1f4795b73e1
ionic: add ts_config replay

Split the call into ionic_lif_hwstamp_set() to have two
separate interfaces, one from the ioctl() for changing the
configuration and one for replaying the current configuration
after a FW RESET.

Signed-off-by: Shannon Nelson <snelson@pensando.io>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/pensando/ionic/ionic_lif.c
drivers/net/ethernet/pensando/ionic/ionic_lif.h
drivers/net/ethernet/pensando/ionic/ionic_phc.c