]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commita4b199b03329e50e6561a796c8ee7a3d6fc2960d
tree4b88510ee950483c0a3d4e65fd6e269efc6f1aea
parent47100893e6b62ad06472433e5a74d278ef128779
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