From: <same...@amazon.com> Date: Sun, 23 Jun 2019 10:11:10 +0300 > From: Sameeh Jubran <same...@amazon.com> > > The current code of create_queues_with_size_backoff() allows the ring size > to become as small as ENA_MIN_RING_SIZE/2. This is a bug since we don't > want the queue ring to be smaller than ENA_MIN_RING_SIZE > > In this commit we change the loop's termination condition to look at the > queue size of the next iteration instead of that of the current one, > so that the minimal queue size again becomes ENA_MIN_RING_SIZE. > > Fixes: eece4d2ab9d2 ("net: ena: add ethtool function for changing io queue > sizes") > > Signed-off-by: Arthur Kiyanovski <akiy...@amazon.com> > Signed-off-by: Sameeh Jubran <same...@amazon.com>
Applied, thank you.