net/ionic: improve queue state handling
authorAndrew Boyer <aboyer@pensando.io>
Wed, 16 Dec 2020 21:12:56 +0000 (13:12 -0800)
committerFerruh Yigit <ferruh.yigit@intel.com>
Wed, 13 Jan 2021 17:51:58 +0000 (18:51 +0100)
commit9fdf11c463e9952c9047b06436fb43f01aac8906
tree0524f2098bd59b4e6a5b53f2fb92f0baea1eeab8
parentbe63459e0bdd00fcb679999dc171e50a1486b91f
net/ionic: improve queue state handling

Skip ionic_lif_[rxq|txq]_init() in queue start if it's already done.
Move ionic_lif_[rxq|txq]_deinit() from queue stop to queue release.

This allows the queues to be restarted.

Signed-off-by: Andrew Boyer <aboyer@pensando.io>
drivers/net/ionic/ionic_rxtx.c