ionic: recreate hwstamp queues on ifup
authorShannon Nelson <snelson@pensando.io>
Fri, 27 Aug 2021 18:55:12 +0000 (11:55 -0700)
committerDavid S. Miller <davem@davemloft.net>
Sat, 28 Aug 2021 10:23:09 +0000 (11:23 +0100)
commitccbbd002a419b5b4df481be8d42c3c7a3ce86426
tree4b88510ee950483c0a3d4e65fd6e269efc6f1aea
parent7ee99fc5ed2e5e299ef46a9ca9d24d93be08c461
ionic: recreate hwstamp queues on ifup

The queues can be freed in ionic_close().  They need to be recreated
after ionic_open().  It doesn't need to replay the whole config.  It
only needs to create the timestamping queues again.

Signed-off-by: Allen Hubbe <allenbh@pensando.io>
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